Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>What is your deployment target? </p> <p>My deployment target was iOS4.0. I changed it to iOS4.3 and the issue is resolved! (Building against iOS5 GM SDK, of course.) My app now runs in the iOS5 simulator.</p> <p>I got this idea from <a href="https://stackoverflow.com/questions/7747783/is-arc-really-supported-in-ios-4-the-ios-4-2-sdk-is-missing-arc-related-symbols/7747801#7747801">an answer in another SO thread</a> that said ARC is supported in iOS4.3 and above. My app doesn't use ARC, nor do any of it's dependent libraries, as far as I can tell. The answer also said something about weak reference zeroing, which seemed... perhaps relevent since a lot of people have had success in removing specific linker directives concerning weak references to libSystem.B.dylib.</p> <p>It bothers me a little that I have to move up my base deployment target beyond 4.0 because that feels like I am cutting out a lot of potential users. Despite Apple's hope that everyone will always upgrade their devices, many people do not. Oh well.</p> <h2>EDIT</h2> <p>It's worth mentioning that this project was originally done under Xcode3, so there is likely just some bizarre cruft in the project itself that is both unneeded and causing this problem. But I'll be damned if I can find it!</p> <h2>EDIT 2</h2> <p>Well, well, well... upon further inspection... I found 2 errant references to libSystem.B.dylib in my project.pbxproj file that were not visible through Xcode's build settings, but that I had to remove by hand with a text editor!</p> <p>Once doing this, I reset the base deployment version to 4.0, built for the iOS5 simulator, and the app ran without issue.</p> <p>Amazing.</p> <p>The lesson: Never underestimate the chances for there to be garbage in your project file.</p> <h2>EDIT 3</h2> <p><img src="https://i.stack.imgur.com/wVsXP.png" alt="Xcode project edit"></p> <p>Removing the 3 occurrences of these lines in the <code>project.pbxproj</code>file inside the Xcode project package (right click and show package contents).</p> <p><img src="https://i.stack.imgur.com/TFPqG.png" alt="show package contents"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload