Note that there are some explanatory texts on larger screens.

plurals
  1. POXcode 4 templates don't work in iOS 3.1.2
    primarykey
    data
    text
    <p>I would like to test my app for older phones, and got one with 3.1.2. But when I try to run it, it just show the splash screen and then crash.</p> <p>Then I tried to make a new Hello World view-based app from Xcode 4 templates, but even with this one it build fine but crash on startup. I set deployment target to 3.1.</p> <p>If i try to run this one with iPad 3.2 simulator, it also crashes.</p> <p>Where can the problem be?</p> <p>When i run it on iOS device, it gives this warnings and then just stop, not really crash:</p> <p>warning: UUID mismatch detected with the loaded library - on disk is: /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library/Priv</p> <p>UPDATE: I found that I earlier had made a shortcut from 3.1.2 (7D11) to 3.1.2 in the DeviceSupport folder for some reason. I removed that and now I don't get the warnings anymore. Just a crash ;)</p> <blockquote> <p>0 gdb-arm-apple-darwin<br> 0x000000010010974a internal_vproblem + 308 1 gdb-arm-apple-darwin<br> 0x0000000100109924 internal_verror + 27 2 gdb-arm-apple-darwin<br> 0x00000001001099c2 align_down + 0 3<br> gdb-arm-apple-darwin<br> 0x0000000100150c5e macosx_solib_add + 794 4 gdb-arm-apple-darwin<br> 0x000000010016417c remote_macosx_complete_create_or_attach + 187 5 gdb-arm-apple-darwin 0x000000010016489e remote_macosx_create_inferior + 1252 6 gdb-arm-apple-darwin<br> 0x000000010005f6c3 run_command_1 + 586 7 gdb-arm-apple-darwin<br> 0x0000000100107b7f execute_command + 557 8 gdb-arm-apple-darwin<br> 0x00000001000171e7 mi_execute_async_cli_command + 204 9<br> gdb-arm-apple-darwin<br> 0x00000001000168e5 captured_mi_execute_command + 344 10 gdb-arm-apple-darwin<br> 0x0000000100072a62 catch_exception + 57 11 gdb-arm-apple-darwin<br> 0x000000010001443e mi_execute_command + 140 12 gdb-arm-apple-darwin 0x0000000100077721 process_event + 133 13 gdb-arm-apple-darwin<br> 0x0000000100078435 gdb_do_one_event + 1049 14 gdb-arm-apple-darwin<br> 0x0000000100072b49 catch_errors + 70 /SourceCache/gdb/gdb-1518/src/gdb/macosx/macosx-nat-dyld.c:1648: internal-error: unrecognized shared library breakpoint A problem internal to GDB has been detected, further debugging may prove unreliable.</p> </blockquote> <p>When i run iPad simulator, it crash on this line in HelloWorldAppDelegate.m: self.window.rootViewController = self.viewController;</p> <p>with this message: 2011-04-21 11:46:09.006 HelloWorld[5492:207] <strong>* -[UIWindow setRootViewController:]: unrecognized selector sent to instance 0x4c11bb0 2011-04-21 11:46:09.007 HelloWorld[5492:207] <em></strong> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '</em>** -[UIWindow setRootViewController:]: unrecognized selector sent to instance 0x4c11bb0'</p> <p>UPDATE: This was solved by this:</p> <pre><code>// self.window.rootViewController = self.viewController; [self.window addSubview: [self.viewController view]]; </code></pre>
    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.
 

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