原本只有5.1,理論上升級上去5.1會不見,
但是可以另外再把5.1安裝上去,
這樣有些舊的code就可以繼續正常編譯。
到目前為止,如果你使用iphone 5.1 Simulator執行舊的project,應該都沒問題。
但如果使用iphone 6.0 Simulator非常可能會出問題。
另外要使用device執行也會有armv7s的錯誤。
暫時最快解決的方法就是.... 如下,
是可以執行,但不保證會不會有其他問題.....
[UIApplication sharedApplication] will cause the app looking like it crashed, BUT it will call - (void)applicationWillTerminate:(UIApplication *)application before doing so;exit(0); will also terminate the application, but it will look "normal" (the springboard's icons appears like expected, with the zoom out effect), BUT it won't call the - (void)applicationWillTerminate:(UIApplication *)application delegate method.- (void)applicationWillTerminate:(UIApplication *)application on the delegate.exit(0);.