• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
4
Question by anska · Sep 17, 2015 at 09:15 AM · iosbuild-errorxcodehealth

Unity iOS - Wont compile in Xcode

For the past two days I have been trying to figure out how to run my app built in Unity - on my iPhone through XCode. I do have a developers license, but however - Xcode doesn't seem to manage to build my application properly. What I mean by that is that it gets stuck on 'Compiling 137 of 190'. I have also looked at numerous tutorials etc on how to build from Unity to Xcode - and I don't seem to discover any misconceptions of mine.

While building I get many errors (yellow exclamation-mark) telling me that there's lots of unused variables etc, but I am pretty sure that's not the case. I have Xcode 7.0 and Unity 5.2.0. I don't know if this is relevant or not, but I can mention that my Macbook is from the mid 2010, so I don't have the best of RAM and specs, but I doubt this makes me unable to compile Xcode. Especially if it is rather small apps?

I have also set up a provisioning profile, a certificate and all that, so that's pretty much done. Here is a picture of the Log I have from Xcode: alt text

Any help would be much appreciated!

Btw: I have compiled the code in Unity (C#), and I know there is no errors in the code. I don't have any Unity Pro subscription, may that be the case? And to publish apps without a watermark, can I subscribe to regular Unity Pro, or do I need the Unity Pro iOS?

Sorry for all these questions, I am just very overwhelmed by all this confusion with both the Xcode aspect linked with to Unity, and all these settings and certificates etc.

img.png (117.3 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by ihab_b · Sep 21, 2015 at 12:52 PM

I have the same problem.. with even empty scene without any script.

Unity 4 was wonderful after updating to 5 its the worst think i did...

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Mark-Sweeney · Oct 23, 2015 at 07:33 PM

I have the same problem on two different macs. They get so far, then Xcode appears to get stuck. On my older mac mini, it's 142 of 202, on my wife's iMac it's 174 or 202 source files.

I let it keep going. It took 2 1/2 hours to finish compiling on my 5 year old mac mini server, and 1 hour 40 minutes on a brand new iMac.

IL2CPP builds take an insanely long time to compile in Xcode 7.

If I do Mono2X scripting backend, it takes 3-4 minutes to compile, install and start running.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Statement · Oct 24, 2015 at 12:22 AM 0
Share

I've also noticed pretty long build times. $$anonymous$$akes incremental bugfix verification a pain. Though mine are tops 15 mins (IL2CPP). A tip I recently got was to turn off dsym generation but I haven't got around trying it out yet.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

32 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Xcode 7.0 build error 1 Answer

"Module 'GoogleMobileAds' not found." 1 Answer

Can't build with simulator SDK selected! 2 Answers

Signal SIGABRT in XCODE. How to solve it ? 0 Answers

What does "ld: 2 duplicate symbols for architecture arm64" mean? 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges