I ran into the cord line on macOS. Build works great for Android, but creating iOS is very painful. Here's what happens:
>cordova build ios --device --debug --buildConfig ./build.json
.....
Check dependencies
No profile matching '******' found: Xcode couldn't find a profile matching '******'. Install the profile (by dragging and dropping it onto Xcode dock item) or select a different one in the General tab of the target editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
This is a new installation of the latest versions of everything (node, cordova, cordova-ios, Xcode, etc.). I have everything that is set from the point of view of developers, team, certificates and training profiles. All these artifacts are valid, and I know for sure, because I am transferring this assembly from Intel XDK to my local Mac. Here is my build.json:
{
"ios": {
"debug": {
"provisioningProfile": "******",
"developmentTeam": "******",
"packageType": "development"
},
"release": {
"provisioningProfile": "******",
"developmentTeam": "*******",
"packageType": "app-store"
}
}
}
I see all provisioning profiles in the Xcode account settings. I also see them in the folder /Users/me/Library/MobileDevices/Provisioning Profiles
. I opened the Xcode project and adjusted the code signing for the project and the goal on the Build Settings and General tabs. Training profiles are there, there is a team identifier.
cordova.
, cordova XCode ? ? ?