Hi,
Just been working on my first iOS app, took a bit of time to work everything out, but seem to have a nice working project. However there are a few xcode warnings coming up that i’d like to fix or know more about. I’ve searched but not found any useful information on these.
I’m building on a new Mac Book Pro, Mountain Lion (OS X 10.8), fresh install of xcode 4.5.2 from the App store, using Unity Pro 3.5.7. My Project/xcode is using the iOS 6.0 SDK, targeted to iOS 4.3, armv7 (iPhone + iPad) and the project builds and runs fine on my iOS 5.1 iPad, I have also built the AngryBots demo for testing too.
The warnings i’m seeing are
Validate Project Settings - this happens for every project.
- Remove Obsolete Build Setting: This will remove the following obsolete build setting: PREBINDING
- Upgrade to latest Project Format - upgrades from 3.1 to 3.2 Xcode format.
Is it normal to get both of these? Currently I just go ahead and let xcode fix them.
Retina 4 Support
Missing “Default-568h@2x.png” launch Image
Now this is a real puzzler to me. I’ve set up all the splash screens in iOS player settings in Unity and the file itself is present in the Unity build, its also present in the ‘Unity-iPhone’ Targets Summary in xcode, and I can click and view the file in finder from xcode. Yet every project i’ve built has this warning. If I click the warning and let xcode try to fix the problem, it says it has, but the warning remains.
Any ideas why or what is causing this?
Semantic Issue
‘Empty parentheses inturpreted as a function declaration’ in RegisterMonoModules.cpp
Whenever I run or build the project I end up with 70 odd of these warnings. Doesn’t seem to affect the project, but would rather not have them. Again any ideas as to why these occur or how to prevent them? Xcode suggests setting the function to ‘= 0’ but can’t see that working ![]()
Edit:
Oh yeah one thing that bugs me, is it possible to get Unity to rename the xcode project from ‘Unity-iPhone’ to the name of my app/project? I’ve got a bunch of ‘Unity-iPhone’ projects in the xcode projects folder now, with no means to tell them apart.
Can i just rename the project xcode in the identity tab?
Also are there any good tutorials or guidelines to look at for building to iOS from Unity? Obviously i’ve read the Unity manuals, but they don’t really answer all my questions.
Cheers