- Home /
App crashes as soon as splash screen is displayed(even just camera).
As mentioned above the app is crashing as soon as the splash screen is displayed. Its a new Mac,OS Maverick, Latest Xcode and Unity 4.5.5 if anyone needed the specs. The xcode is also not creating the dsym file at the end as it used to do in the previous versions. Please help !!
Prashant
Answer by sumit9236 · Oct 21, 2014 at 12:26 PM
It is a problem of unity 4.5.5 and xocde.You can easily resolve this issue through following step- 1.Open your iOS project on Xcode. 2.Go Info.plist file and open as source code in Xcode 3.Add these lines UIInterfaceOrientation UIInterfaceOrientationLandscapeLeft Before - UISupportedInterfaceOrientations UIInterfaceOrientationPortrait
Thanks for the reply. But I don't now where to add the above lines. When I right click and open as source code this is what I get. Can you tell me where to add the above lines ?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NA$$anonymous$$E}</string>
<key>CFBundleIdentifier</key>
<string>com.unity3d.${PRODUCT_NA$$anonymous$$E:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>