-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash on iOS 4.x (arc problem) #23
Comments
Please take a look at the following: Excerpt: |
Also refer to the other issue "Compile error in iOS 4.3", because there's a linker flag that needs to be added that I'm not sure if that stackoverflow thread mentions or not. Because without that linker flag, you get exactly the error you pasted above. |
Hi, I am runing iOS 5 sdk. when i choose iPhone 5 simulator it works fine and when i choose iPhone 4.3 or 4.0 it crashes on NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; the stackoverflow link not worked for me, Here is the error log : Current language: auto; currently objective-c dyld: Symbol not found: _objc_retainAutoreleasedReturnValue (gdb) |
Solved by this and yes it should be added to the "tutorial" part that explains how to enable arc for the file. Thanks |
Project is not using ARC and base IOS 4.0
Added to project as described (including -fobj-arc for OpenUDID.m).
Runtime crash on iOS 4.3.3 on:
dyld: Symbol not found: _objc_retainAutoreleasedReturnValue
The text was updated successfully, but these errors were encountered: