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
0
Question by BogdanDude · Nov 21, 2009 at 10:45 AM · erroriphonexcode

iPhone OS 3.1.2 + Xcode 3.1.4 + Unity iPhone 1.5.1 Build problems ?

I've been having problems building my project with Xcode 3.1.4, for target Device 3.1.2|Release. This happened both with Unity 1.5.0 and 1.5.1

Here's the error: ldr 12-bit displacement out of range (5976 max +/-4096) in _AudioQueueAddPropertyListener$stub in _AudioQueueAddPropertyListener$stub

This also happens with OS target 3.1

If I choose OS target 3.0, and Code signing for iPhone Developer, it works just fine. If I choose OS target 3.0, but choose Code signing for iPhone Distribution, the game builds, shows the splash screen, and then crashes with an error like: 'Error launching remote program: failed to get the task for process 1702' (the process number is different each time it runs).

I haven't done any changes in X-code to the project, I left it as Unity puts it out. Any advice on this would be much appreciated.

Also, if you have any experience on which OS version would be best for submitting the game to the AppStore, please share (2.2.1/3.0/3.1/3.1.2)

Thank you!

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

4 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by ReJ · Dec 02, 2009 at 10:40 AM

Select 2.2.1 as a build target in XCode.

Generally you want to avoid compiling for latest OS anyway, as it shrinks your customer base - only those who have latest OS will be able to install your application.

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 nvsp · Nov 21, 2009 at 01:16 PM

This is a known bug in XCode. You have to use iPhone OS 3.0 until Apple fixes it...

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 BogdanDude · Nov 21, 2009 at 01:22 PM 0
Share

Are you sure? Some people said their Unity game ran smoother on 3.1, when it first launched... so I guess they were able to build it just fine.

avatar image nvsp · Nov 23, 2009 at 09:23 PM 0
Share

Well, I get the same error you do, and this is information I found on the unity forums while I was googling the error message...

avatar image
0

Answer by cit · Oct 06, 2010 at 06:22 AM

try to set GCC_THUMB_SUPPORT = NO

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 Mortennobel · Mar 03, 2011 at 09:14 PM

The problem still happens in Unity 3.3 / XCode 3.2.5 / iOS 4.2 :-(

To solve it, set the 'target iOS version' to 3.0 in the player settings in Unity. (thanks to Denis Simuntis from Unity for providing this answer)

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

Xcode error dyld: symbol not found: _glbeginquery 0 Answers

Unity to Xcode Problem 1 Answer

Problem getting unity game trough xcode to device. 0 Answers

xcode build fail - Mach-o linker error 3 Answers

Beginner user - nothing will compile in Xcode 2 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