NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
299 stars 59 forks source link

tns create Sample --ng does not run "Error: Could not find module 'timers'" #654

Closed ignaciolarranaga closed 8 years ago

ignaciolarranaga commented 8 years ago

Attached the full log.

For reproduction just:

Touch /private/tmp/Sample/platforms/ios/build/emulator/Sample.app
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /usr/bin/touch -c /private/tmp/Sample/platforms/ios/build/emulator/Sample.app

** BUILD SUCCEEDED **

Project successfully built
Successfully deployed on device with identifier '00A4117D-42D7-4D34-A741-4D4FAA4286CD'.
Sep 14 22:19:50 MacBook-Pro-de-Ignacio Sample[19248]: 1   0x1041f5c67 -[TNSRuntime executeModule:]
Sep 14 22:19:50 MacBook-Pro-de-Ignacio Sample[19248]: 2   0x103e29702 main
Sep 14 22:19:50 MacBook-Pro-de-Ignacio Sample[19248]: 3   0x10763892d start
Sep 14 22:19:50 MacBook-Pro-de-Ignacio Sample[19248]: file:///app/tns_modules/zone.js/dist/zone-node.js:897:21: JS ERROR Error: Could not find module 'timers'. Computed path '/Users/ignacio/Library/Developer/CoreSimulator/Devices/00A4117D-42D7-4D34-A741-4D4FAA4286CD/data/Containers/Bundle/Application/17512DF1-BA54-4039-B764-C2E4E082FEDC/Sample.app/app/tns_modules/timers'.
Sep 14 22:19:50 MacBook-Pro-de-Ignacio com.apple.CoreSimulator.SimDevice.00A4117D-42D7-4D34-A741-4D4FAA4286CD.launchd_sim[18838] (UIKitApplication:org.nativescript.Sample[0x9c8b][19248]): Service exited due to signal: Segmentation fault: 11

Full log:

Copying template files...
Project successfully created.
Executing before-prepare hook from /private/tmp/Sample/hooks/before-prepare/nativescript-dev-typescript.js
Found peer TypeScript 1.8.10
The depedency located at /private/tmp/Sample/node_modules/@angular/platform-server/node_modules/parse5 with version  1.3.2 will be replaced with dependency located at /private/tmp/Sample/node_modules/nativescript-angular/node_modules/parse5 with version 1.4.2
Successfully prepared plugin nativescript-angular for ios.
Successfully prepared plugin nativescript-intl for ios.
Successfully prepared plugin tns-core-modules for ios.
Successfully prepared plugin tns-core-modules-widgets for ios.
Project successfully prepared (ios)
Build settings from command line:
    ARCHS = i386 x86_64
    CODE_SIGN_IDENTITY = 
    CONFIGURATION_BUILD_DIR = /private/tmp/Sample/platforms/ios/build/emulator
    ONLY_ACTIVE_ARCH = NO
    SDKROOT = iphonesimulator9.3
    SHARED_PRECOMPS_DIR = /private/tmp/Sample/platforms/ios/build/sharedpch
    VALID_ARCHS = i386 x86_64

=== BUILD TARGET Sample OF PROJECT Sample WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Script-CD3EAD351B05FF060042DBFC.sh
chmod 0755 /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Script-CD3EAD351B05FF060042DBFC.sh
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-generated-files.hmap
/bin/mkdir -p /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-amobhiaucivvefalfykyatzwgyie
write-file /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-amobhiaucivvefalfykyatzwgyie/Sample-Prefix.pch.pch.hash-criteria
/bin/mkdir -p /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386/Sample.LinkFileList
/bin/mkdir -p /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-bbhpchbxeaaqroabbahrobeliddq
write-file /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-bbhpchbxeaaqroabbahrobeliddq/Sample-Prefix.pch.pch.hash-criteria
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-all-target-headers.hmap
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Script-CD62955B1BB2651D00AE3A93.sh
chmod 0755 /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Script-CD62955B1BB2651D00AE3A93.sh
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-own-target-headers.hmap
/bin/mkdir -p /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64/Sample.LinkFileList
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Script-C97FD7AC1ADE5369004DB2A4.sh
chmod 0755 /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Script-C97FD7AC1ADE5369004DB2A4.sh
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-project-headers.hmap
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample.hmap
write-file /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-all-non-framework-target-headers.hmap

Create product structure
/bin/mkdir -p /private/tmp/Sample/platforms/ios/build/emulator/Sample.app

PhaseScriptExecution NativeScript\ PreBuild build/Sample.build/Debug-iphonesimulator/Sample.build/Script-C97FD7AC1ADE5369004DB2A4.sh
    cd /tmp/Sample/platforms/ios
    /bin/sh -c /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Script-C97FD7AC1ADE5369004DB2A4.sh
/tmp/Sample/platforms/ios/internal/metadata-generator/bin /private/tmp/Sample/platforms/ios
Generating metadata for i386
Metadata Generator Arguments: 
"./objc-metadata-generator", "-output-bin", "/private/tmp/Sample/platforms/ios/build/emulator/metadata-i386.bin", "-output-umbrella", "/private/tmp/Sample/platforms/ios/build/emulator/umbrella-i386.h", "-docset-path", "/Users/ignacio/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.iOS.docset", "Xclang", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk", "-arch", "i386", "-mios-simulator-version-min=8.0", "-std=gnu99", "-I/private/tmp/Sample/platforms/ios/build/emulator/include", "-I/tmp/Sample/platforms/ios/internal", "-F/private/tmp/Sample/platforms/ios/build/emulator", "-F/tmp/Sample/platforms/ios/internal/", "-F/tmp/Sample/platforms/ios/../../lib/iOS", "-F../../lib/iOS", "-DDEBUG=1", 
Clang Arguments: 
"-v", "-x", "objective-c", "-fno-objc-arc", "-fmodule-maps", "-ferror-limit=0", "-Wno-unknown-pragmas", "-Wno-ignored-attributes", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk", "-arch", "i386", "-mios-simulator-version-min=8.0", "-std=gnu99", "-I/private/tmp/Sample/platforms/ios/build/emulator/include", "-I/tmp/Sample/platforms/ios/internal", "-F/private/tmp/Sample/platforms/ios/build/emulator", "-F/tmp/Sample/platforms/ios/internal/", "-F/tmp/Sample/platforms/ios/../../lib/iOS", "-F../../lib/iOS", "-DDEBUG=1", 
Merged 494 categories.
Result: 26287 declarations from 90 top level modules
Done! Running time: 8.26563 sec 
Generating metadata for x86_64
Metadata Generator Arguments: 
"./objc-metadata-generator", "-output-bin", "/private/tmp/Sample/platforms/ios/build/emulator/metadata-x86_64.bin", "-output-umbrella", "/private/tmp/Sample/platforms/ios/build/emulator/umbrella-x86_64.h", "-docset-path", "/Users/ignacio/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.iOS.docset", "Xclang", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk", "-arch", "x86_64", "-mios-simulator-version-min=8.0", "-std=gnu99", "-I/private/tmp/Sample/platforms/ios/build/emulator/include", "-I/tmp/Sample/platforms/ios/internal", "-F/private/tmp/Sample/platforms/ios/build/emulator", "-F/tmp/Sample/platforms/ios/internal/", "-F/tmp/Sample/platforms/ios/../../lib/iOS", "-F../../lib/iOS", "-DDEBUG=1", 
Clang Arguments: 
"-v", "-x", "objective-c", "-fno-objc-arc", "-fmodule-maps", "-ferror-limit=0", "-Wno-unknown-pragmas", "-Wno-ignored-attributes", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk", "-arch", "x86_64", "-mios-simulator-version-min=8.0", "-std=gnu99", "-I/private/tmp/Sample/platforms/ios/build/emulator/include", "-I/tmp/Sample/platforms/ios/internal", "-F/private/tmp/Sample/platforms/ios/build/emulator", "-F/tmp/Sample/platforms/ios/internal/", "-F/tmp/Sample/platforms/ios/../../lib/iOS", "-F../../lib/iOS", "-DDEBUG=1", 
Merged 494 categories.
Result: 26169 declarations from 90 top level modules
Done! Running time: 7.68107 sec 
/private/tmp/Sample/platforms/ios

ProcessPCH /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-bbhpchbxeaaqroabbahrobeliddq/Sample-Prefix.pch.pch Sample/Sample-Prefix.pch normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /tmp/Sample/platforms/ios
    export LANG=en_US.US-ASCII
    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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch x86_64 -fmessage-length=129 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-generated-files.hmap -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-own-target-headers.hmap -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-all-target-headers.hmap -iquote /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-project-headers.hmap -I/private/tmp/Sample/platforms/ios/build/emulator/include -I/tmp/Sample/platforms/ios/internal -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/DerivedSources/x86_64 -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/DerivedSources -F/private/tmp/Sample/platforms/ios/build/emulator -F/tmp/Sample/platforms/ios/internal -F/tmp/Sample/platforms/ios/../../lib/iOS -F../../lib/iOS -MD -MT dependencies -MF /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-bbhpchbxeaaqroabbahrobeliddq/Sample-Prefix.pch.d -c /tmp/Sample/platforms/ios/Sample/Sample-Prefix.pch -o /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-bbhpchbxeaaqroabbahrobeliddq/Sample-Prefix.pch.pch --serialize-diagnostics /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-bbhpchbxeaaqroabbahrobeliddq/Sample-Prefix.pch.dia

ProcessPCH /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-amobhiaucivvefalfykyatzwgyie/Sample-Prefix.pch.pch Sample/Sample-Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /tmp/Sample/platforms/ios
    export LANG=en_US.US-ASCII
    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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch i386 -fmessage-length=129 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-generated-files.hmap -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-own-target-headers.hmap -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-all-target-headers.hmap -iquote /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-project-headers.hmap -I/private/tmp/Sample/platforms/ios/build/emulator/include -I/tmp/Sample/platforms/ios/internal -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/DerivedSources/i386 -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/DerivedSources -F/private/tmp/Sample/platforms/ios/build/emulator -F/tmp/Sample/platforms/ios/internal -F/tmp/Sample/platforms/ios/../../lib/iOS -F../../lib/iOS -MD -MT dependencies -MF /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-amobhiaucivvefalfykyatzwgyie/Sample-Prefix.pch.d -c /tmp/Sample/platforms/ios/Sample/Sample-Prefix.pch -o /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-amobhiaucivvefalfykyatzwgyie/Sample-Prefix.pch.pch --serialize-diagnostics /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-amobhiaucivvefalfykyatzwgyie/Sample-Prefix.pch.dia

CompileC build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386/main.o internal/main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /tmp/Sample/platforms/ios
    export LANG=en_US.US-ASCII
    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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=129 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-generated-files.hmap -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-own-target-headers.hmap -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-all-target-headers.hmap -iquote /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-project-headers.hmap -I/private/tmp/Sample/platforms/ios/build/emulator/include -I/tmp/Sample/platforms/ios/internal -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/DerivedSources/i386 -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/DerivedSources -F/private/tmp/Sample/platforms/ios/build/emulator -F/tmp/Sample/platforms/ios/internal -F/tmp/Sample/platforms/ios/../../lib/iOS -F../../lib/iOS -include /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-amobhiaucivvefalfykyatzwgyie/Sample-Prefix.pch -MMD -MT dependencies -MF /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386/main.d --serialize-diagnostics /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386/main.dia -c /tmp/Sample/platforms/ios/internal/main.m -o /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386/main.o

CompileC build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64/main.o internal/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /tmp/Sample/platforms/ios
    export LANG=en_US.US-ASCII
    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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=129 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-generated-files.hmap -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-own-target-headers.hmap -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-all-target-headers.hmap -iquote /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Sample-project-headers.hmap -I/private/tmp/Sample/platforms/ios/build/emulator/include -I/tmp/Sample/platforms/ios/internal -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/DerivedSources/x86_64 -I/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/DerivedSources -F/private/tmp/Sample/platforms/ios/build/emulator -F/tmp/Sample/platforms/ios/internal -F/tmp/Sample/platforms/ios/../../lib/iOS -F../../lib/iOS -include /private/tmp/Sample/platforms/ios/build/sharedpch/Sample-Prefix-bbhpchbxeaaqroabbahrobeliddq/Sample-Prefix.pch -MMD -MT dependencies -MF /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64/main.d --serialize-diagnostics /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64/main.dia -c /tmp/Sample/platforms/ios/internal/main.m -o /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64/main.o

Ld build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386/Sample normal i386
    cd /tmp/Sample/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /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.3.sdk -L/private/tmp/Sample/platforms/ios/build/emulator -F/private/tmp/Sample/platforms/ios/build/emulator -F/tmp/Sample/platforms/ios/internal -F/tmp/Sample/platforms/ios/../../lib/iOS -F../../lib/iOS -filelist /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386/Sample.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=8.0 -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -framework TKLiveSync -F/tmp/Sample/platforms/ios/internal/ -ObjC -sectcreate __DATA __TNSMetadata /private/tmp/Sample/platforms/ios/build/emulator/metadata-i386.bin -framework NativeScript -F/tmp/Sample/platforms/ios/internal -licucore -lz -lc++ -framework Foundation -framework UIKit -framework CoreGraphics -framework MobileCoreServices -framework Security -fobjc-arc -fobjc-link-runtime -framework TNSWidgets -Xlinker -dependency_info -Xlinker /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386/Sample_dependency_info.dat -o /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386/Sample

Ld build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64/Sample normal x86_64
    cd /tmp/Sample/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -L/private/tmp/Sample/platforms/ios/build/emulator -F/private/tmp/Sample/platforms/ios/build/emulator -F/tmp/Sample/platforms/ios/internal -F/tmp/Sample/platforms/ios/../../lib/iOS -F../../lib/iOS -filelist /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64/Sample.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=8.0 -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -framework TKLiveSync -F/tmp/Sample/platforms/ios/internal/ -ObjC -sectcreate __DATA __TNSMetadata /private/tmp/Sample/platforms/ios/build/emulator/metadata-x86_64.bin -framework NativeScript -F/tmp/Sample/platforms/ios/internal -licucore -lz -lc++ -framework Foundation -framework UIKit -framework CoreGraphics -framework MobileCoreServices -framework Security -fobjc-arc -fobjc-link-runtime -framework TNSWidgets -Xlinker -dependency_info -Xlinker /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64/Sample_dependency_info.dat -o /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64/Sample

CreateUniversalBinary /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/Sample normal i386\ x86_64
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo -create /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/i386/Sample /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Objects-normal/x86_64/Sample -output /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/Sample

PhaseScriptExecution NativeScript\ PreLink build/Sample.build/Debug-iphonesimulator/Sample.build/Script-CD62955B1BB2651D00AE3A93.sh
    cd /tmp/Sample/platforms/ios
    /bin/sh -c /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Script-CD62955B1BB2651D00AE3A93.sh

CpResource Sample/app /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/app
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /tmp/Sample/platforms/ios/Sample/app /private/tmp/Sample/platforms/ios/build/emulator/Sample.app

CpResource Sample/Resources/build.xcconfig /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/build.xcconfig
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /tmp/Sample/platforms/ios/Sample/Resources/build.xcconfig /private/tmp/Sample/platforms/ios/build/emulator/Sample.app

CopyStringsFile /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/en.lproj/InfoPlist.strings Sample/en.lproj/InfoPlist.strings
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    builtin-copyStrings --validate --inputencoding utf-8 --outputencoding binary --outdir /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/en.lproj -- Sample/en.lproj/InfoPlist.strings

CompileStoryboard Sample/Resources/LaunchScreen.storyboard
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/..
    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module Sample --output-partial-info-plist /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.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 /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build /tmp/Sample/platforms/ios/Sample/Resources/LaunchScreen.storyboard

CompileAssetCatalog /private/tmp/Sample/platforms/ios/build/emulator/Sample.app Sample/Resources/Assets.xcassets
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/assetcatalog_dependencies --output-partial-info-plist /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/assetcatalog_generated_info.plist --app-icon AppIcon --launch-image LaunchImage --compress-pngs --enable-on-demand-resources YES --target-device iphone --target-device ipad --minimum-deployment-target 8.0 --platform iphonesimulator --compile /private/tmp/Sample/platforms/ios/build/emulator/Sample.app /tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets
/* com.apple.actool.document.notices */
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./AppIcon.appiconset/[iphone][57x57][][][1x]: notice: 57x57 app icons only apply to iPhone apps targeting releases of iOS prior to 7.0
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./AppIcon.appiconset/[iphone][57x57][][][2x]: notice: 57x57@2x app icons only apply to iPhone apps targeting releases of iOS prior to 7.0
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./AppIcon.appiconset/[ipad][50x50][][][1x]: notice: 50x50 iPad spotlight icons only apply to iPad apps targeting releases of iOS prior to 7.0
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./AppIcon.appiconset/[ipad][50x50][][][2x]: notice: 50x50 iPad spotlight icons only apply to iPad apps targeting releases of iOS prior to 7.0
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./AppIcon.appiconset/[ipad][72x72][][][1x]: notice: 72x72 app icons only apply to iPad apps targeting releases of iOS prior to 7.0
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./AppIcon.appiconset/[ipad][72x72][][][2x]: notice: 72x72@2x app icons only apply to iPad apps targeting releases of iOS prior to 7.0
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][736h][3x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][736h][3x][landscape][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][667h][2x][portrait][full-screen][8.0]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][][1x][portrait][full-screen][]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][][2x][portrait][full-screen][]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./LaunchImage.launchimage/[iphone][retina4][2x][portrait][full-screen][]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./LaunchImage.launchimage/[ipad][][1x][portrait][full-screen][]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./LaunchImage.launchimage/[ipad][][1x][landscape][full-screen][]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./LaunchImage.launchimage/[ipad][][2x][portrait][full-screen][]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/tmp/Sample/platforms/ios/Sample/Resources/Assets.xcassets:./LaunchImage.launchimage/[ipad][][2x][landscape][full-screen][]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/* com.apple.actool.compilation-results */
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon29x29.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon29x29@2x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon29x29@3x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon40x40@2x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon40x40@3x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon57x57.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon57x57@2x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon60x60@2x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon60x60@3x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon29x29~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon29x29@2x~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon40x40~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon40x40@2x~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon50x50~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon50x50@2x~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon72x72~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon72x72@2x~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon76x76~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon76x76@2x~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/AppIcon83.5x83.5@2x~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-800-Portrait-736h@3x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-800-Landscape-736h@3x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-800-667h@2x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-700@2x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-700-568h@2x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-700-Portrait~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-700-Landscape~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-700-Portrait@2x~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-700-Landscape@2x~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage@2x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-568h@2x.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-Portrait~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-Landscape~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-Portrait@2x~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/LaunchImage-Landscape@2x~ipad.png
/tmp/Sample/platforms/ios/build/emulator/Sample.app/Assets.car
/tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/assetcatalog_generated_info.plist

ProcessInfoPlistFile /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/Info.plist Sample/Sample-Info.plist
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    builtin-infoPlistUtility /tmp/Sample/platforms/ios/Sample/Sample-Info.plist -genpkginfo /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -additionalcontentfile /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/LaunchScreen-SBPartialInfo.plist -additionalcontentfile /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/assetcatalog_generated_info.plist -o /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/Info.plist

GenerateDSYMFile /private/tmp/Sample/platforms/ios/build/emulator/Sample.app.dSYM /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/Sample
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/Sample -o /private/tmp/Sample/platforms/ios/build/emulator/Sample.app.dSYM

LinkStoryboards
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/..
    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module Sample --target-device iphone --target-device ipad --minimum-deployment-target 8.0 --output-format human-readable-text --link /private/tmp/Sample/platforms/ios/build/emulator/Sample.app /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/LaunchScreen.storyboardc

PBXCp /tmp/Sample/lib/iOS/TNSWidgets.framework /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/Frameworks/TNSWidgets.framework
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -resolve-src-symlinks /tmp/Sample/lib/iOS/TNSWidgets.framework /private/tmp/Sample/platforms/ios/build/emulator/Sample.app/Frameworks

PhaseScriptExecution NativeScript\ PostBuild build/Sample.build/Debug-iphonesimulator/Sample.build/Script-CD3EAD351B05FF060042DBFC.sh
    cd /tmp/Sample/platforms/ios
    /bin/sh -c /tmp/Sample/platforms/ios/build/Sample.build/Debug-iphonesimulator/Sample.build/Script-CD3EAD351B05FF060042DBFC.sh
/tmp/Sample/platforms/ios/internal /private/tmp/Sample/platforms/ios
Stripping frameworks
Stripped ./NativeScript.framework/NativeScript of architectures: armv7 arm64
Stripped ./TKLiveSync.framework/TKLiveSync of architectures: armv7 arm64
Stripped ./TNSWidgets.framework/TNSWidgets of architectures: armv7 arm64
/private/tmp/Sample/platforms/ios

Touch /private/tmp/Sample/platforms/ios/build/emulator/Sample.app
    cd /tmp/Sample/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/local/opt/android-sdk/platform-tools:/usr/local/opt/android-sdk/tools"
    /usr/bin/touch -c /private/tmp/Sample/platforms/ios/build/emulator/Sample.app

** BUILD SUCCEEDED **

Project successfully built
Successfully deployed on device with identifier '00A4117D-42D7-4D34-A741-4D4FAA4286CD'.
Sep 14 22:19:50 MacBook-Pro-de-Ignacio Sample[19248]: 1   0x1041f5c67 -[TNSRuntime executeModule:]
Sep 14 22:19:50 MacBook-Pro-de-Ignacio Sample[19248]: 2   0x103e29702 main
Sep 14 22:19:50 MacBook-Pro-de-Ignacio Sample[19248]: 3   0x10763892d start
Sep 14 22:19:50 MacBook-Pro-de-Ignacio Sample[19248]: file:///app/tns_modules/zone.js/dist/zone-node.js:897:21: JS ERROR Error: Could not find module 'timers'. Computed path '/Users/ignacio/Library/Developer/CoreSimulator/Devices/00A4117D-42D7-4D34-A741-4D4FAA4286CD/data/Containers/Bundle/Application/17512DF1-BA54-4039-B764-C2E4E082FEDC/Sample.app/app/tns_modules/timers'.
Sep 14 22:19:50 MacBook-Pro-de-Ignacio com.apple.CoreSimulator.SimDevice.00A4117D-42D7-4D34-A741-4D4FAA4286CD.launchd_sim[18838] (UIKitApplication:org.nativescript.Sample[0x9c8b][19248]): Service exited due to signal: Segmentation fault: 11
ignaciolarranaga commented 8 years ago

Guys, found the problem, it is related to zone.js recent updates, particularly right now 0.6.23.

Remove the allow greater versions from the sample project created and will work, i.e, instead of: "zone.js": "^0.6.12" move to: "zone.js": "0.6.12"

jasssonpet commented 8 years ago

Moved to: https://github.com/NativeScript/nativescript-angular/issues/444