Created
April 4, 2015 07:50
-
-
Save bradtheappguy/f0e42946269ed2748e68 to your computer and use it in GitHub Desktop.
Create an iOS Plist file using plistbuddy (OSX)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Creates an iOS OTA (Over the Air) Minifest File | |
URL="https://sywl.theappguy.guru/relayrunner/0.2.6/RunnerApp_0.2.6ent.ipa" | |
BUNDLE_ID="com.example.yourbundleid" | |
BUNDLE_VERSION="0.0.1" | |
TITLE="Your App Name" | |
FILE="yourmanifestfile.plist" | |
/usr/libexec/PlistBuddy -c "add :items array" {FILE} | |
/usr/libexec/PlistBuddy -c "add :items:0:assets array" {FILE} | |
/usr/libexec/PlistBuddy -c "add :items:0:assets:0::kind string software-package" {FILE} | |
/usr/libexec/PlistBuddy -c "add :items:0:assets:0::url string ${URL}" {FILE} | |
/usr/libexec/PlistBuddy -c "add :items:0:metadata:bindle-identifer string ${BUNDLE_ID}" {FILE} | |
/usr/libexec/PlistBuddy -c "add :items:0:metadata:bundle-version string ${BUNDLE_VERSION}" {FILE} | |
/usr/libexec/PlistBuddy -c "add :items:0:metadata:kind string software" {FILE} | |
/usr/libexec/PlistBuddy -c "add :items:0:metadata:title string ${TITLE}" {FILE} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wrong key string in line 15: bindle-identifer -> bundle-identifier