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 --versionto fetch it) => 3.0.1 -
Cross-platform modules: (check the 'version' attribute in the
node_modules/tns-core-modules/package.jsonfile in your project) => "version": "3.0.1" -
Runtime(s): (look for the
"tns-android"and"tns-ios"properties in thepackage.jsonfile of your project) => "tns-ios": { "version": "3.1.0-2017-5-16-2" } -
Plugin(s): (look for the version number in the
package.jsonfile 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.
HI !
Here is what helped me
- XCODE 13.3.1
- NativeScript 8.0.2 cli
- Platform IOS "6.5.2"
STEP 1 (build.xcconfig)
// xcode 13
EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64=arm64 arm64e armv7 armv7s armv6 armv8
EXCLUDED_ARCHS=$(inherited)
$(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT))
IPHONEOS_DEPLOYMENT_TARGET = 12.0
STEP 2 (Podfile)
pod 'CocoaAsyncSocket'
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] ='NO'
config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
end
end
end
IPHONEOS_DEPLOYMENT_TARGET = 12.0
give me a star thanks