Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avaer/node-ios-lib
Build Node.js framework for iOS
https://github.com/avaer/node-ios-lib
Last synced: about 2 months ago
JSON representation
Build Node.js framework for iOS
- Host: GitHub
- URL: https://github.com/avaer/node-ios-lib
- Owner: avaer
- License: other
- Created: 2018-02-06T23:54:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T22:35:39.000Z (almost 7 years ago)
- Last Synced: 2024-10-08T19:22:21.135Z (3 months ago)
- Language: JavaScript
- Size: 291 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Governance: GOVERNANCE.md
- Authors: AUTHORS
Awesome Lists containing this project
README
# Node.js iOS lib
This repo lets you build `NodeMobile.framework` for iOS (`arm64`).
This is useful for embedding `node` in an iOS app. You could theoretically use this to run true node on iOS, but it's mostly intended to provided an embedded JS environment.
Note that using this in an app can get it rejected on the App Store -- Apple doesn't approve of JITting downloaded Javascript code (which this repo does) unless you use iOS's own Javascript engine.
## Instructions
```
1. Get `xcode` on the Mac App Store
1. `xcode-select --switch /Applications/Xcode.app/Contents/Developer`
1. Clone this repo
1. `cd` into this repo
1. `./build.sh # will take a while`
1. `ls -la ./out_ios/Release-iphoneos/NodeMobile.framework # the built framework -- use it in xcode in an iOS app`
```This repo comes with extra hacks that add the `ios` OS target.