nativescript-cli: XCode 9: Requires Provisioning Profile Error
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.
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
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 21 (3 by maintainers)
@pap5508 Thanks. Then, your
ios-project-service.js
should be in/usr/local/lib/node_modules/nativescript/lib/services
.@dotnetdreamer : I am getting following error while running tns run ios --provision “My Provisioning Profile”
@pap5508 I chose the lazy solution and did reinstall xcode 8, you can download it from https://developer.apple.com/download/more/