Log in or register to post comments

Unity5.0.1.p2 - iOS8.3 - Xcode6.3.1 - Vuforia 4.0.105 - App Release Build Crash - IPA

April 28, 2015 - 3:53am #1

Hi Everyone,

 

My app is crashing whenever I do a realease build to an IPA. Currently im using: 

Unity5.0.1.p2

Xcode6.3.1 - iOS 8.3

Vuforia 4.0.105

 

The project seems to run fine on the debug mode on xcode, but this happens when i try to run the app on the device after creating the IPA, this is what i got from logs on the device:

 

Apr 28 11:28:52 iPhone[256] <Warning>: *** Assertion failure in -[VuforiaNativeRendererController createRootViewControllerForOrientation:], iOS/V1/Classes/UI/UnityAppController+ViewHandling.mm:54
Apr 28 11:28:52 iPhone[256] <Warning>: Uncaught exception: NSInternalInconsistencyException: Bad UIInterfaceOrientation provided
(
0   CoreFoundation                      0x00000001838ba54c <redacted> + 160
1   libobjc.A.dylib                     0x00000001948900e4 objc_exception_throw + 60
2   CoreFoundation                      0x00000001838ba3f0 <redacted> + 0
3   Foundation                          0x0000000184765c34 <redacted> + 112
4   app_name                              0x00000001000f19c0 app_name + 104896
5   app_name                              0x00000001000f24b8 app_name + 107704
6   app_name                              0x00000001000e2614 app_name + 42516
7   app_name                              0x00000001000e25b4 app_name + 42420
8   libdispatch.dylib                   0x0000000194ee1994 <redacted> + 24
9   libdispatch.dylib                   0x0000000194ee1954 <redacted> + 16
10  libdispatch.dylib                   0x0000000194ee620c _dispatch_main_queue_callback_4CF + 1608
11  CoreFoundation                      0x00000001838722ec <redacted> + 12
12  CoreFoundation                      0x0000000183870394 <redacted> + 1492
13  CoreFoundation                      0x000000018379d1f4 CFRunLoopRunSpecific + 396
14  GraphicsServices                    0x000000018cbbf6fc GSEventRunModal + 168
15  UIKit                               0x000000018812e10c UIApplicationMain + 1488
16  app_name                              0x00000001000dc8a4 app_name + 18596
17  libdyld.dylib                       0x0000000194f0ea08 <redacted> + 4
)
Apr 28 11:28:52 iPhone[256] <Error>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Bad UIInterfaceOrientation provided'
*** First throw call stack:
(0x1838ba530 0x1948900e4 0x1838ba3f0 0x184765c34 0x1000f19c0 0x1000f24b8 0x1000e2614 0x1000e25b4 0x194ee1994 0x194ee1954 0x194ee620c 0x1838722ec 0x183870394 0x18379d1f4 0x18cbbf6fc 0x18812e10c 0x1000dc8a4 0x194f0ea08)
Apr 28 11:28:52 iPhone ReportCrash[259] <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
 
 
Does anyone have the same or a similar problem?
 
Can anyone help me to solve this? even if i have to manually fix some code?
 
 
Best regards.
 

Unity5.0.1.p2 - iOS8.3 - Xcode6.3.1 - Vuforia 4.0.105 - App Rele

April 28, 2015 - 11:49am #2

Have you tried one of these ?

 

1. In your Unity project:

  • Select the QCARWrapper.bundle in the Unity Project view (located under Assets > Plugins ), so that its settings are shown in the Unity Inspector
  • Change the settings of QCARWrapper.bundle in the Unity inspector from "Any Platform" to "Standalone + Editor".

​OR:

2. In the Xcode project generated by Unity:

  • Go to Build Phases > Copy Bundle Resources
  • Remove the QCARWrapper.bundle file from the list
  • Rebuild
Log in or register to post comments