nativescript-cli: EXPORT FAILED fse.node has conflicting provisioning settings
I am using a latest version of Cli i.e 4.0.1
I am not able to use tns run ios command for my project and getting below error.
error: exportArchive: fse.node has conflicting provisioning settings.
Error Domain=IDEProvisioningErrorDomain Code=8 “fse.node has conflicting provisioning settings.” UserInfo={NSLocalizedDescription=fse.node has conflicting provisioning settings., NSLocalizedRecoverySuggestion=fse.node is automatically signed for distribution, but a conflicting code signing identity iPhone Developer has been manually specified.Remove the “signingCertificate” entry from your Export Options property list, or switch to manual signing by setting “signingStyle” to "Manual.}
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 7
- Comments: 30 (1 by maintainers)
Ok, managed to find a scenario how to reproduce this issue:
npm install nativescript@4.0tns create TestProjnpm install nativescript@4.2cd TestProj; tns run iosThe problem appears to be when trying to run projects created with a previous version of tns. Running projects created with v4.2 work as expected.
Versions: MacOS: v10.12.6 (16G1510) XCode: v9.2 (9C40b)
@mathias-mcb try the solution suggested in the error log
Basically, do this - open the built project in XCode and set the signing to manual.
You must pay attention to the
package.jsonand their dependencies, if you have some plugin that use some package likechockidarthat behinds usefseventspackage (for example nativescript-dev-sass) and that plugin is listed in thedependenciesinstead of thedevDependenciessection then thefse.nodeerror throws up, simple move that plugin package fromdependenciestodevDependenciesand then run:Now you can generate an IPA or run over an emulator using the CLI.
Somehow
"@angular/cli": "^6.0.8",Came back in my dependencies, where it should be in devDependencies (upgrading to the latest @next). Moved to devDependencies, removed node_modules abomination and didnpm installAlright… I’ve removed the fsevent package. I’m not sure why it’s in my node_modules, and therefore in my tns_modules.
Yes, they remained the same. In the example I gave above I didn’t build the project, just created it, so I don’t think it’s the cache.
@hettiger I also made the diff in between a new and an old clean project and arrived to the same conclusion as you.
In order to solve the problem we had to create a blank new project using the latest NativeScript and copy all files to the new app. That was unpleasant and definitely not the proper solution, but it worked.
@pajohns This doesn’t solve the problem in my case 😞
Same error here:
Tns doctor: