nativescript-cli: iOS Building Problem (exit code 65)
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
Yes, but no luck
Tell us about the problem
Please, ensure your title is less than 63 characters long and starts with a capital letter.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
-
CLI: (run
tns --version
to fetch it) => 3.0.1 -
Cross-platform modules: (check the ‘version’ attribute in the
node_modules/tns-core-modules/package.json
file in your project) => “version”: “3.0.1” -
Runtime(s): (look for the
"tns-android"
and"tns-ios"
properties in thepackage.json
file of your project) => “tns-ios”: { “version”: “3.1.0-2017-5-16-2” } -
Plugin(s): (look for the version number in the
package.json
file of your project)
"dependencies": {
"@angular/animations": "~4.1.2",
"@angular/common": "~4.1.2",
"@angular/compiler": "~4.1.2",
"@angular/core": "~4.1.2",
"@angular/forms": "~4.1.2",
"@angular/http": "~4.1.2",
"@angular/platform-browser": "~4.1.2",
"@angular/platform-browser-dynamic": "~4.1.2",
"@angular/router": "~4.1.2",
"nativescript-advanced-webview": "^1.1.3",
"nativescript-angular": "~3.0.0",
"nativescript-audio": "^3.4.2",
"nativescript-cardview": "^2.0.0-rc.0",
"nativescript-dom": "^2.0.0",
"nativescript-drop-down": "^3.0.1",
"nativescript-effects": "^0.5.0",
"nativescript-exoplayer": "^3.0.7",
"nativescript-fancyalert": "^1.1.2",
"nativescript-gif": "^2.0.0",
"nativescript-image-cache": "^1.0.5",
"nativescript-loading-indicator": "^2.3.2",
"nativescript-localstorage": "^1.1.2",
"nativescript-ngx-slides": "git+https://github.com/TheOriginalJosh/nativescript-ngx-slides.git",
"nativescript-orientation": "git+https://github.com/DimitarTachev/nativescript-orientation.git",
"nativescript-permissions": "^1.2.3",
"nativescript-pulltorefresh": "^2.0.0-rc.1",
"nativescript-sqlite": "^1.1.7",
"nativescript-telerik-ui": "^2.0.1",
"nativescript-theme-core": "^1.0.4",
"nativescript-videoplayer": "^3.0.5",
"nativescript-web-image-cache": "^4.1.0",
"reflect-metadata": "~0.1.8",
"rxjs": "^5.4.0",
"tns-core-modules": "~3.0.0",
"zone.js": "^0.8.10"
},
"devDependencies": {
"babel-traverse": "6.4.5",
"babel-types": "6.4.5",
"babylon": "6.4.5",
"lazy": "1.0.11",
"nativescript-dev-android-snapshot": "^0.*.*",
"nativescript-dev-typescript": "^0.4.0",
"tns-platform-declarations": "^3.0.1",
"typescript": "~2.2.1"
}`
Environment:
MacOS 10.12.4 xCode Version 8.3.2
Please tell us how to recreate the issue in as much detail as possible.
When I am trying to run this line:
tns run ios --emulator
or tns run ios --emulator --watch
Error:
`CompileStoryboard NativeScript/Resources/LaunchScreen.storyboard
cd "/Users/jibon/Documents/My Work/NativeScript/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"
export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/..
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module NativeScript --output-partial-info-plist /Users/jibon/Library/Developer/Xcode/DerivedData/NativeScript-adfgotrkdkddichbuvtsttyxvsek/Build/Intermediates/NativeScript.build/Debug-iphonesimulator/NativeScript.build/LaunchScreen-SBPartialInfo.plist --auto-activate-custom-fonts --target-device iphone --target-device ipad --minimum-deployment-target 8.0 --output-format human-readable-text --compilation-directory /Users/jibon/Library/Developer/Xcode/DerivedData/NativeScript-adfgotrkdkddichbuvtsttyxvsek/Build/Intermediates/NativeScript.build/Debug-iphonesimulator/NativeScript.build /Users/jibon/Documents/My\ Work/NativeScript/platforms/ios/NativeScript/Resources/LaunchScreen.storyboard
** BUILD FAILED **
The following build commands failed:
CompileAssetCatalog build/emulator/NativeScript.app NativeScript/Resources/Assets.xcassets
(1 failure)
Multiple errors were thrown:
Command xcodebuild failed with exit code 65
# run ios
Any suggestion in where I am doing wrong? Thanks in advance.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 21 (6 by maintainers)
tns update
Worked for me, YMMV.
HI !
Here is what helped me
STEP 1 (build.xcconfig)
STEP 2 (Podfile)
give me a star thanks
As expected, it works for me when I reseted the default icons.
I came across with this problem. I removed the nativescript@3.2.0 and installed nativescript@3.1.2, problem solved.
@jibon57 using your exact package.json configuration I was able to build successfully this project. Try to reset the project with deleting platforms and hooks folder and rebuilding. Also make sure that all of the used plugins are migrated for compatibility with NativeScript 3.x.x. You can also log more datails with executing
You might alos wnat to check this issue