首页 > 代码库 > Unity 4.6 bate 20 or 4.5.5 +vuforia3.0.9 发布到真机错误 解决

Unity 4.6 bate 20 or 4.5.5 +vuforia3.0.9 发布到真机错误 解决

 

 

 

错误图 +错误码

014-11-20 15:45:49.224 youzheng[6527:1035587] ################### enable 3
2014-11-20 15:45:49.433 youzheng[6527:1035587] iapcrazy=== isSupport 0

2014-11-20 15:45:49.761 youzheng[6527:1035587] -> registered mono modules 0x18a4e90
-> applicationDidFinishLaunching()
Mono path[0] = ‘/private/var/mobile/Containers/Bundle/Application/99F0FC2A-CFB0-4F20-9737-BA30D75A1ECE/youzheng.app/Data/Managed‘
Mono config path = ‘/private/var/mobile/Containers/Bundle/Application/99F0FC2A-CFB0-4F20-9737-BA30D75A1ECE/youzheng.app/Data/Managed‘
2014-11-20 15:45:50.300 youzheng[6527:1035587] iapcrazy=== 1.2.4
-> applicationDidBecomeActive()
(lldb)

解决办法,生成的xcode project中Info.plist文件加入如下两行:
<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationPortrait</string>

 

Unity 4.6 bate 20 or 4.5.5 +vuforia3.0.9 发布到真机错误 解决