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 rsud · Jul 23, 2012 at 05:32 AM · xcodecompile

iOS: Upgraded OS x and Unity and Xcode and now game won't compile in Xcode?

I was on snow leopard, Unity 3.4, and Xcode 4.0 and developing for iPhone.

My game ran fine on this release of Unity and the game would compile in Xcode and run on my iPod Touch.

I did a mass upgrade to Lion, Unity 3.5.4, and Xcode 4.3.3.

My game runs fine in the updated Unity. But when I compile to Xcode I am getting a lot of errors (compiler stops counting at 201).

I've set iOS 5.1 every where I can find (in Unity and in Xcode) but I must be missing some setting.

Below is a sample of the errors I am seeing. Can anyone help and suggest what setting I might be missing or what action I need to take to solve these compile errors?

Thank you for any help.

ld: warning: ignoring file /Users/untitled/Unity3/WhiteCorpuscleWars/WCW/Libraries/libiPhone-lib.a, missing required architecture i386 in file Undefined symbols for architecture i386: "UnityUse32bitDisplayBuffer()", referenced from: CreateWindowSurface(EAGLView*, unsigned int, unsigned int, unsigned int, bool, EAGLSurfaceDesc*) in AppController.o OpenEAGL_UnityCallback(UIWindow*, int, int*, int*) in AppController.o AfterPresentSurfaceGLES(EAGLSurfaceDesc*) in iPhone_GlesSupport.o "UnityGetTargetResolution()", referenced from: CreateSurface(EAGLView*, EAGLSurfaceDesc*) in AppController.o "UnitySetInputScaleFactor(float)", referenced from: CreateSurface(EAGLView*, EAGLSurfaceDesc*) in AppController.o "UnityFinishRendering()", referenced from: DestroySurface(EAGLSurfaceDesc*) in AppController.o HandleOrientationRequest() in AppController.o -[AppController Repaint] in AppController.o -[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o "UnityGetShowActivityIndicatorOnLoading()", referenced from: CreateActivityIndicator(UIView*) in AppController.o "UnityIsRenderingAPISupported(int)", referenced from: OpenEAGL_UnityCallback(UIWindow*, int, int*, int*) in AppController.o "UnityGetDesiredMSAASampleCount(int)", referenced from: OpenEAGL_UnityCallback(UIWindow*, int, int*, int*) in AppController.o AfterPresentSurfaceGLES(EAGLSurfaceDesc*) in iPhone_GlesSupport.o "UnityRequestedScreenOrientation()", referenced from: ShouldHandleRotation(ScreenOrientation*) in AppController.o -[UnityViewController shouldAutorotateToInterfaceOrientation:] in AppController.o

Comment
Add comment · Show 8
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 Bovine · Jul 23, 2012 at 08:15 PM 0
Share

When you build do you replace everything?

Hmm I have 3.5.3f3 and my Unity reckons to be up to date.

avatar image rsud · Jul 24, 2012 at 06:52 PM 0
Share

Yes I did. I deleted the Xcode build directory from Unity and redid the 'Build & Run' and got the same errors.

Any additional info I should provide that might help bring the issue out?

avatar image rsud · Jul 25, 2012 at 04:24 AM 0
Share

bump bump

avatar image Bovine · Jul 25, 2012 at 07:13 AM 0
Share

Don't bump questions. People sleep.

Please confirm your version of Unity.

avatar image rsud · Jul 25, 2012 at 02:06 PM 0
Share

I have downloaded the latest Unity as part of my upgrade and it is 3.5.4f1. I also moved to Lion and Xcode 4.3.3.

Sorry for bumping but I am tense that my game no longer compiles in Xcode! :-) & :-(

Show more comments

1 Reply

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

Answer by rsud · Jul 26, 2012 at 03:03 PM

The problem here was with the simulator.

Once I got my iPhone 4s provisioned (an adventure all on its own!) I was able to compile my game and run it on the iPhone.

So dunno why the simulator would not work but my problem is resolved now that I have my iPhone connected to Xcode.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Compiling in Xcode? 0 Answers

A node in a childnode? 1 Answer

XCode errors 1 Answer

Unity importing Maya mesh incorrectly 1 Answer

cookie light and mesh problems on compile to iOS 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