Hi folks,
for an iOS app, I am currently trying to run an automated iOS build from command line to generate the signed .ipa file.
What the command line does, is:
xcodebuild -xcconfig ../../buildSettings.xcconfig -scheme "ProjectName" -configuration "Release" -archivePath ../../build/ProjectName.xcarchive archive
xcrun xcodebuild -exportArchive -exportOptionsPlist ../../exportPlist.plist -archivePath ../../build/ProjectName.xcarchive -exportPath ../../buildThe is that the XCode project is missing any scheme which is needed for the build with xcodebuild. This is because the xcodeproj is automatically generated by the cordova framework command line tools.
I found out that XCode automatically generates new scheme files when the project is opened with XCode. What I did not find is any command line tool options to create that scheme. I think to open XCode from the command line and kill it again before building the project is a workaround and I would rather prefer a clean solution.
Is there any way to achieve the scheme generation from command line?
Thank you,
Bastian