构建成功,但未在模拟器上运行 [英] Build Successful but not running on simulator

查看:92
本文介绍了构建成功,但未在模拟器上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从此处下载了Brad Larson的代码.当我运行它时.它显示了构建成功,但未在模拟器中运行.请指引我正确的方向.

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{
.......

}

不被叫.

谢谢

推荐答案

您尝试运行的方案可能未正确设置(下载代码时也不适合我).只需将方案更改为您要运行的方案,然后再试一次(XCode的左上方区域有一个下拉框,该框可能设置为"GPUImage"或类似名称,将其更改为"CubeExample"或任何其他名称,它应该可以工作).但是,不要期望在模拟器中运行,根据问题页面, 需要在设备上运行.

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.

这篇关于构建成功,但未在模拟器上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆