2
votes

When i try to build ios-app and deploy it in iPad connected to my PC (i use remotebuild agent on remote mac (xcode 9.2) and vs 2015 + apache cordova on my PC) i have the following error:

Error Domain=IDEProvisioningErrorDomain Code=9 ""myapp.app" requires a provisioning profile." UserInfo={NSLocalizedDescription="myapp.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list

Any suggestions?

1

1 Answers

2
votes

Create a development/distribution provisioning profile in developer.apple.com portal, then specify TEAMID and provisioning profile in build.json config file:

"ios": {
    "debug": {
        "codeSignIdentitiy": "iPhone Developer",
        "developmentTeam":"MYTEAMID",
        "provisioningProfile": "Provisoning profile name",
        "packageType": "developer"
    },
    "release": {
        "codeSignIdentitiy": "iPhone Distribution",
        "developmentTeam":"MYTEAMID",
        "provisioningProfile": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
        "packageType": "app-store"
    }
}

More info of how to create provisioning profile are available here, in official TACO guide : Create a Provisioning Profile