I’ve been able to use Ionic Package with dev certificates (great job guys!) but when it comes to using a distribution profile, I get the following error:
=== BUILD TARGET MyTeam.Click OF PROJECT MyTeam.Click WITH CONFIGURATION Debug ===
Code Sign error: No matching provisioning profiles found: No provisioning profiles matching an applicable signing identity were found.
warning: no rule to process file ‘/Users/package/workspace/apps-39e11fcf-18/cordova/platforms/ios/MyTeam.Click/Plugins/onesignal-cordova-plugin/OneSignalPush.h’ of type sourcecode.c.h for architecture armv7
warning: no rule to process file ‘/Users/package/workspace/apps-39e11fcf-18/cordova/platforms/ios/MyTeam.Click/Plugins/onesignal-cordova-plugin/OneSignalSelectorHelpers.h’ of type sourcecode.c.h for architecture armv7
warning: no rule to process file ‘/Users/package/workspace/apps-39e11fcf-18/cordova/platforms/ios/MyTeam.Click/Plugins/onesignal-cordova-plugin/UNUserNotificationCenter+OneSignal.h’ of type sourcecode.c.h for architecture armv7
warning: no rule to process file ‘/Users/package/workspace/apps-39e11fcf-18/cordova/platforms/ios/MyTeam.Click/Plugins/onesignal-cordova-plugin/UIApplicationDelegate+OneSignal.h’ of type sourcecode.c.h for architecture armv7
** BUILD FAILED **
I have followed the steps to generating my certificates to the letter (to the best of my knowledge). On the OneSignal site, I have configured the Appel iOS platform by uploading my production push .p12 file and entering the password carefully. On www.ionic.io, I created a new Certificate in Settings called “dist”, where I first uploaded my dist_push.p12 (with password), then the dist.p12 and dist.mobileprovision file.
This time when I run:
ionic package build ios --profile dist
I get the above error.
I’ve seen multiple posts about people with similar problems and no official answer except for “rebuild all your certificates and make sure they all come from the same mac” (which I did) and I still get this error. Where should I start? I have all the latest setup (ionic, npm, node, app-scripts):
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.1
Xcode version: Not installed