Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
2
Question by Bampf · Nov 27, 2009 at 03:46 AM · iphonebuild-errorxcode

Sometimes Unity iPhone build fails, then XCode launches the previously installed build. Can either be avoided?

When I build my app in Unity iPhone (1.5.1), it builds the XCode project, launches XCode (version 3.1.4). XCode compiles the app, sends it to the device, and runs it.

However, often the XCode build triggered by Unity fails outright with an error, something about there being no target selected. Two issues: 1) Instead of stopping, XCode goes ahead and runs the last build that I transferred to the device. If I'm not paying attention I might think that it's running the new build, not the old one. 2) When I click on Build & Go in XCode, the app builds with no errors, transfers to the device, and all is well.

I would like to avoid this phantom build error if possible. But it wouldn't be a big deal if XCode aborted instead of running the version of the app that's already installed on the device. So help with either of these issues would be appreciated.

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
3
Best Answer

Answer by equalsequals · Dec 04, 2009 at 10:31 PM

I had similar problems prior to 1.5.1, are you doing Build and Run or going through Build Settings?

I have found that my problems occurred when using Build and Run, so to get around that I go through Build Settings and then override everything in the folder (or create a new folder each time).

Hope that helps!

==

Comment
Add comment · Show 2 · 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 Bampf · Dec 06, 2009 at 04:18 AM 0
Share

You may be right- 1.5.1 seems to have fixed it in my tests today! I am just giving it a couple more days to be sure.

avatar image Bampf · Dec 08, 2009 at 03:05 AM 0
Share

No sign of the problem since I switched to 1.5.1. Build & Run works from Unity iPhone without any special handholding from me. Thanks!

avatar image
0

Answer by shykat_games · Dec 07, 2009 at 01:10 AM

I have found this to be the case every time. I tend to just clean my build from within Xcode before telling Unity iPhone to build. This seems to work all the time, though each time I do this, I get an error saying it doesn't have architecture build info or something for arm6, and yes I am building against the device ;) I just hit build form within Xcode at that point. More steps then I would like, but also something that I know that works.

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

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

No one has followed this question yet.

Related Questions

iPhone Build Errors 5 Answers

CFBundleExecutable of (null) error on Xcode build 2 Answers

xCode Errors 1 Answer

Building for iPad 1 Answer

XCode error 1 Answer


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