开发者

disable iphone simulator

开发者 https://www.devze.com 2023-03-16 05:15 出处:网络
I know this may be really silly - but how can I disable the iphone simulator in xcode? I just w开发者_如何学编程ant to try a few things and dont care about the view, only the console. I seriously look

I know this may be really silly - but how can I disable the iphone simulator in xcode? I just w开发者_如何学编程ant to try a few things and dont care about the view, only the console. I seriously looked everywhere and nada.

Thanks!


You need to run your code somewhere. It either runs on the device, or on the simulator. You cannot run your code on the console alone.


just "build", not "build and run" (shortcut: command + B).


If you want to test your model, and don't care about the view, create and use unit tests. But even then it needs to run the code somewhere...

0

精彩评论

暂无评论...
验证码 换一张
取 消