Setting Up iPhone Unity

Hello,

Has anyone received this failed error after setting up Unity and iPhone:

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv6, VALID_ARCHS=i386 ppc ppc64 ppc7400 ppc970 x86_64).

Im trying to set up my iPhone and Unity to work together but I cant get past this issue or error?

Im going through the iPhone stuff from the developer site (apple) with the videos and Xcode and also using the iPhone tutorial below:

Im going to try and do everything over again I dont think I missed any steps but am stuck at this point… Oh I get this when I try and Build and Run from the tutorial above.

Im sure I got all of the certificates and everything created Im just wondering if something is missing from the tutorial?

Any help would greatly be appreciated :smile:

In Xcode or After Build Run These are the files that are RED with a Yellow Toolbox next to them):

SystemConfiguration.framework
CoreLocaion.framework
MediaPlayer.framework
UIKit.framework
OpenGLES.framework
QuartzCore.framework
libiconv.2.dylib
CFNetwork.framework
AudioToolbox.framework

Any idea what I should do to fix these red toolboxes? Im totally lost now :wink:

If you’re trying to build for the simulator, don’t, because it won’t work.

–Eric

I don’t know for sure but this thread about problems with 3.1.4 may help out, it looks like some of the errors are similar:

http://forum.unity3d.com/viewtopic.php?p=206697

And fyi, one thing that made my life a lot easier was finding this custom Google Unity search engine.

http://www.google.com/cse?cx=002470491425767499270%3Aiugs1ezlsfq&ie=UTF-8&q=3.1.4&sa=Search

I use it all the time.

I had this same problem.

Make sure when you build and xcode pops up where it shows an error to select (in the upper left hand corner) from the drop down a ‘release’ option and not a ‘simulator’ option.

Once you change this setting, you can just ‘append’ from unity and it should remember and prevent you from having to change it every time you build to device.

L

Hello,

Thank You, Thank You, Thank You :slight_smile:

I seriously appreciate the help :smile: This forum is an awesome outlet when you get stuck and the members are amazing.

What can I say you guys rock thank you very much :slight_smile:

Michael

If it can help anyone : I kept getting that error, even though “Device” was selected.

I had to go in the Project Settings (in XCode) and change the “Base SDK” to something that wasn’t “missing” (in my case, it always defaults to the 2.0 SDK, which I don’t have)

After setting the Base SDK, I didn’t see this error again.