Instant crash when build for iOS on Windows

Just putting this out here in case anyone else has similar issues that they’ve traced?

I’ve been working on a backup of my project in Unity 5 beta for a while now and it’s going pretty smoothly aside from trying to build for iOS on my windows machine. I can build to Android fine but I get an instant crash with beta 14 to beta 18. My project is far too large to submit a bug report and I think it’s possibly some assets I have in the project as i can build to iOS with another simpler project.

So before I start going through my project, can anyone share anything they’ve come across that’s similar?

Cheers

Anyone? This is still happening. :frowning:

Whats the error message displayed, you not giving us much info to work on, hence no replies.

afaik you can’t build to iOS from Windows…?

I checked the logs and I have this:

It works just fine with a simple project. You need to build the Xcode project & transfer it to a Mac though.

Just to clarify, I hit build and Unity closes down, no error in the console.

Have you tried deleting the contents of cache and temp, then reopening the project in unity?

I also had a very similar problem when updating to b17-18 where an instant death occurred when building for ios. Another thing I did was went into /ProjectSettings and deleted all that I thought was non-important or easy to re-enter. (the only ones I believe I left were TagManager and InputManager).

It worked for me.

(ps. deleting only when Unity is closed of course)

OK guys, thanks for your help. I managed to find the issues. I had some iOS plugins for GameCenter and other iOS features in the project. I deleted all those and it’s now building fine. I’ve not added them back in to the project yet, so I’m not sure it’s a permanent issue or some issue to do with upgrading the project. Reimporting might fix it though.

What I did notice is that I had multiple files that should of been overwritten that didn’t and have a number after them.

eg:

someFile.dll
someFile 1.dll
someFile 2.dll

Not sure if this is a feature of Unity 5 or a bug but I’ve noticed it for quite a few of my files and it’s a hassle deleting the extra copies.