Install Plugin
To use XCode in Bamboo we need download Bamboo setup in server in MacOS. Please view setup Bamboo in MacOS in home page Bamboo.
When you login system, please go to Administrator and install plugin. Search with key “Bamboo iOS, Cocoa and Xcode Support” (this is plugin free in Bamboo). Then install to system.
Overview Bamboo iOS
Please create new plan. Click Add Task button system will show popup with some plugin that Bamboo support.You will see 4 plugs setup support for iOS.
- XCode: This is plugin is import help you will project iOS to .app and .ipa. Include OCUnit.
- Unclock MacOS X Keychain: Unlocks a specific Mac OS X keychain. Useful when a certificate is not stored in the default.
- Upload iOS application to HockeyApp
- Upload iOS application to TestFlightApp.com
Use XCode
In XCode, we need configuration variables
- Task Description: Name of task that you will run in Job of Bamboo
- Apple SDK: Set SDK that you to build app.
- Please use Terminal to show all SDK of Mac with command line: xcodebuild –showsdks
- Please choose a SDK : with excecutable label with name is one of sdk that you show. Example: iphoneos5.1
- Please choose clear svn for new build.
- Project: Path to project to file .xcodeproj (project of xcode).
- Target: You can build all target or multi target.
- Include OCUnit/SenTestKit Test: Help you run OCUnit when In your project have UnitTest.
- Check iOS Application for Application Distribute: Help you build file .ipa this file help you deploy in TestFlight.com
- iOS Application Path: Path of file .app that you built. Example: Hippon.com.au/build/Release-iphoneos/Hippon.app.
Save task.
Upload App to TestFlight
We need some configurations:
- Task Description:
- API Token: Please registry TestFlight and go to click icon upload at right top of browser. Please search “Get the API”. Well will see page document api. Please choose api_token and team_token to get key. And enter API Key.
- Team Token: Please enter key that you get with API Token.
- IPA file: is path file you build by XCode
Save task and Run Plan.
Now you invent your friend test your application.
Good luck to you
No comments:
Post a Comment