2. iOS Auto Build
with Cocoapods
What do we have under the XCode Project ?
Build Targets / Build Configuration / Schemes
What’s XCode workspace (*. xcworkspace) ?
We’re using Cocoapods http://cocoapods.org/ for
managing all the library dependencies.
!
!
4. Build & Archive
xcodebuild
-scheme: Target scheme name
-derivedDataPath : derived data folder
-configuration : Debug / Release
-workspace : The workspace folder (*.xcworkspace)
After running this command, you can find
Build/Products/{conf}-{sdk}/YourApplicaion.app
under your derivedDataPath
5. Package to IPA
xcrun
-sdk : iphoneos
PackageApplication : Archive File (.app)
-o : Output name
-sign : Developer’s name
-embed : Provisioning Profile
6. Easy Way?
This is my IPA build script for Xcode workspace
Simply update the build.confing file and put it with
build.sh under your project next to your XCode
workspace
https://gist.github.com/flyworld/11164353