Cordoba for iOS - No Profile Found

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 ? ? ?

+6
2

, ... .
7.0.1, MacOS 10.12.5 XCode 8.3.2.
, , , XCode - .

0

, , , , , . - , iPhone Mac, , . Xcode, . , , . , , .

+7

Source: https://habr.com/ru/post/1014674/


All Articles