-
-
Notifications
You must be signed in to change notification settings - Fork 197
EXPORT FAILED fse.node has conflicting provisioning settings #3568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same error here:
Tns doctor:
|
Hey there, Any hint or note is highly appreciated. I'm stuck on the issue for a few days already.. 😞 |
@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. |
@NickIliev Tried your solutions but I have 2 problems:
This happened on our project after we upgraded nativescript from 4.0 to 4.1 / 4.2 |
Ok, managed to find a scenario how to reproduce this issue:
The problem appears to be when trying to run projects created with a previous version of tns. Versions: |
I've been battling with this issue for the last 8 hours. I managed to work around it so that I can at least run the app on my phone, but it'd be great if there were a better solution.
It's not a fix rather a workaround and if anyone can shed any light on this issue, I'd be very appreciative! |
@pajohns This doesn't solve the problem in my case 😞 |
I have one solution for this kind of issue, that is to search for the file Now execute your code with provisioning profile id i.e |
Is the team working on a solution that does not require manual repetitive steps? I don't want to keep touching generated code. This issue should be labeled as a bug in my opinion. |
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. |
@surdu I've thought about that too but instead I tried to diff my project to a new clean 4.2 project. I couldn't find anything that would make a lot of sense to me causing this issue. We're using Sass, Webpack Builds, Firebase and whatnot. This will be a pain ... :-/ |
@hettiger I also made the diff in between a new and an old clean project and arrived to the same conclusion as you. |
Your app name and id remained the same when you did copy over to a new project? Maybe it's some Xcode cache ...? |
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. |
Some further attempts of me:
Whatever I do:
|
I finally gave up and recreated the entire project. I ran |
No code change, ran tns run ios again, and all now I get this thing too. |
Building with xcode works until you try to sign / upload. |
That also explains why it expects to be signed as Mac Developer |
Alright.. I've removed the fsevent package. I'm not sure why it's in my node_modules, and therefore in my tns_modules. |
@jrz
|
I tried the 'sped up version' of your suggestion, basically doing a tns create, copying over the .git folder, and then doing a git reset --hard. The issue still happens when doing that. |
I wrestled with the issue for quite some days. Eventually I came up with a little build script that works in my case, at least. Maybe somebody finds it useful: tns platform clean ios
tns install
tns build ios --bundle --env.uglify
tns prepare ios --release I basically install from scratch. Afterwards - in xcode - I configure the signing team and I'm able to run the app on my phone and publish it to the app store. |
@larssn I did not reset --hard intentionally. Like i said: »I just hat to revert and diff for a while ...« |
We ended up making new provisioning profiles. |
@larssn That would have been my last resort too but I wanted to keep using automatic code signing. |
Somehow |
You must pay attention to the
Now you can generate an IPA or run over an emulator using the CLI. |
Has anyone found a solution for this problem yet? None of the above have worked for me. Alternatively, could anyone please at least explain roughly what's going on? Why is there more than one Provisioning Profile if I only ever created one? How is this other one being found? This issue is really sucking up my time, and I don't yet even know what the core of the problem is |
Creating a new project and copying everything over did the trick for me in the end... :/ |
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.}
The text was updated successfully, but these errors were encountered: