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 realworld666 · Dec 11, 2014 at 09:44 AM · iossimulator

Building for iOS Simulator

I've just tried to get our app to run on the simulator and failed. I've then gone and tested a completely clean Unity project and got the same error. The iOS build is built from Unity with the Simulator SDK and I've tried a target iOS version of 5 and 7.1. I'm using Unity 4.5.5 The xcode project compiles and runs but crashes on boot in the following location

 #0 0x052aaa6a in __pthread_kill ()
 #1 0x05166b2f in pthread_kill ()
 #2 0x04f4a9c9 in abort ()
 #3 0x017a7cff in _interposition_vtable_unimplemented ()
 #4 0x017ba538 in open$UNIX2003 ()
 #5 0x00b5e387 in g_file_get_contents at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/eglib/src/gfile-posix.c:64
 #6 0x00aa48cc in mono_config_parse_file_with_context at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mono/metadata/mono-config.c:393
 #7 0x00aa4a20 in mono_config_parse_file at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mono/metadata/mono-config.c:427
 #8 0x00aa4e1b in mono_config_parse at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mono/metadata/mono-config.c:553
 #9 0x002879ce in InitializeMonoFromMain(std::vector<std::string, std::allocator<std::string> > const&, std::string, int, char const**, bool) at /Applications/buildAgent/work/d63dfc6385190b60/Runtime/Mono/MonoManager.cpp:2080
 #10 0x0002c59d in UnityInitApplicationNoGraphics at /Applications/buildAgent/work/d63dfc6385190b60/PlatformDependent/iPhonePlayer/LibEntryPoint.mm:164
 #11 0x0001d185 in -[UnityAppController application:didFinishLaunchingWithOptions:] at /Users/Henry/New Unity Project/test/Classes/UnityAppController.mm:185
 #12 0x01c1414f in -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] ()
 #13 0x01c14aa1 in -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] ()
 14 0x01c19667 in -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] ()
 #15 0x01c2df92 in -[UIApplication handleEvent:withNewEvent:] ()
 #16 0x01c2e555 in -[UIApplication sendEvent:] ()
 #17 0x01c1b250 in _UIApplicationHandleEvent ()
 #18 0x042aef02 in _PurpleEventCallback ()
 #19 0x042aea0d in PurpleEventCallback ()
 #20 0x04607ca5 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
 #21 0x046079db in __CFRunLoopDoSource1 ()
 #22 0x0463268c in __CFRunLoopRun ()
 #23 0x046319d3 in CFRunLoopRunSpecific ()
 #24 0x046317eb in CFRunLoopRunInMode ()
 #25 0x01c18d9c in -[UIApplication _run] ()
 #26 0x01c1af9b in UIApplicationMain ()
 #27 0x00002925 in main at /Users/Henry/New Unity Project/test/Classes/main.mm:36

The console log contains only the following

 2014-12-09 12:19:34.410 ProductName[2933:90b] -> registered mono modules 0xd17500
 -> applicationDidFinishLaunching()
 Mono path[0] = '/Users/Henry/Library/Application Support/iPhone Simulator/7.1/Applications/EFB5F996-226D-472B-B68E-83F824CEC149/ProductName.app/Data/Managed'
 Mono config path = '/Users/Henry/Library/Application Support/iPhone Simulator/7.1/Applications/EFB5F996-226D-472B-B68E-83F824CEC149/ProductName.app/Data/Managed'
 Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
 open$UNIX2003 called from function g_file_get_contents in image ProductName.

Does anybody know what is needed to get this working? Its necessary to send a simulator build to Facebook so they can review our app before we submit to Apple.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by TedB · Jan 17, 2015 at 07:41 PM

This question and answer discusses the error. I ran in to the error using Unity 4.6.1, but do not have the error using Unity 4.6.0. Hopefully this will be addressed in an update.

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

27 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

Related Questions

[iOS] Can I check if my game is running on a simulator vs device? 1 Answer

Unity 4.6.1 iOS Simulator Runtime Error 1 Answer

Iphone 4s simulator problem ? 1 Answer

Getting rid of 'Development Build' watermark in simulator 0 Answers

Simulated iOS not rendering some textures that real hardware can 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