Building for OS4 with Unity 1.7

STEP 1:
In the info.plist add this:

<key>MinimumOSVersion</key>
<string>3.0</string>

STEP 2:
In the build target change Architectures to standard.

STEP 3:
Create an iPhone 4 icon (114 x 114) and add it to project.
Then in the info.plist file, add this:

<key>CFBundleIconFiles</key>
<array>
<string>Icon.png</string>
<string>Icon@2x.png</string>
</array>

STEP 4:

In the “AppController.mm” file

replace this:
static bool gDidResignActive = false;

with this:
bool gDidResignActive = false;

It will resolve the “_gDidResignActive” Build Error.

REF:
“_gDidResignActive” Build Error with OF 2.5.1 and Unity 3 (beta) and iOS 4.0.1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s