Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to start with webpack with release 2.4.1 (iOS / emulator) #47

Closed
ignaciolarranaga opened this issue Nov 20, 2016 · 1 comment
Closed

Comments

@ignaciolarranaga
Copy link
Contributor

Hi, I think there was a problem on the packaging that is preventing the plugin to start with webpack.

  • tns-core-modules: 2.4.0
  • tns-ios: 2.4.0

Specifically the problem is this one:

...
Successfully deployed on device with identifier '51CA4570-C725-4DAB-91E1-A47CBA8A18E3'.
objc[77354]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x118a0b998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x118830d38). One of the two will be used. Which one is undefined.
CONSOLE WARN file:///app/bundle.js:143025:15: Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl1" instead.
CONSOLE WARN file:///app/bundle.js:137723:15: Objective-C class name "Responder" is already in use - using "Responder1" instead.
CONSOLE WARN file:///app/bundle.js:137730:15: Objective-C class name "Window" is already in use - using "Window1" instead.
CONSOLE WARN file:///app/bundle.js:137762:15: Objective-C class name "NotificationObserver" is already in use - using "NotificationObserver1" instead.
CONSOLE WARN file:///app/bundle.js:163369:15: Objective-C class name "UIGestureRecognizerDelegateImpl" is already in use - using "UIGestureRecognizerDelegateImpl1" instead.
CONSOLE WARN file:///app/bundle.js:163381:15: Objective-C class name "UIGestureRecognizerImpl" is already in use - using "UIGestureRecognizerImpl1" instead.
CONSOLE WARN file:///app/bundle.js:163671:15: Objective-C class name "TouchGestureRecognizer" is already in use - using "TouchGestureRecognizer1" instead.
CONSOLE WARN file:///app/bundle.js:143838:15: Objective-C class name "AnimationDelegateImpl" is already in use - using "AnimationDelegateImpl1" instead.
CONSOLE WARN file:///app/bundle.js:150033:15: Objective-C class name "TapBarItemHandlerImpl" is already in use - using "TapBarItemHandlerImpl1" instead.
CONSOLE WARN file:///app/bundle.js:153683:15: Objective-C class name "UIViewControllerImpl" is already in use - using "UIViewControllerImpl1" instead.
CONSOLE WARN file:///app/bundle.js:133386:15: Objective-C class name "TransitionDelegate" is already in use - using "TransitionDelegate1" instead.
CONSOLE WARN file:///app/bundle.js:133425:15: Objective-C class name "UINavigationControllerAnimatedDelegate" is already in use - using "UINavigationControllerAnimatedDelegate1" instead.
CONSOLE WARN file:///app/bundle.js:133460:15: Objective-C class name "UINavigationControllerImpl" is already in use - using "UINavigationControllerImpl1" instead.
CONSOLE WARN file:///app/bundle.js:164731:15: The TypeScript constructor "TKListViewDataSourceImpl" will not be executed.
CONSOLE WARN file:///app/bundle.js:164873:15: The TypeScript constructor "ExtendedListViewCell" will not be executed.
1   0x10f9f4a6b NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
2   0x11017490e ffi_closure_unix64_inner
3   0x1101752c2 ffi_closure_unix64
4   0x10db4009b _CFXRegistrationPost
5   0x10db3fe02 ___CFXNotificationPost_block_invoke
6   0x10db02ea2 -[_CFXNotificationRegistrar find:object:observer:enumerator:]
7   0x10db01f3b _CFXNotificationPost
8   0x1104550ab -[NSNotificationCenter postNotificationName:object:userInfo:]
9   0x112050d06 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:]
10  0x112056de9 -[UIApplication _runWithMainScene:transitionContext:completion:]
11  0x112053f69 -[UIApplication workspaceDidEndTransaction:]
12  0x1146d0723 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
13  0x1146d059c -[FBSSerialQueue _performNext]
14  0x1146d0925 -[FBSSerialQueue _performNextFromRunLoopSource]
15  0x10db47311 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
16  0x10db2c59c __CFRunLoopDoSources0
17  0x10db2ba86 __CFRunLoopRun
18  0x10db2b494 CFRunLoopRunSpecific
19  0x1120527e6 -[UIApplication _run]
Nov 20 17:56:13 MacBook-Pro-de-Ignacio com.apple.CoreSimulator.SimDevice.51CA4570-C725-4DAB-91E1-A47CBA8A18E3.launchd_sim[71408] (UIKitApplication:com.gynto.client[0x916c][77354]): Service exited due to Segmentation fault: 11
20  0x112058964 UIApplicationMain
Nov 20 17:56:13 MacBook-Pro-de-Ignacio gyntoclient[77354]: 21  0x11017511d ffi_call_unix64
Nov 20 17:56:13 MacBook-Pro-de-Ignacio gyntoclient[77354]: 22  0x136305250
Nov 20 17:56:13 MacBook-Pro-de-Ignacio gyntoclient[77354]: file:///app/bundle.js:137951:76: JS ERROR Error: A Frame must be used to navigate to a Page.
Nov 20 17:56:13 MacBook-Pro-de-Ignacio SpringBoard[71425]: [KeyboardArbiter] HW kbd: Failed to set (null) as keyboard focus

If I downgrade to 2.3.1 with the PR I submitted it does work.

@ignaciolarranaga
Copy link
Contributor Author

The whole webpack implementation changed so this issue does not have more sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant