Skip to content

Commit

Permalink
CB-12000 - Add documentation for --buildFlag cli option
Browse files Browse the repository at this point in the history
 This closes apache#654
  • Loading branch information
shazron committed Oct 24, 2016
1 parent 8371d2f commit 6689336
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions www/docs/en/dev/guide/platforms/ios/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ build configuration file:
}
```

## Xcode Build Flags

If you have a custom situation where you need to pass additional build flags to Xcode -- you would use one or more `--buildFlag` options to pass these flags to `xcodebuild`. If you use an `xcodebuild` built-in flag, it will show a warning.

cordova build --device --buildFlag="MYSETTING=myvalue" --buildFlag="MY_OTHER_SETTING=othervalue"
cordova run --device --buildFlag="DEVELOPMENT_TEAM=FG35JLLMXX4A" --buildFlag="-scheme TestSchemeFlag"

## Debugging

For details on the debugging tools that come with Xcode, see this [article](https://developer.apple.com/support/debugging)
Expand Down

0 comments on commit 6689336

Please sign in to comment.