Skip to content

XCode 9: Requires Provisioning Profile Error #3132

Closed
@dotnetdreamer

Description

@dotnetdreamer

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

Yes

Tell us about the problem

I upgraded the tools on my machine to xcode 9. i have updated cli and build the project and it runs in simulator. Now when i wanna run in phone, i am getting the error:

tns run ios
error: exportArchive: "IAMobileApp.app" requires a provisioning profile.

I selected the provisioning profile in xcode (after openning the .xcodeproj file) and it was working in xcode 8.
screen shot 2017-09-25 at 12 32 32 pm

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.2.0
  • Cross-platform modules: "nativescript": {
    "id": "org.nativescript.IA",
    "tns-android": {
    "version": "3.2.0"
    },
    "tns-ios": {
    "version": "3.2.0"
    }
    }

Please tell us how to recreate the issue in as much detail as possible.

build the project using tns build ios and then open the .xcodeproj file and select the provisioning profile and then type tns run ios

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions