Skip to content

Instantly share code, notes, and snippets.

@neilrackett
Last active May 11, 2020 12:45
Show Gist options
  • Save neilrackett/ef5fc1e0ecfaa710e35c96d9b1c70f06 to your computer and use it in GitHub Desktop.
Save neilrackett/ef5fc1e0ecfaa710e35c96d9b1c70f06 to your computer and use it in GitHub Desktop.
Build and run a Cordova iOS app on a device connected to a remote macOS machine using Visual Studio Code Remote Development Extension Pack
{
"ios": {
"debug": {
"codeSignIdentity": "iPhone Developer",
"developmentTeam": "TEAM_ID",
"packageType": "development",
"provisioningProfile": "PROVISIONING_PROFILE_UUID"
},
"release": {
"codeSignIdentity": "iPhone Distribution",
"developmentTeam": "TEAM_ID",
"packageType": "app-store",
"automaticProvisioning": true
}
}
}
#!/bin/bash
# iOS app remote build script (e.g. for use with VSCode Remote Development Extension Pack)
security unlock-keychain /Users/YOUR_USERNAME/Library/Keychains/login.keychain
cordova run ios --debug --device --target=$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment