https://github.com/wzpan/infer-xcode-plugin
Facebook infer plugin for xcode.
https://github.com/wzpan/infer-xcode-plugin
Last synced: 2 months ago
JSON representation
Facebook infer plugin for xcode.
- Host: GitHub
- URL: https://github.com/wzpan/infer-xcode-plugin
- Owner: wzpan
- Created: 2015-06-13T07:52:03.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-14T13:44:14.000Z (almost 10 years ago)
- Last Synced: 2025-01-01T18:16:44.718Z (4 months ago)
- Language: Objective-C
- Size: 160 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
infer-xcode-plugin
===This plugin add a menu item for your xcode to quickly excute [facebook infer](http://fbinfer.com) for static analyzing your projects.
> This plugin is still under development. Welcome to send me patch.
## Dependencies
* Xcode 5 above
* infer## Install
1. Clone the repo and build it.
2. infer.xcplugin should appear in `~/Library/Application Support/Developer/Shared/Xcode/Plug-ins`
3. Restart XcodeIf you encounter any issues you can uninstall it by removing the `~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/infer.xcplugin`.
## Usage
1) Create the infer command script for your project *e.g.* :
``` plain
cd $1 # Must have for now
LOCATION_OF_INFER -- xcodebuild -target TARGET_NAME -configuration Debug -sdk iphonesimulator
```Save it to `YOUR_PROJECT/scripts/infer_commands.sh` .
Notice:
1. For the moment, the first command `cd $1` is needed. DO NOT REMOVE IT!
2. `LOCATION_OF_INFER` is needed to be changed to the real location of infer.2) Open your projects, and click menu Product->Infer to analyze your project.
You can view the result at Console.app by filtering `infer` .