I have configured and reconfigured my certificates and provisioning profiles in the Apple Developer console. However, when I run:
ionic cordova build ios --device --prod --release
I get:
2017-11-13 02:52:41.540 xcodebuild[13279:394001] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/5n/9fdb583s36339kyg9kmmh0kh0000gn/T/MyApp_2017-11-13_02-52-41.539.xcdistributionlogs'.
2017-11-13 02:52:41.880 xcodebuild[13279:394001] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7f95c8628050>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
"Error Domain=IDEProvisioningErrorDomain Code=9 \"\"MyApp.app\" requires a provisioning profile with the Push Notifications feature.\" UserInfo={NSLocalizedDescription=\"MyApp.app\" requires a provisioning profile with the Push Notifications feature., NSLocalizedRecoverySuggestion=Add a profile to the \"provisioningProfiles\" dictionary in your Export Options property list.}"
)}
error: exportArchive: "MyApp.app" requires a provisioning profile with the Push Notifications feature.
Error Domain=IDEProvisioningErrorDomain Code=9 ""MyApp.app" requires a provisioning profile with the Push Notifications feature." UserInfo={NSLocalizedDescription="MyApp.app" requires a provisioning profile with the Push Notifications feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}
** EXPORT FAILED **
I’m absolutely positive that the certificate and provisioning profile have push notifications activated
I have tried removing the platform and re-adding and re-building, the problem persists. Is there some other setting somewhere that I’m missing?
#IOS #Cordova #Build