Skip to content

mirzaaghazadeh/iOS-Ad-hoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS Ad-hoc

With this system you can install iOS apps via over-the-air installation.

Usage

1 - Download the repo and put files in your public_html or www folder of host.

2 - Change example.com in install.php and x.plist to your domain.

3 - Change bundle id in x.plist to your app's bundle id.

<key>bundle-identifier</key>
<string>change-me</string>

4 - Change App Name in x.plist to your app's App Name.

<key>title</key>
<string>change-me</string>

5 - Now if you browse install.php in your IOS device you can download the app.

Extra notes

Use this code for detect device:

<?php

//Detect
$iPod    = stripos($_SERVER['HTTP_USER_AGENT'],"iPod");
$iPhone  = stripos($_SERVER['HTTP_USER_AGENT'],"iPhone");
$iPad    = stripos($_SERVER['HTTP_USER_AGENT'],"iPad");

//do something with this information
if( $iPod || $iPhone ){
    //browser reported as an iPhone/iPod touch -- do something here
}else if($iPad){
    //browser reported as an iPad -- do something here
}

?>