Git Product home page Git Product logo

ios-ipa-server's Introduction

自动生成自签名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 [email protected]: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

ios-ipa-server's People

Contributors

bumaociyuan avatar dependabot[bot] avatar litt1e-p avatar ttaccp avatar tylearymf avatar yijiasu avatar zhao0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-ipa-server's Issues

是否支持多级目录?

@bumaociyuan 🙏首先非常感谢。

我们多个app放在多个目录并且有多个版本。
x1APP
--10.10.1
--10.10.2
--10.10.3
x2APP
--11.10.1
--11.10.2
--11.10.3

开启的服务器无响应

  1. 在 ipa 文件所在文件夹运行 ios-ipa-server后,出现提示https://172.16.1.91:1234/download
  2. 然后在浏览器中浏览https://172.16.1.91:1234/download长时间无响应,命令行中运行curl https://172.16.1.91:1234/download,出现一大坨提示
curl: (60) SSL certificate problem: Invalid certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

我之前使用 Mac 中的 Apache 使用自签名的证书成功开启过 https 服务,不知道是否有影响。上述错误需要怎么处理呢?

Mac 点击安装就出错了,用npm安装的

_http_outgoing.js:555
throw new TypeError('First argument must be a string or Buffer');
^

TypeError: First argument must be a string or Buffer
at ServerResponse.OutgoingMessage.end (_http_outgoing.js:555:11)
at ReadStream. (/usr/local/lib/node_modules/ios-ipa-server/bin/ios-ipa-server.js:110:11)
at emitOne (events.js:96:13)
at ReadStream.emit (events.js:188:7)
at /usr/local/lib/node_modules/ios-ipa-server/node_modules/graceful-fs/graceful-fs.js:190:14
at /usr/local/lib/node_modules/ios-ipa-server/node_modules/graceful-fs/graceful-fs.js:241:16
at FSReqWrap.oncomplete (fs.js:123:15)

node --version
v6.9.1
npm --version
4.0.3

执行报错

`https://192.168.12.41:1234/download
fs.js:914
return binding.readdir(pathModule._makeLong(path), options.encoding);
^

Error: ENOTDIR: not a directory, scandir '[adhoc]PPMoneyProRelease 2017-11-07 14-17-17.ipa'
at Object.fs.readdirSync (fs.js:914:18)
at ipasInLocation (/usr/local/lib/node_modules/ios-ipa-server/bin/ios-ipa-server.js:233:18)
at /usr/local/lib/node_modules/ios-ipa-server/bin/ios-ipa-server.js:127:18
at /usr/local/lib/node_modules/ios-ipa-server/node_modules/graceful-fs/graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:439:3)`

ipa安装慢

20多M的安装包开始安装之后长时间停留在“等待中...”的状态,这跟fs-extra组件读取文件的速度比较慢有关系么?等待时间太长了,请问这可能是什么问题导致的呢?

提示无法连接到“192.168.0.101”

在手机Safari中打开 download页面,点击下载,提示点击安装后会自动下载app,请返回桌面查看,点击“好”之后,提示无法连接到“192.168.0.101”
iOS 11.2.1
描述文件中有ios-ipa-server 192.168.0.101 Custom CA

安装之后打不开

我的ipa可以下载,但是老是打不开,就是一个灰色的图标,是否是我打包的问题呢,我是用xcode直接打包的,然后用签名工具重新签名,请问问题出在哪里,是否是签名选择的证书有问题啊

OTA files needed

looking for a way to add real OTA iPA files instead of using apps signed and just using current provision file i at times make new provisions files and add new devices but this causes a issue meaning i need to send a provision file if i am to use this also looking to make the page load in english

提示“应用无法安装”

应用显示正在安装,进度大概70%左右时提示“无法下载APP,此时无法完成下载”,重试无效。

ipa是从www.iphonecake.com下载的,对ipa有什么要求?

not an -iphone crushed PNG file

.//icon.png : not an -iphone crushed PNG file
pngdefry : seen 1 file(s), wrote 0 file(s)

上面的警告是什么意思,我在目录下已经放了一张icon.png图片,但是网页刷新后,图片消失了。

ERR: pngdefry : seen 1 file(s), wrote 0 file(s) fs.js:640

@bumaociyuan hi, I get an error below:

pngdefry : seen 1 file(s), wrote 0 file(s)
fs.js:640
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
...

and my install steps:

git clone https://github.com/bumaociyuan/ios-ipa-server.git
cd ios-ipa-server
npm install 
npm link
ios-ipa-server

and I also modify the template.plist with my app identifier(same as .ipa's name)
at last, it crashed after visited https://my_local_ip:1234/download
please do some help when your are free, thanks!

支持分文件夹

非常好用的服务。
我们公司有不同的App在用同一个打包服务。要是可以分文件夹就更好了。

当我在vps上部署的时候失败了,以下是报错信息,我想通过外网访问

/usr/local/lib/node_modules/ios-ipa-server/bin/ios-ipa-server.js:31
var globalCerFolder = os.homedir() + '/.ios-ipa-server/' + ipAddress;
^
TypeError: Object # has no method 'homedir'
at Object. (/usr/local/lib/node_modules/ios-ipa-server/bin/ios-ipa-server.js:31:26)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

ipa可正常传输,但提示无法安装请稍后再试

iOS版本:16.0
提示:无法安装请稍后再试

使用node --trace-warnings打印错误如下:

Open download page https://192.168.1.5:1234/download
(node:21464) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/cat.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/cd.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/chmod.js:32:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/cp.js:5:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/dirs.js:5:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/dirs.js:8:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/dirs.js:11:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/echo.js:3:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/tempdir.js:5:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/pwd.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/exec.js:10:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/ls.js:8:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/find.js:6:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/grep.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/head.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/ln.js:5:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/mkdir.js:5:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/rm.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/mv.js:7:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/sed.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/set.js:3:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/sort.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/tail.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/test.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/to.js:5:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/toEnd.js:5:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)     at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)        at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/touch.js:4:8)                                                             at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/uniq.js:13:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
(node:21464) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
    at Object._register [as register] (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/common.js:455:12)
    at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/ios-ipa-server/node_modules/shelljs/src/which.js:5:8)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)

安装界面如下:

无法安装提示

我的ipa总是下载失败

安装的方式:$ npm install -g ios-ipa-server

安装成功后:这个目录下面存放的SSL的证书 /Users/crccc/.ios-ipa-server/14.16.9.7/

在plist文件中

kind software-package
<key>url</key>
    <string>https://{{ip}}:{{port}}/ipa/{{name}}.ipa</string>

我不是很明白的:https://{{ip}}:{{port}}/ipa/{{name}}.ipa 这个URL

请问,这个URL是代表服务器端ipa存放的路径?但是感觉不像啊?

还有就是我把代码下载下来之后,添加了一些log输出,怎么重新运行?

下载失败

请问点击下载提示Cannot connect to 192.168.1.....是怎么回事啊

iOS 10 不能使用吗?

我在 VPS上搭建了 但是点击下载没有反应 未越狱的情况下不能使用吗?

CentOS上的问题

一、使用命令ssh devops@我们公司CentOS系统电脑的ip地址,然后输入密码连接上了服务器。

二、执行curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
sudo yum -y install nodejs
安装成功nodejs

三、执行sudo npm install -g ios-ipa-server安装成功了
四、切换到有ipa的目录 ,执行
ios-ipa-server,终端显示https://112.20.0.246:1234/download,然后浏览器,打不开,求解

运行ios-ipa-server时报错

运行ios-ipa-server /home/webedit/ios-ipa/后
报错:
/usr/local/lib/node_modules/ios-ipa-server/bin/ios-ipa-server.js:50
var globalCerFolder = os.homedir() + '/.ios-ipa-server/' + ipAddress;
^
TypeError: Object # has no method 'homedir'
at Object. (/usr/local/lib/node_modules/ios-ipa-server/bin/ios-ipa-server.js:50:26)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
webedit@wab-test:~$ sudo ios-ipa-server ./ios-ipa/

/usr/local/lib/node_modules/ios-ipa-server/bin/ios-ipa-server.js:50
var globalCerFolder = os.homedir() + '/.ios-ipa-server/' + ipAddress;
^
TypeError: Object # has no method 'homedir'
at Object. (/usr/local/lib/node_modules/ios-ipa-server/bin/ios-ipa-server.js:50:26)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3

iPa 扫描

设置的iPa目录应该可以递归扫描, 要不然iPa path子目录下的ipa不好使.

TypeError: Cannot read property 'address' of undefined

/etc/rc.local 下增加开机启动任务
/usr/bin/ios-ipa-server /home/pi/api
日志记录到/var/log下
TypeError: Cannot read property 'address' of undefined at Object.<anonymous> (/usr/local/lib/node_modules/ios-ipa-server/bin/ios-ipa-server.js:46:3) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.runMain (module.js:605:10) at run (bootstrap_node.js:423:7) at startup (bootstrap_node.js:147:9) at bootstrap_node.js:538:3
会报错

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.