jaredly / jaredly/reprocessing-example-cross-platform
Broken Installation on Mojave (includes fix)
- 主要语言
- OCaml
- 星标
- 50
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
描述
I know this is an old repo and things have moved on, but it would be amazing to upgrade this to work Mojave (and later Catalina).
On two machines running Mojave 10.14.7, I've had this fail to install with:
```
> ./src/scripts/check_reqs.js && xcodebuild
You need at least Xcode 7.0 when you are on OS X 10.11 El Capitan (you have version 11.1)
npm WARN reprocessing-example-cross-platform@1.0.3 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ios-deploy@1.9.2 preinstall: `./src/scripts/check_reqs.js && xcodebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ios-deploy@1.9.2 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
```
To get past this, I had to update a few things:
* The reprocessing-scripts dependency to `"reprocessing-scripts": "Gregoirevda/reprocessing-scripts"`, which brings in the changes in this PR: https://github.com/jaredly/reprocessing-scripts/pull/5 -- would be awesome to merge this or something similar without the custom dependencies.
This then progresses further and eventually fails with complaints about bsb-native not being available.
* Updated the `bs-native` dependency in this project to 4.0.6, which allowed post install to complete 😸 . I've tried `4.0.7000`, which also works.
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 src/scripts/check_reqs.js 以及 npm install 涉及的 package 依赖项入手,尤其是 reprocessing-scripts 和 bs-native。在报告的 macOS 版本上重现安装失败,然后验证安装能够在没有 Xcode 和 bsb-native 错误的情况下完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, node.js, ocaml
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100