iOS Build fail

I’ve completed my project, and just when I thought I’m ready for publishing it to the App Store, I get this build error:

“Error building Player: Couldn’t build player because of unsupported data on target platform.”

I keep getting this error telling me that something is unsupported. But what?

I’ve tried so much. I give up. I need somebody’s help.

Is the provisioning profile setup correctly and installed on the device?

How do you set that up and install on your device? I have registered my device with my developer account, but I didn’t know there was more to it. Please reply. :smile:

Btw, I am still in the Unity build stage. I get this error when trying to build in Unity.

There is a LOT more to it than that. You need the proper certificates, provisioning profiles, an App ID, and to do an Xcode build for distribution (not the same as regular build).

I suggest you read this:

https://developer.apple.com/ios/manage/distribution/index.action

The Xcode stuff is out of date, so when you get to that part go here instead:

http://www.weston-fl.com/blog/?p=2442

Make sure you don’t skip step 3.

Got any clue on what could be wrong?

OK, thanks, but the error is happening in Unity build.

You’re using a feature that isn’t supported on the iOS?

Yeah, but I can’t find out what feature isn’t supported in my game.

Is there any iOS unsupported feature list?

See here:

http://unity3d.com/unity/licenses.html

Terrain isn’t supported unless you’re using Unity 3.4 or higher.

This is confusing. I am not using any of the features that are unchecked. :confused: