I have an Ionic app I've developed using Visual Studio on a Windows machine. I now want to package the app for iOS deployment and I can't get the remote build on the Mac to work to save my life. I've wasted 3 days on this problem.
My build.json in my app is:
"ios": {
"release": {
"developmentTeam": "XXXXXXXXXX",
"codeSignIdentity": "iPhone Distribution",
"packageType": "app-store",
"provisioningProfile": "XXXXXXXX-XXXXX-XXXX-XXXX-XXXXXXXXXXXX",
"buildFlag": [
"EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
"LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
]
}
}
I created an iOS distribution certificate using the latest XCODE on my MacInCloud:
Here is the certificate in the developer portal:
And then in the developer portal, I created Provisioning Profile, then downloaded it to my PC, opened it, extracted the Provisioning Profile UUID and put it into my build.json:
So then I do a remote build using my Mac in Cloud and I can watch the build take place but then by the end of the long build process, I eventually get this error:
Error Domain=IDEProvisioningErrorDomain Code=9 ""Cincy Christmas.app" requires a provisioning profile." UserInfo={NSLocalizedDescription="Cincy Christmas.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}
I tried many different codeSignIdentity (iOS Distribution, iPhone Developer, etc...) and gotten multiple different errors (conflicting provisions, change to iPhone Developer, etc...) I've also updated Cordova (7.0) and Cordova-ios (4.5.3) to see if that would fix it. No dice.
What am I doing wrong? Any ideas? I'm at my wit's end!