ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Dropbox로 adhoc ipa 배포하기
    개발 이야기/IOS 2018. 11. 23. 16:15

    준비물

    .ipa //Export된 실제 설치파일

    .plist //설치 파일의 경로를 가르킨다. (직접 만들어야함)

    .html //.plist 파일을 가르킨다. 실페 배포 페이지 (직접 만들어야함)



    //plist 파일 생성

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

    <plist version="1.0">

    <dict>

            <key>items</key>

            <array>

                    <dict>

                            <key>assets</key>

                            <array>

                                    <dict>

                                            <key>kind</key>

                                            <string>software-package</string>

                                            <key>url</key>

                                            <string>여기에 설치파일 경로 입력</string> <!-- ipa url -->

                                    </dict>

                            </array>

                            <key>metadata</key>

                            <dict>

                                    <key>bundle-identifier</key>

                                    <string>여기에 번들명</string>

                                    <key>bundle-version</key>

                                    <string>버전</string>

                                    <key>kind</key>

                                    <string>software</string>

                                    <key>title</key>

                                    <string>타이틀명</string>

                            </dict>

                    </dict>

            </array>

    </dict>

    </plist>




    //배포 페이지 생성

    <!doctype html>

    <html>

    <head>

      <meta charset="utf-8"/>

      <title></title>

      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>

      <link rel="stylesheet" href=""/>

    </head>


    <body>

    <a href="itms-services://?action=download-manifest&url=여기에plist파일경로">다운로드</a>

    </body>


    </html>




    1. ipa파일과 .plist파일을 드랍박스에 업로드하고 공유하기를 눌러서 공유 URL을 만든다.



    2. 아래와 같이 URL을 변경해준다.



    //ipa 파일

    https://www.dropbox.com/s/7p6tk8l3lxyq124/파일명.ipa?dl=0

    아래와 같이 변환 (/s뒤로 붙여넣기 하고 ?dl=0 제거)

    https://dl.dropboxusercontent.com/s/7p6tk8l3lxyq124/파일명.ipa



    //plist파일

    https://www.dropbox.com/s/oltwxxvk1cpe3fv/파일명.plist?dl=0

    아래와 같이 변환 (/s뒤로 붙여넣기 하고 ?dl=0 제거)

    https://dl.dropboxusercontent.com/s/oltwxxvk1cpe3fv/.plist



    html 파일을 호스팅서버에 등록하고 브라우저로 접속 후

    링크를 누르면 설치 됨.





    '개발 이야기 > IOS' 카테고리의 다른 글

    Firebase Storage로 adhoc ipa 배포하기  (0) 2018.11.23

    댓글

Designed by Tistory.