Reputation: 261
I am running the build using Jenkins and with Xcode 9 beta, I am getting an error with the profile. Here is the error that I am getting
NSLocalizedRecoverySuggestion=Select a provisioning profile for the "Default" build configuration in the project editor.}
Please let me know how can I resolve this. Thanks.
Upvotes: 2
Views: 3022
Reputation: 2178
Please follow these steps:
xcodebuild -exportArchive \
-archivePath "${WORKSPACE}/build/YourProject.xcarchive" \
-exportPath "${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_NUMBER}/archive" \
-exportOptionsPlist "${WORKSPACE}/ExportOptions.plist"
Upvotes: 5