Zack Braksa
Zack Braksa

Reputation: 1666

Xcode Profile vs Analyze

In Xcode, we have the options between the following actions to apply to our app :

Could you briefly explain what's the difference between each one ?

Upvotes: 39

Views: 10445

Answers (1)

Keller
Keller

Reputation: 17081

Run will build and run the target on the selected device or simulator.

Test will build your target and run its unit tests (YourTargetNameTests.m)

Profile will build and run your target on the selected device or simulator with an Instruments tool of your choosing (Leaks, Allocations, etc.)

Analyze will build your target using the static analyzer and let you know of certain types of bugs in your code.

Upvotes: 59

Related Questions