platforms/ios/HelloWorld.xcworkspace
) from Xcode, or from the command line:HelloWorld
project is selected in the left panel (1).Parameter | Flag | Description |
---|---|---|
Code Sign Identity | --codeSignIdentity | Code signing identity to use for signing. It can be created with Xcode and added to your keychain. Starting with Xcode 8 you should use --codeSignIdentity='iPhone Developer' both for debug and release . |
Development Team | --developmentTeam | The development team (Team ID) to use for code signing. You would use this setting and a simplified Code Sign Identity (i.e. just 'iPhone Developer') to sign your apps, you do not need to provide a Provisioning Profile. |
Packaging Type | --packageType | This will determine what type of build is generated by Xcode. Valid options are development (the default), enterprise , ad-hoc , and app-store . |
Provisioning Profile | --provisioningProfile | (Optional) GUID of the provisioning profile to be used for manual signing. It is copied here on your Mac: ~/Library/MobileDevice/Provisioning Profiles/ . Opening it in a text editor, you can find the GUID which needs to be specified here if using manual signing. |
Code Sign Resource Rules | --codesignResourceRules | (Optional) Used to control which files in a bundle should be sealed by a code signature. For more details, read The OS X Code Signing In Depth article |
Automatic Provisioning | --automaticProvisioning | (Optional) Enable to allow Xcode to automatically manage provisioning profiles. Valid options are false (the default) and true . |
build.json
)using the --buildConfig
argument to the same commands. Here's a sample of abuild configuration file:--buildFlag
options to pass these flags to xcodebuild
. If you use an xcodebuild
built-in flag, it will show a warning.buildFlag
option in build.json
above (the value for the buildFlag
key is a string or an array of strings).platforms
folder of your project (not www
), and changes are liable to be overwritten.Instead, edit the www
folder and copy over your changes by running cordova build
.--link
flag when adding theirplugin to the project via cordova plugin add. This will link the files so that changes to the plugin files in theplatforms folder are reflected in your plugin's source folder (and vice versa).cordova build
, you can open it fromwithin Xcode. Double-click to open the ${PROJECT_NAME}/platforms/ios/${PROJECT_NAME}.xcworkspace
file or open Xcode from your terminal:cordova-ios/bin/create
is equivalent tocordova create
.create
script in the bin
folder:run
script in the bin
folder:cordova
inside that containsscripts for the project-specific Cordova commands (e.g. run
, build
, etc.).cordova-ios
version.cordova
utility to set up a new project, as described in TheCordova The Command-Line Interface. For example, in a source-code directory:hello/platforms/osx/HelloWorld.xcodeproj
file. The screen should look like this:open
command to open the XCode project directlyfrom the command line: