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 zapalki · Jun 27, 2010 at 01:00 PM · iphonelibraryframeworkunityiphone

Problem with linking internal xCode frameworks.

Hi guys, I am a newbie Unity3d for iPhone. I have tried to run any example from http://unity3d.com/support/resources/example-projects/iphone-examples or just empty project from Unity3d-iPhone but it throw always this same errors.

Environment:

Mac OS X: 10.6.4

xCode: 3.2.3 (64 bit)

Unity3d: 1.7.0f1 (38208)

Unity3d player configuration:

  • iPhone Bundle Identifier: com.unity3d.maze
  • iPhone Sdk Version: Simulator 3.2

I do not have a certificate as an iPhone developer, but I have created a iPhone Developer key (this same trick works on my friend's computer - virtual mac).

Errors:

Whole log with errors: http://pastebin.com/ezrHktcf

Undefined symbols:
  ".objc_class_name_UIDevice", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIDevice in libiPhone-lib.a(iPhoneInputImpl.o)
      literal-pointer@__OBJC@__cls_refs@UIDevice in libiPhone-lib.a(iPhoneSettings.o)
  ".objc_class_name_NSAutoreleasePool", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSAutoreleasePool in libiPhone-lib.a(FileUtilities.o)
  ".objc_class_name_UIColor", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIColor in libiPhone-lib.a(iPhoneUtils.o)
      literal-pointer@__OBJC@__cls_refs@UIColor in libiPhone-lib.a(URLUtility.o)
      literal-pointer@__OBJC@__cls_refs@UIColor in libiPhone-lib.a(iPhoneVideo.o)
  ".objc_class_name_UITextView", referenced from:
      literal-pointer@__OBJC@__cls_refs@UITextView in libiPhone-lib.a(iPhoneInputImpl.o)
  ".objc_class_name_UIButton", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIButton in libiPhone-lib.a(URLUtility.o)
  ".objc_class_name_UIToolbar", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIToolbar in libiPhone-lib.a(iPhoneInputImpl.o)
  ".objc_class_name_NSBundle", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSBundle in libiPhone-lib.a(iPhoneInputImpl.o)
      literal-pointer@__OBJC@__cls_refs@NSBundle in libiPhone-lib.a(FileUtilities.o)
      literal-pointer@__OBJC@__cls_refs@NSBundle in libiPhone-lib.a(iPhoneVideo.o)
  ".objc_class_name_NSString", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSString in libiPhone-lib.a(iPhoneInputImpl.o)
      literal-pointer@__OBJC@__cls_refs@NSString in libiPhone-lib.a(PlayerPrefs.o)
      literal-pointer@__OBJC@__cls_refs@NSString in libiPhone-lib.a(URLUtility.o)
      literal-pointer@__OBJC@__cls_refs@NSString in libiPhone-lib.a(iPhoneWWW.o)
      literal-pointer@__OBJC@__cls_refs@NSString in libiPhone-lib.a(iPhoneVideo.o)
      literal-pointer@__OBJC@__cls_refs@NSString in libiPhone-lib.a(NSStringConvert.o)
  ".objc_class_name_UIFont", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIFont in libiPhone-lib.a(iPhoneInputImpl.o)
  ".objc_class_name_UIWebView", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIWebView in libiPhone-lib.a(URLUtility.o)
  ".objc_class_name_UIApplication", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIApplication in libiPhone-lib.a(iPhoneSettings.o)
      literal-pointer@__OBJC@__cls_refs@UIApplication in libiPhone-lib.a(URLUtility.o)
      literal-pointer@__OBJC@__cls_refs@UIApplication in libiPhone-lib.a(iPhoneVideo.o)
  ".objc_class_name_UIView", referenced from:
      .objc_class_name_CancelMovieView in libiPhone-lib.a(iPhoneVideo.o)
  ".objc_class_name_NSMutableURLRequest", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSMutableURLRequest in libiPhone-lib.a(iPhoneWWW.o)
  ".objc_class_name_MPMoviePlayerController", referenced from:
      literal-pointer@__OBJC@__cls_refs@MPMoviePlayerController in libiPhone-lib.a(iPhoneVideo.o)
  ".objc_class_name_NSArray", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSArray in libiPhone-lib.a(iPhoneInputImpl.o)
  ".objc_class_name_NSURLConnection", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSURLConnection in libiPhone-lib.a(iPhoneWWW.o)
  ".objc_class_name_UIBarButtonItem", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIBarButtonItem in libiPhone-lib.a(iPhoneInputImpl.o)
  ".objc_class_name_CAEAGLLayer", referenced from:
      literal-pointer@__OBJC@__cls_refs@CAEAGLLayer in libiPhone-lib.a(iPhoneUtils.o)
  ".objc_class_name_NSUserDefaults", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSUserDefaults in libiPhone-lib.a(PlayerPrefs.o)
  ".objc_class_name_NSURL", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSURL in libiPhone-lib.a(URLUtility.o)
      literal-pointer@__OBJC@__cls_refs@NSURL in libiPhone-lib.a(iPhoneWWW.o)
      literal-pointer@__OBJC@__cls_refs@NSURL in libiPhone-lib.a(iPhoneVideo.o)
  ".objc_class_name_NSNotificationCenter", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSNotificationCenter in libiPhone-lib.a(iPhoneInputImpl.o)
      literal-pointer@__OBJC@__cls_refs@NSNotificationCenter in libiPhone-lib.a(iPhoneVideo.o)
  ".objc_class_name_UITextField", referenced from:
      literal-pointer@__OBJC@__cls_refs@UITextField in libiPhone-lib.a(iPhoneInputImpl.o)
  ".objc_class_name_NSObject", referenced from:
      .objc_class_name_LocationServiceDelegate in libiPhone-lib.a(iPhoneInputImpl.o)
      .objc_class_name_KeyboardDelegate in libiPhone-lib.a(iPhoneInputImpl.o)
      .objc_class_name_ConnectionDelegate in libiPhone-lib.a(iPhoneWWW.o)
      .objc_class_name_MoviePlayerContext in libiPhone-lib.a(iPhoneVideo.o)
  ".objc_class_name_UIViewController", referenced from:
      .objc_class_name_KeyboardViewController in libiPhone-lib.a(iPhoneInputImpl.o)
      .objc_class_name_WebViewController in libiPhone-lib.a(URLUtility.o)
  ".objc_class_name_NSURLRequest", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSURLRequest in libiPhone-lib.a(URLUtility.o)
  ".objc_class_name_CLLocationManager", referenced from:
      literal-pointer@__OBJC@__cls_refs@CLLocationManager in libiPhone-lib.a(iPhoneInputImpl.o)
  ".objc_class_name_NSData", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSData in libiPhone-lib.a(iPhoneWWW.o)
  ".objc_class_name_NSURLCredential", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSURLCredential in libiPhone-lib.a(iPhoneWWW.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

Comment
Add comment · Show 1
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 ibyte · Jul 04, 2010 at 12:32 AM 0
Share

I recently got the same errors but I am not sure why yet. I am running the same software as you. BTW as of Unity 1.7 for iPhone the simulator is supported.

Quote from Unity webpage - Adds iPad Simulator support so you can develop iPad apps even if you do not have the hardware yet.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by spinaljack · Jun 27, 2010 at 08:44 PM

Unity iPhone doesn't support the simulator, you can only run it on device or in the Unity editor. If you need to test it without compiling just use Unity Remote to connect your device to your mac wirelessly for controlling the game.

Why are you even making iPhone apps without a license? What do you intend to do with it after you're done?

Also I wouldn't recommend using a virtual machine for development.

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 pion · Sep 16, 2011 at 05:00 AM

I spent hours on this issue, too. My environments:

  1. Unity 3.4

  2. Xcode 4

I did the following:

  1. Go to Unity

  2. Click Edit menu > Project Settings > Player

  3. Go to Inspector window

  4. Click Other Settings

  5. Change SDK Version to iOS Simulator latest

After Unity finishes building, go to Xcode 4

  1. Click the Scheme to Unity-iPhone-simulator > iPhone 4.3 Simulator

  2. Click Product menu > Build

  3. Run

The above works for me.

If you need to run on the iPhone device, you need to change SDK Version to iOS latest

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

1 Person is following this question.

avatar image

Related Questions

Can Unity 3 build for the iOS Simulator? 2 Answers

Unity iPhone Nature Pack 0 Answers

do you need xcode libraries of your target ios ? 0 Answers

play video from iphone photo library 0 Answers

How to embed unity ios project with another ios project 0 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