Skip to content

Can't run ios app after update to 3.1.1 #776

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

Closed
NickIliev opened this issue Jul 3, 2017 · 7 comments
Closed

Can't run ios app after update to 3.1.1 #776

NickIliev opened this issue Jul 3, 2017 · 7 comments
Labels

Comments

@NickIliev
Copy link

From @gbonline on June 30, 2017 13:30

Hi, I tried to update nativescript this morning, to the 3.1.1 version, and my angular app didn't run anymore, also a new project don't work with the error of missing entitlements file

I tried with the simply commands

tns create new2 --ng
cd new2
tns run ios

then It can't run with a trace like this:

Create product structure
/bin/mkdir -p /Users/nemesix/Sviluppo/NativeScript3/new2/platforms/ios/build/emulator/new2.app

ProcessProductPackaging "" build/new2.build/Debug-iphonesimulator/new2.build/new2.app.xcent
    cd /Users/nemesix/Sviluppo/NativeScript3/new2/platforms/ios
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib/share/oracle/instantclient_12_1"
    builtin-productPackagingUtility -entitlements -format xml -o /Users/nemesix/Sviluppo/NativeScript3/new2/platforms/ios/build/new2.build/Debug-iphonesimulator/new2.build/new2.app.xcent
warning: Falling back to contents of entitlements file "new2.entitlements" because it was modified during the build process. Modifying the entitlements file during the build is unsupported.error: The file “new2.entitlements” couldn’t be opened because there is no such file.

** BUILD FAILED **


The following build commands failed:
	ProcessProductPackaging "" build/new2.build/Debug-iphonesimulator/new2.build/new2.app.xcent
(1 failure)
Unable to apply changes on device: D7FEB5F0-06BB-4EF8-B9E8-61ED4FAEA138. Error is: Command xcodebuild failed with exit code 65.

What can I do?

Copied from original issue: NativeScript/NativeScript#4484

@yavin5
Copy link

yavin5 commented Jul 3, 2017

I have this problem now as well, and I don't know how to fix it.

@yavin5
Copy link

yavin5 commented Jul 3, 2017

Why is this issue closed without any solution?

@NickIliev
Copy link
Author

@yavin5 the issue was never closed but moved to this repository - however, we can not reproduce the issue on our side so any additional information available would be of great help.
DO you have all the prerequisites for working with nativeScript on your MAC (XCode, xcodeproj, CocoaPods y as listed here)

@ivanbuhov
Copy link
Contributor

@gbonline @yavin5 I can't reproduce the issue. I tried with the following steps:

tns create new2 --ng
cd new2
tns run ios

Can you think of something that may help reproducing the issue e.g. using the latest beta of Xcode or some other tool.
I found similar issue in the Firebase plugin repo -> EddyVerbruggen/nativescript-plugin-firebase#333 but it seems that it is not the same because it requires using the Firebase plugin.

I guess that the CLI build step cleans the new2.entitlements file and the build fails later because it can't find it. I assume that it is related to this one NativeScript/nativescript-cli#2753 so I am moving the issue to the nativescript-cli repo.

@ivanbuhov
Copy link
Contributor

This issue was moved to NativeScript/nativescript-cli#2946

@yavin5
Copy link

yavin5 commented Jul 4, 2017

Well, except you're assuming that I'm using the nativescript cli.. I'm using Angular Seed Advanced and writing an Angular 4 app with components that render on ios and android via Nativescript. So this issue here is valid, and the one in nativescript-cli doesn't apply. This issue shouldn't be closed, and you shouldn't just close them (especially with zero comment) when other people in the community are saying they have the problem.

@ivanbuhov
Copy link
Contributor

ivanbuhov commented Jul 4, 2017

@yavin5
Currently, the only provided reproduction steps we have so far are those provided by @gbonline:

tns create new2 --ng
cd new2
tns run ios

These reproduction steps include NativeScript CLI usage. As I mentioned in my previous comment, we can't reproduce the issue with the provided steps, so it will be very helpful if you describe other steps, no matter if CLI is used or not.

This issue shouldn't be closed, and you shouldn't just close them (especially with zero comment)

The issue is not closed, it is moved to another repository. Moving an issue to another repo is standard procedure that we use when we believe some issue is more related to another domain than the one it is posted to. This doesn't decrease the issue priority by any means.
Here is my comment, justifying the issue movement -> #776 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants