New error after fresh install; Stop at ProcessProductPackaging
See original GitHub issueRelated to #327
There is new error after fresh install.
tns create MobileApp --ng
tns plugin add nativescript-plugin-firebase
tns run ios
Create product structure /bin/mkdir -p /Users/devel/ntv/MobileApp/platforms/ios/build/emulator/MobileApp.app
ProcessProductPackaging ββ /Users/devel/Library/Developer/Xcode/DerivedData/MobileApp-aaohjqrvwtifihalptrdzutcoadu/Build/Intermediates/MobileApp.build/Debug-iphonesimulator/MobileApp.build/MobileApp.app.xcent cd /Users/devel/ntv/MobileApp/platforms/ios export PATH=β/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/opt/dnscrypt-proxy/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commandsβ builtin-productPackagingUtility -entitlements -format xml -o /Users/devel/Library/Developer/Xcode/DerivedData/MobileApp-aaohjqrvwtifihalptrdzutcoadu/Build/Intermediates/MobileApp.build/Debug-iphonesimulator/MobileApp.build/MobileApp.app.xcent warning: Falling back to contents of entitlements file βMobileApp.entitlementsβ because it was modified during the build process. Modifying the entitlements file during the build is unsupported.error: The file βMobileApp.entitlementsβ couldnβt be opened because there is no such file.
** BUILD FAILED **
The following build commands failed: ProcessProductPackaging ββ /Users/devel/Library/Developer/Xcode/DerivedData/MobileApp-aaohjqrvwtifihalptrdzutcoadu/Build/Intermediates/MobileApp.build/Debug-iphonesimulator/MobileApp.build/MobileApp.app.xcent (1 failure) Command xcodebuild failed with exit code 65
There is no issue when build on android.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top GitHub Comments
For me this problem was caused by project folder name not matching name of entitlements file Iβve created and added to app/App_Resources/iOS. It has to be the same.
Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42) node: v6.9.1 cocoapods: /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods.rb tns info:
I create a new project:
then
and
so the problem is still there.
I tried the workaround described in this issue, so I created the file
iostest.entitlements
inApp/App_Resources/iOS
and pasted the content as described.I removed the ios platform, recreated it, and run the app in the emulator again.
The error is still the same.
In the platforms directory, I can see:
So, something is working the wrong way.
In another project, before the upgrade to 3.1.2, the workaround worked fineβ¦