반응형

- 대상 단말에 설치하려는 app의 Provisioning Profile이 저장되어있어야 한다.

- http로 접근 가능한 위치여야 한다. (포트 포워딩을 이용한 개발 서버 등)

- Xcode 5.1.1 기준임.


출처 : http://aaronparecki.com/articles/2011/01/21/1/how-to-distribute-your-ios-apps-over-the-air


1. Xcode에서 빌드 타겟을 IOS Device로 변경


2. 메뉴의 Product-Archive를 선택

2-1. Archive가 끝나면 자동으로 Organizer창이 표시되고, Archives에 지금 빌드한 app이 추가되어 있다.


3. app을 선택 후 "Distribute..."버튼을 클릭한다.

3-1. "Save for Enterprise or Ad Hoc Deployment" 를 선택 후 "Next" 클릭

3-2. Provisioning Profile 선택 후 "Export" 클릭

3-3. 저장위치 설정 창에서 하단의 "Save for Enterprise Distribution"을 체크하면 ipa가 있는 URL과 타이틀을 지정하게 되어 있다.


4. "Save" 를 클릭하면 ipa파일과 plist파일이 생성되는데, 저장 시 입력한 URL로 접근 가능한 위치에 복사한다.


5. 다음과 같은 HTML파일을 생성한다.

<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title>Install Geoloqi</title> <style type="text/css"> body { background: url(bkg.png) repeat #c5ccd4; font-family: Helvetica, arial, sans-serif; } .congrats { font-size: 16pt; padding: 6px; text-align: center; } .step { background: white; border: 1px #ccc solid; border-radius: 14px; padding: 4px 10px; margin: 10px 0; } .instructions { font-size: 10pt; } .arrow { font-size: 15pt; } table { width: 100%; } </style> </head> <body> <div class="congrats">Congrats! You've been invited to the beta of Geoloqi.</div> <div class="step"> <table><tr> <td class="instructions">Install the<br />Geoloqi app</td> <td width="24" class="arrow">&rarr;</td> <td width="57" class="imagelink"> <a href="itms-services://?action=download-manifest&url=http://loqi.me/app/Geoloqi.plist"> <img src="geoloqi-icon.png" height="57" width="57" /> </a> </td> </tr></table> </div> </body> </html>



+ Recent posts