I am trying to Continuous integrate using Jenkins for Ios project. i am using below command to manually specify the code signing identity and provisioning profile.
/usr/bin/xcodebuild -workspace "Project.xcworkspace" -scheme "projectTest" -archivePath build/Project -configuration Release archive CODE_SIGN_STYLE=Manual PROVISIONING_PROFILE=”CompanyNameQAAdhocDistribution” CODE_SIGNING_IDENTITY="iPhone Developer: xxxxxxx xxxx (xxxxxxxxxx)"
** ARCHIVE SUCCEEDED **
For Exporting the IPA I am using below command.
/usr/bin/xcodebuild -exportArchive -archivePath "build/Project.xcarchive" -exportPath "build/Project.ipa" -exportOptionsPlist "Build/Project.xcarchive/Info.plist"
Error Message:
Error Domain=IDEProvisioningErrorDomain Code=9 ""ProjectTest.app" requires a provisioning profile with the Push Notifications and Apple Pay features." UserInfo={NSLocalizedDescription="ProjectTest.app" requires a provisioning profile with the Push Notifications and Apple Pay features., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}
** EXPORT FAILED **
Able to Export from IDE, But unable to do it via from command. Any help is Appreciated.