Fixes #118 - How to install without npm?
This commit is contained in:
parent
2c35b70ff7
commit
d712420e60
6
Makefile
6
Makefile
@ -1,10 +1,10 @@
|
|||||||
IOS_SDK_VERSION = 7.1
|
IOS_SDK_VERSION = 8.3
|
||||||
|
|
||||||
IOS_CC = gcc -ObjC
|
IOS_CC = gcc -ObjC
|
||||||
DEVICE_SUPPORT = $(shell xcode-select --print-path)/Platforms/iPhoneOS.platform/DeviceSupport
|
DEVICE_SUPPORT = $(shell xcode-select --print-path)/Platforms/iPhoneOS.platform/DeviceSupport
|
||||||
IOS_SDK = $(shell xcode-select --print-path)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$(IOS_SDK_VERSION).sdk
|
IOS_SDK = $(shell xcode-select --print-path)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$(IOS_SDK_VERSION).sdk
|
||||||
|
|
||||||
all: clean ios-deploy
|
all: clean ios-deploy demo.app
|
||||||
|
|
||||||
demo.app: demo Info.plist
|
demo.app: demo Info.plist
|
||||||
mkdir -p demo.app
|
mkdir -p demo.app
|
||||||
@ -32,4 +32,4 @@ debug: all
|
|||||||
./ios-deploy --debug --bundle demo.app
|
./ios-deploy --debug --bundle demo.app
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.app demo ios-deploy
|
@rm -rf *.app demo ios-deploy
|
||||||
|
34
README.md
34
README.md
@ -4,20 +4,31 @@ Install and debug iOS apps without using Xcode. Designed to work on un-jailbroke
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* Mac OS X. Tested on 10.10 Yosemite and iOS 8.1
|
* Mac OS X. Tested on 10.10 Yosemite and iOS 8.3
|
||||||
* You need to have a valid iOS development certificate installed.
|
* You need to have a valid iOS Development certificate installed.
|
||||||
* Xcode 6.1 should be installed
|
* Xcode 6 or greater should be installed
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
ios-deploy installation is made simple using the node.js package manager. If you use [Homebrew](http://brew.sh/), install node.js:
|
|
||||||
```bash
|
ios-deploy installation is made simple using the node.js package manager. If you use [Homebrew](http://brew.sh/), install [node.js](https://nodejs.org):
|
||||||
|
|
||||||
|
```
|
||||||
brew install node
|
brew install node
|
||||||
```
|
```
|
||||||
|
|
||||||
Now install ios-deploy with the node.js package manager:
|
Now install ios-deploy with the [node.js](https://nodejs.org) package manager:
|
||||||
```bash
|
|
||||||
$ npm install -g ios-deploy
|
|
||||||
```
|
```
|
||||||
|
npm install -g ios-deploy
|
||||||
|
```
|
||||||
|
|
||||||
|
To install from source:
|
||||||
|
|
||||||
|
```
|
||||||
|
make install prefix=/usr/local
|
||||||
|
```
|
||||||
|
|
||||||
|
This will install ios-deploy in the `bin` folder of `/usr/local`, i.e. `/usr/local/bin`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@ -87,9 +98,10 @@ The commands below assume that you have an app called `my.app` with bundle id `b
|
|||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
* The included demo.app represents the minimum required to get code running on iOS.
|
The included demo.app represents the minimum required to get code running on iOS.
|
||||||
* `make install` will install demo.app to the device.
|
|
||||||
* `make debug` will install demo.app and launch a GDB session.
|
* `make demo.app` will generate the demo.app executable. If it doesn't compile, modify IOS_SDK_VERSION in the Makefile.
|
||||||
|
* `make debug` will install demo.app and launch a LLDB session.
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user