Xcode has a 'play button' to build and then run the current scheme for C++ code. Is there a way to only build the program without running it in Xcode?
Sometimes during development, it can be useful to run the same build again, without rebuilding to quickly test the app in certain states. This can be done by combining ^ ctrl + ⌘ command + R .
The “Product->Run” is gray because the current target selected is not runnable means it is a library i.e. cocos2dx. Try to change the correct target and run it.
The Xcode build system manages the tools that transform your code and resource files into a finished app. When you tell Xcode to build your project, the build system analyzes your files and uses your project settings to assemble the set of tasks to perform.
Press command+B or choose "Build" from Xcode's "Product" menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With