@jidibingren/ios-ipa-server
Create a HTTPS Server to install ipa locally
Last updated 2 years ago by jidibingren .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @jidibingren/ios-ipa-server 
SYNC missed versions from official npm registry.

自动生成自签名HTTPS服务器,快速安装ipa

README For English

iOS 10.3

  • iOS 10.3 安装方法 Settings > General > About (logically...) > Certificate Trust Settings > Enable Full Trust for Root Certificates

iOS 11

  • 需要 ios-ipa-server1.2.0以上,并先扫描安装CA证书,信任证书方法同iOS 10.3

支持

  • OS X
  • Ubuntu
  • CentOS
  • 其他平台未测试

需要

安装

$ npm install -g ios-ipa-server

用法

Usage: ios-ipa-server [option] [dir]

Options:

-h, --help                output usage information
-V, --version             output the version number
-p, --port <port-number>  set port for server (defaults is 1234)
-i, --ip <ip-address>     set ip address for server (defaults is automatic getting by program)

开启服务

$ cd /path/of/ipa
$ ios-ipa-server

# or

$ ios-ipa-server /path/of/ipa


# open https://ip:port/download on your iphone

关于ipa打包方法

安装app

  • 手机使用safari打开https://ip:port/download页面
  • 第一次打开会弹出警告无法验证服务器,请点击详细信息按钮安装证书,按指示一直点击下一步和完成(强烈推荐使用静态IP,避免每次重新安装证书)
  • 点击ipa链接在线安装ipa

simulator screen shot jun 22 2016 2 45 19 pm 2

效果图

screeshot

开发

# 下载源码
$ git clone git@github.com:bumaociyuan/ios-ipa-server.git

# 安装依赖包
$ cd ios-ipa-server
$ npm install 

# 建立link 方便调试
$ npm link

# 运行
$ cd /path/of/ipa
$ ios-ipa-server

TODO

  • [ ] 支持多语言
  • [ ] 支持shenzhen
  • [ ] 支持上传IPA
  • [ ] iOS 10.3 以上提示 #23 证书信任设置

Lisence

MIT

Current Tags

  • 1.0.3                                ...           latest (2 years ago)

4 Versions

  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 4
This Week 4
This Month 5
Last Day 0
Last Week 0
Last Month 5
Dependencies (12)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |