iOS SDK Simulator

Hello,

When i try to build in the cloud my iOS game with the SDK Simulator, there is an error triggered during the build.

5700: [xcode] Check dependencies
5701: [xcode] No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s).

Looks like the architecture i386 needed by the SDK Simulator is not available …

Please tell me that there is a fix for this, I need to build a simulator version of the game to send to the facebook review team >-<

Hmmm, I haven’t come across this before. This seems like something you could do with the Xcode Project Manipulation API:

https://bitbucket.org/Unity-Technologies/xcodeapi

Here’s another forum thread discussing the iOS simulator:

Let us know how things proceed.

Cheers,
Patrick

What ?

Don’t think this error is related to this, but I may be wrong. I also tried xcode 5 on cloud build and it doesn’t work.

Is the Simulator SDK installed in Xcode tools of UCB ?

Can you direct message me a link to your project for investigation?

Thanks,
Patrick

PM sent yesterday !

Hey Patrick,

We’re running into the same problem. I tried to work around it using PostProcessBuildPlayer but no success. Feel free to send me an email at pim {at} get-wrecked.com. Here are my findings so far:

  • This issue occurs when you build using Unity Cloud Build with player settings to build for the iOS Simulator.
  • The issue does not occur when you build for device (not simulator), because it uses armv7 arm64, which the iOS simulator doesn’t.
  • Building the exact same project on machine (Mac OS X10.11) works fine, all the way through being able to fully use the project on your iOS simulator.

We need to use Unity Cloud Build with a simulator output because we are uploading the result to appetize.io so that our developers without iPhones can test their code on iOS.

Please send me an email so we can address this issue and create a fix. I’m working on a temp fix using PostProcessBuildPlayer but no success so far.

Thanks,
Pim

Also, I’ve tried doing it using the xcode manipulation API, but becuase the player is already built (and the file references and libraries set) you can’t just change it to build for the simulator after you exported the player. There are distinct differences between building for the simulator and for device AFAIK (and from trying it over the past few days)

Building for iOS simulator is not something we currently support. It’s been requested by several other developers so it’s something we are discussing but no immediate plans.

@dannyd So today, almost four years later, are there plans to support simulator builds on UCB?

Any updates on this? Building to the iOS Simulator on UCB doesn’t seem to be supported yet from my initial tests. Is this in the pipeline? Thank you!