Build Successful but not running on simulator

那年仲夏 提交于 2019-12-11 02:05:09

问题


I download the code of Brad Larson from here. When I run it. It shows the build successful but it's not run in simulator. please direct me in right direction.

I check the method in app delegate file

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
.......

}

not called.

Thanks


回答1:


The scheme you're trying to run is probably not set correctly (it wasn't for me when i downloaded the code either). Just change the scheme to the one you want to run and try again (the top left area of XCode has a drop down box which is probably set to "GPUImage" or something similar, change it to "CubeExample" or whatever and it should work). However don't expect much from running in the simulator, according to the issues page you mostly need to run on the device.



来源:https://stackoverflow.com/questions/11483231/build-successful-but-not-running-on-simulator

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