wwwalkerrun / nativescript-ngx-magic

Magically drop a NativeScript app into your Angular web app and reuse all your code.
MIT License
48 stars 8 forks source link

Unable to compile and view on iOS #17

Open savageqm opened 7 years ago

savageqm commented 7 years ago

I tried getting my project compiling with nativescript-ngx-magic but I kept getting segmentation fault error. I created a new angular-cli project from scratch and still get the same error. Here is the output on the console

Searching for devices... Executing before-liveSync hook from /Users/vladic17/development/angular-cli-navtivescript/angualr-cli-native/nativescript/hooks/before-liveSync/nativescript-angular-sync.js Skipping prepare. Successfully transferred all files. Refreshing application... Successfully synced application org.nativescript.nativescript on device 98CB30AB-CC00-4747-B18F-237D04AA86D9. Executing before-watch hook from /Users/vladic17/development/angular-cli-navtivescript/angualr-cli-native/nativescript/hooks/before-watch/nativescript-dev-typescript.js Found peer TypeScript 2.1.6 objc[60614]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x124161cc0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x123f786f0). One of the two will be used. Which one is undefined. 1 0x10f07925c -[TNSRuntime executeModule:referredBy:] 2 0x10ebd9ed0 main 3 0x1136c965d start 4 0x1 undefined:7:68: JS ERROR TypeError: undefined is not an object (evaluating 'b.prototype') Aug 26 13:52:02 Vladimirs-Air com.apple.CoreSimulator.SimDevice.98CB30AB-CC00-4747-B18F-237D04AA86D9.launchd_sim[59696] (UIKitApplication:org.nativescript.nativescript[0x5841][59719][60614]): Service exited due to Segmentation fault: 11 error TS5053: Option 'sourceMap' cannot be specified with option 'inlineSourceMap'.

any tip on how to resolve the issue?