问题
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