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 ?
Build and Analyze is an Xcode feature (introduced in Xcode 3.2) that allows users to run the Clang Static Analyzer directly within Xcode. It integrates directly with the Xcode build system and presents analysis results directly within Xcode's editor.
The profiles resource represents the provisioning profiles that allow you to install apps on your iOS devices or Mac. You can create and delete provisioning profiles, and download them to sign your code.
Click the Run button in the toolbar (or press ⌘R) to build & run your project. Click Stop (or press ⌘.) to stop execution. Click & hold to see the other actions, Test (⌘U), Profile (⌘I), and Analyze (⇧⌘B). Hold down modifier keys ⌥ option , ⇧ shift , and ⌃ control for more variants.
An Xcode scheme defines a collection of targets to build, a configuration to use when building, and a collection of tests to execute. You can have as many schemes as you want, but only one can be active at a time.
•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.
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