Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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 $$anonymous$$e are tops 15 $$anonymous$$s (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.

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

Apple LLVM 9.0 Error, Unable to execute command: Killed:9 0 Answers

converting managed assemblies to c++ building to ios and unity crashes 1 Answer

iPhoneBundleIdentifier has not been set up correctly 1 Answer

Issue building in Xcode 10.1 0 Answers

iOS build error: use of undeclared identifier 'Unity' and 'UI' 8 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges