Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode: compile without running

Tags:

c++

xcode

build

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?

like image 539
user3625002 Avatar asked May 11 '14 07:05

user3625002


People also ask

What is run without building 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 .

Why is run button greyed out in Xcode?

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.

What does Xcode build do?

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.


1 Answers

Press command+B or choose "Build" from Xcode's "Product" menu.

like image 115
Rob Avatar answered Oct 03 '22 15:10

Rob