Analyzing iOS code
Setting up an accurate analysis for iOS just takes a few moments. During project creation choose advanced options, or if the project is already created select Project->Configure Project.Then:
- In C++ (Strict) -> Options change the Target -> OS to ios. If you want to use a device SDK instead of the simulator SDK then change the Target -> Arch to arm.
- In C++ (Strict) -> Includes -> Sysroot paste the path to an ios SDK. In current versions of Xcode the SDKs are located inside of the the Xcode app bundle. For example try /Applications/Xcode.app/Conten
ts/Developer/Platforms/iPhoneS imulator.platform/Developer/ SDKs/iPhoneSimulator7.1.sdk.
That’s all it takes, enjoy!