Sign inSign up

sophoun/ios-ota-server

By sophoun

•Updated almost 6 years ago

Host ios ota server in local network.

Image
0

292

sophoun/ios-ota-server repository overview

Install IPA with HTTPS, and auto generate certificates.

中文介绍⁠

⁠Support Platform

  • OS X
  • Ubuntu
  • CentOS
  • Not test for other platform

⁠Require

⁠Installation

$ npm install -g ios-ipa-server

⁠Usage

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)

⁠Start Server

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

# or 

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


# open https://ip:port/download on your iphone 
⁠About ipa archive
⁠Install App
  • Open https://ip:port/download page.
  • The first time webpage will alert Cannot Verify Server Identity, plz click Details button, and install the certificate by follow the hint press next and input password.
  • Click the ipa link to install ipa.
  • iOS 10.3 Issue⁠ Settings > General > About (logically...) > Certificate Trust Settings > Enable Full Trust for Root Certificates

simulator screen shot jun 22 2016 2 38 35 pm 2

⁠Screenshots

screeshot

⁠Develop

# Download source code
$ git clone [email protected]:bumaociyuan/ios-ipa-server.git

# Install modules
$ cd ios-ipa-server
$ npm install 

# Make link for debug
$ npm link

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

⁠TODO

  • Support Internationalization
  • Support shenzhen⁠
  • Support upload IPA

⁠Build docker image

$ docker build -t sophoun/ios-ota-server .

⁠Run docker image

$ docker run -d \
-e host_ip=[1.0.0.1] \
-e port=[1234] \
-p 1234:1234 \
-v [absolute_path_ipa]:/ipa [image]

#Lisence MIT⁠

Tag summary

Content type

Image

Digest

Size

339 MB

Last updated

almost 6 years ago

docker pull sophoun/ios-ota-server