iOS: install App via OTA
2012-03-25 01:45
225 查看
下面是把app放到web site,让其他人通过Over the Air (OTA)下载安装的步骤。
前提: 能安装app的device需要被包含在你的provisioning profile里
Environment: iOS 5.0 + xcode 4.3
ref link: https://help.apple.com/iosdeployment-apps/?lang=en-us#app43ad871e
Step 1 在你的project里,选择"iOS Device" in the active scheme (如果选择的是iPad simulator or iPhone simulator,那么menu "Product > Archive"是灰化的)
Step 2 select menu "Product > Archive"来为你的project创建一个archive (it is recommended that build your project again before this action)
Step 3 这时应该会自动弹出organizer window (之后你可以通过menu "Window > Organizer"来打开它),并显示你刚创建的archive item in the archive list。Highlight the archive item, and then click "Distribute..." button
Step 4 select option "Save for enterprise or Ad-Hoc deployment", click "Next"
Step 5 set "Code Signing Identity" as default value, my default value is "Tomson Xu" (这应该是你在apple developer site创建的certificate name), click "Next"
Step 6 设置"Save as"为你的project name,设置存放生成文件的位置"Where",勾上"Save for Enterprise Distribution"。
Step 7 设置"Application URL"为即将生成的ipa将放到web site里的URL (e.g.http://xxx.xxx.xxx.xxx/CityUCAP.ipa),设置"Title"为任意text(注意它并不是安装后的app
display name), click "Save" button. 这时它将创建一个ipa file和一个与ipa file同名的plist file (假设为 CityUCAP.ipa and CityUCAP.plist)
Step 8 把step 7生成的ipa and plist file复制到你的web site里 (注意:其url要和step 7设置的”Application URL“一样),然后创建一个html file as follow.
Step 9 你需要添加2个MIME类型到你的web server,否则安装过程中就有可能出错。下面以IIS为例添加MIME type
1. 打开IIS Manager,左边panel选定root node,然后在右边的panel double click "MIME Types"
2. right click 任意位置, select "Add...",分别添加下列2个MIME Type
File name extension: .ipa
MIME Type: application/octet-stream
File name extension: .plist
MIME Type: text/xml
3. restart your web server
Step 10. 在你的iPhone web browser里访问Step 8创建的html file,然后click link to install app!
前提: 能安装app的device需要被包含在你的provisioning profile里
Environment: iOS 5.0 + xcode 4.3
ref link: https://help.apple.com/iosdeployment-apps/?lang=en-us#app43ad871e
Step 1 在你的project里,选择"iOS Device" in the active scheme (如果选择的是iPad simulator or iPhone simulator,那么menu "Product > Archive"是灰化的)
Step 2 select menu "Product > Archive"来为你的project创建一个archive (it is recommended that build your project again before this action)
Step 3 这时应该会自动弹出organizer window (之后你可以通过menu "Window > Organizer"来打开它),并显示你刚创建的archive item in the archive list。Highlight the archive item, and then click "Distribute..." button
Step 4 select option "Save for enterprise or Ad-Hoc deployment", click "Next"
Step 5 set "Code Signing Identity" as default value, my default value is "Tomson Xu" (这应该是你在apple developer site创建的certificate name), click "Next"
Step 6 设置"Save as"为你的project name,设置存放生成文件的位置"Where",勾上"Save for Enterprise Distribution"。
Step 7 设置"Application URL"为即将生成的ipa将放到web site里的URL (e.g.http://xxx.xxx.xxx.xxx/CityUCAP.ipa),设置"Title"为任意text(注意它并不是安装后的app
display name), click "Save" button. 这时它将创建一个ipa file和一个与ipa file同名的plist file (假设为 CityUCAP.ipa and CityUCAP.plist)
Step 8 把step 7生成的ipa and plist file复制到你的web site里 (注意:其url要和step 7设置的”Application URL“一样),然后创建一个html file as follow.
<a href="itms-services://?action=download-manifest&url=http://xxx.xxx.xxx.xxx/ CityUCAP.plist">Install App</a>
Step 9 你需要添加2个MIME类型到你的web server,否则安装过程中就有可能出错。下面以IIS为例添加MIME type
1. 打开IIS Manager,左边panel选定root node,然后在右边的panel double click "MIME Types"
2. right click 任意位置, select "Add...",分别添加下列2个MIME Type
File name extension: .ipa
MIME Type: application/octet-stream
File name extension: .plist
MIME Type: text/xml
3. restart your web server
Step 10. 在你的iPhone web browser里访问Step 8创建的html file,然后click link to install app!
相关文章推荐
- iOS: install App via OTA
- iOS: install App via OTA(通过网页安装ipa)
- iOS 8 - Can't Install Enterprise App
- iOS: install App via OTA
- iOS - Install app to simulator
- ios 程序发布成ipa 文件 通过 web 下载和安装。install App via OTA
- [ios] archive type Mac App Archive. Install ad hoc ipa failed on itunes.
- iOS-OC-APP热更新,动态更新(仿QQ打开或关闭某个功能)
- [置顶] Nexus 9安装Android App出现INSTALL_FAILED_NO_MATCHING_ABIS错误的一种解决方案
- 【ios】Displaying on the app Store in More Than One Language
- IOS初级:app的图标
- iOS 10越狱和Reveal 8分析三方App UI框架教程
- 手机iOSAPP崩溃报告的软件
- Hacking EV3系列之一:自编iOS app控制EV3之资料收集与分析
- revealapp 用于调试IOS的UI
- IOS实现SpotLight搜索 让你的APP支持SpotLight搜索
- IOS-APP提交上架流程(新手必看!2016年3月1日最新版)
- IOS APP 上传到AppStore
- iOS App开发那些事:如何选择合适的人、规范和框架?
- Loadrunner实现Android / IOS 手机APP压力测试