Did you know that you can navigate the posts by swiping left and right?
In this post, I’ll show you how Jenkins can be used to automate continuos integration for IOS application to build IOS .ipa.
Requirements
From my structure, I am using one Jenkins master installed on another Linux server and use Jenkins slave on MacOS. After configuring Jenkins master and slave, We add the following plugins to Jenkins master. (Jenkins slave will use the recommended plugins).
Setup a new Jenkins item
Create a new Jenkins project using freestyle option and the following settings.
If we want to schedule strigger, select build periodically.
To build IOS .ipa, we need three build steps:
cd ${WORKSPACE}
/usr/local/bin/pod install
Link ref: Link
cd ${WORKSPACE}/build
xcodebuild -exportArchive -archivePath YourXcarchive -exportPath YourPath -exportOptionsPlist options.plist