Showing posts with label Xcode. Show all posts
Showing posts with label Xcode. Show all posts

Wednesday, March 16, 2016

Setup CocoaPods for Swift project

Cocoa Pods provides a standard way to manage dependent libraries. It only takes a few steps to set it up in a Swift project:
  • Assume you've already have a normal Xcode project
  • Open terminal window, $ cd to your project directory
  • Create a Podfile by runing $ pod init
  • Edit the Podfile to add any liberties you want to install within certain target
  • Make sure to uncomment use_frameworks if it's a Swift project
  • Run $ pod install
  • An xcworkspace project should be created, please use it to load your project moving forwards

Friday, March 4, 2016

Steps to upload iOS app to Apple Store


  • In XCode project General tab, make necessary updates to Version and Build number
  • Set Build Only Device to Generic iOS Device
  • Run Product>Archive
  • Upon successful build and archive, click 'Upload to App Store' button
  • Chose proper team for the submission
  • Click 'Upload' to send the app to Apple
  • Wait... until you get upload completed confirmation.
New build won't be available for TestFlight right away. To check status, login to iTunes Connect. Select your app>TestFight tab. Check iOS under TESTFLIGHT BUILDS section, click 'View All Builds' like, you may see your newly updated build is still in processing.