{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/388","labels_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/388/comments","events_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/388/events","html_url":"https://github.com/NativeScript/ios-runtime/issues/388","id":113836990,"number":388,"title":"After upgrading to nativescript 1.4, ios build failed","user":{"login":"Fatme","id":760518,"avatar_url":"https://avatars.githubusercontent.com/u/760518?v=3","gravatar_id":"","url":"https://api.github.com/users/Fatme","html_url":"https://github.com/Fatme","followers_url":"https://api.github.com/users/Fatme/followers","following_url":"https://api.github.com/users/Fatme/following{/other_user}","gists_url":"https://api.github.com/users/Fatme/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatme/subscriptions","organizations_url":"https://api.github.com/users/Fatme/orgs","repos_url":"https://api.github.com/users/Fatme/repos","events_url":"https://api.github.com/users/Fatme/events{/privacy}","received_events_url":"https://api.github.com/users/Fatme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-28T14:42:48Z","updated_at":"2015-10-28T14:42:50Z","closed_at":null,"body":"_From @enchev on October 26, 2015 7:28_\n\n_From @eforth on October 22, 2015 14:34_\n\ncocoapods (0.39.0)\r\nnativescript@1.4.2\r\n\r\nSteps\r\n\r\n1. tns create testapp\r\n2. cd testapp\r\n3. tns platform add ios\r\n4. tns build ios\r\n\r\n\r\nOutput from tns buid ios\r\n========================\r\n\r\nProject successfully prepared\r\nBuild settings from command line:\r\n    ARCHS = i386\r\n    CONFIGURATION_BUILD_DIR = /Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/build/emulator\r\n    SDKROOT = iphonesimulator9.0\r\n    SHARED_PRECOMPS_DIR = /Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/build/sharedpch\r\n    VALID_ARCHS = \"i386\"\r\n\r\n=== BUILD TARGET testapp2 OF PROJECT testapp2 WITH CONFIGURATION Debug ===\r\n\r\nCheck dependencies\r\nbuild-debug.xcconfig line 2: Unable to find included file \"Pods/Target Support Files/Pods/Pods.debug.xcconfig\"\r\n\r\nPhaseScriptExecution NativeScript\\ PreBuild build/testapp2.build/Debug-iphonesimulator/testapp2.build/Script-C97FD7AC1ADE5369004DB2A4.sh\r\n    cd /Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios\r\n    /bin/sh -c /Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/build/testapp2.build/Debug-iphonesimulator/testapp2.build/Script-C97FD7AC1ADE5369004DB2A4.sh\r\n~/Projects/nativescript-apps/testapp2/platforms/ios/internal/metadata-generator/bin ~/Projects/nativescript-apps/testapp2/platforms/ios\r\nGenerating metadata for i386\r\n\r\n~/Projects/nativescript-apps/testapp2/platforms/ios\r\n\r\nLd build/emulator/testapp2.app/testapp2 normal i386\r\n    cd /Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios\r\n    export IPHONEOS_DEPLOYMENT_TARGET=7.0\r\n    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:/Users/ervinforth/ApacheAnt/bin:/Users/ervinforth/android-sdk/tools:/Users/ervinforth/android-sdk/platform-tools:/Users/ervinforth/android-sdk/build-tools:/Applications/Genymotion\\\\ Shell.app/Contents/MacOS/:/Applications/Genymotion.app/Contents/MacOS/\"\r\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/build/emulator -F/Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/build/emulator -F/Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/../../lib/iOS -filelist /Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/build/testapp2.build/Debug-iphonesimulator/testapp2.build/Objects-normal/i386/testapp2.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=7.0 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -sectcreate __DATA __TNSMetadata /Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/build/emulator/metadata-i386.bin -lNativeScript -L/Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/internal/NativeScript/lib -licucore -lz -lc++ -framework Foundation -framework UIKit -framework CoreGraphics -framework MobileCoreServices -fobjc-arc -fobjc-link-runtime -Xlinker -dependency_info -Xlinker /Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/build/testapp2.build/Debug-iphonesimulator/testapp2.build/Objects-normal/i386/testapp2_dependency_info.dat -o /Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/build/emulator/testapp2.app/testapp2\r\nld: warning: directory not found for option '-F/Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/../../lib/iOS'\r\nld: can't open -sectcreate file: /Users/ervinforth/Projects/nativescript-apps/testapp2/platforms/ios/build/emulator/metadata-i386.bin\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\n** BUILD FAILED **\r\n\r\nThe following build commands failed:\r\n\tLd build/emulator/testapp2.app/testapp2 normal i386\r\n(1 failure)\r\nCommand xcodebuild failed with exit code 65\r\n\r\n\r\nI noticed this all happened when I upgraded to version 1.4 of nativescript.\r\n\r\nbuild-debug.xcconfig line 2: Unable to find included file \"Pods/Target Support Files/Pods/Pods.debug.xcconfig\"\r\n\r\nAnybody have a similar issue?\n\n_Copied from original issue: NativeScript/NativeScript#978_\n\n_Copied from original issue: NativeScript/nativescript-cli#1103_"},"comment":{"url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/comments/151867752","html_url":"https://github.com/NativeScript/ios-runtime/issues/388#issuecomment-151867752","issue_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/388","id":151867752,"user":{"login":"Fatme","id":760518,"avatar_url":"https://avatars.githubusercontent.com/u/760518?v=3","gravatar_id":"","url":"https://api.github.com/users/Fatme","html_url":"https://github.com/Fatme","followers_url":"https://api.github.com/users/Fatme/followers","following_url":"https://api.github.com/users/Fatme/following{/other_user}","gists_url":"https://api.github.com/users/Fatme/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatme/subscriptions","organizations_url":"https://api.github.com/users/Fatme/orgs","repos_url":"https://api.github.com/users/Fatme/repos","events_url":"https://api.github.com/users/Fatme/events{/privacy}","received_events_url":"https://api.github.com/users/Fatme/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T14:42:50Z","updated_at":"2015-10-28T14:42:50Z","body":"_From @enchev on October 26, 2015 7:28_\n\n_From @manijak on October 22, 2015 19:52_\n\nI had the similar (if not the same) error right after I moved to El Capitan and XCode 7. \r\nTry giving your user more permissions to the platforms and/or ios folder (and sub-content). I gave my user read & write permission, plus added myself as the 'owner'. \r\nThen rebuild. "}}