Can’t find /Users/Documents/UNITY_IPHONE/Unity Player/Default-Portrait.png
Command /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng failed with exit code 1
I’m using Unity iPhone 1.7 and have SDK 3.2 installed. The app builds fine for the iPhone. Can anyone tell me where to get Default-Portrait.png from? Or what the error really means?
the file is present in the project automatically if you built it right.
if its missing you likely didn’t set the right target in the player settings in unity
I have Default Screen Orientation = Landscape Right
I provided an iPad Landscape Splash Screen but not an iPad Portrait Splash Screen.
I tried providing an iPad Portrait Splash Screen, and now the compilation in Xcode worked! Even though I specified the Default Screen Orientation = Landscape Right, it still wanted a portrait splash screen too.
You can actually delete the portrait reference in XCode to save a little space. I went through all this in my first iPhone->iPad conversion, summarized in this blog:
Not in my experience - I have two portrait-only apps on the App Store with just the portrait splash and one landscape-only app with just the landscape splash (and one portrait+landscape app with both splashes). You just need the splashes corresponding to the supported orientations.