diff --git a/iOS/index.php b/iOS/index.php new file mode 100644 index 0000000..fd00d99 --- /dev/null +++ b/iOS/index.php @@ -0,0 +1,73 @@ +

Guide With Me AD HOCs



+ +"; +$sUrlEndText = ""; + +//plist content +$sPlistStart = " + + + + items + + + assets + + + kind + software-package + url + "; +$sPlist2 = ".ipa + + + metadata + + bundle-identifier + com.guidewithme."; + +$sPlist3 = " + bundle-version + 1.0 + kind + software + title + GuideWithMe "; +$sPlistEnd = " + + + + +"; + + +foreach (glob("*.ipa") as $filename) { + $fileNameWithoutExt = pathinfo($filename, PATHINFO_FILENAME); + echo $sTestUrlStart; + echo $currentUrl; + echo $fileNameWithoutExt; + echo $sTestUrlEnd; + echo $fileNameWithoutExt; + echo "
"; + //create plist + $plistContent = $sPlistStart . $currentUrl . $fileNameWithoutExt . $sPlist2 . strtolower($fileNameWithoutExt) . $sPlist3 . $fileNameWithoutExt . $sPlistEnd; + $plistName = $fileNameWithoutExt .'.plist'; + file_put_contents($plistName, $plistContent); + } +?> +