Xcode 4.2.1: universal app runs on iPad but not on iPhone

不问归期 提交于 2020-01-05 23:16:10

问题


I am working on a universal application where I am stuck at one point. I was able to successfully launch my application both on iPhone and iPad but since 2-3 days, I am not able to launch my application on neither iPhone nor iPhone simulator but it runs smoothly on iPad/iPad simulator.

Also when I run my app choosing iPhone device it shows message like Running the App on iPhone simulator but I am not able to see any effect on my simulator. I am using Xcode 4.2.1 and I guess the issue is pertains to the same.


回答1:


I don't know whether it is a solution or not but got a way out by reinstalling the iOS Simulator.




回答2:


I have faced same problem. This probably happens when you replace the application with the newScheme/EditScheme by mistake.

Just carefully check when you run your application is there your application name appear. This will be immediate left at where you choose iPhone simulator or iPad simulator version.



来源:https://stackoverflow.com/questions/9460621/xcode-4-2-1-universal-app-runs-on-ipad-but-not-on-iphone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!