24 Commits
1.0 ... 1.0.6

Author SHA1 Message Date
Shazron Abdullah
f1a2c40566 Increment version to 1.0.6 2014-03-27 15:11:35 -07:00
Shazron Abdullah
c92682d148 Merge pull request #22 from Unity-Technologies/master
Add non interactive mode.
2014-03-27 12:35:25 -07:00
Julius Trinkunas
08f3b92306 Fix hangup when launching from scripts. 2014-03-27 16:14:14 +02:00
Julius Trinkunas
a4f3c2c84b Add non interactive mode. 2014-03-26 19:13:48 +02:00
Julius Trinkunas
a3a99e6553 Remove python wrapper shell. 2014-03-26 18:59:01 +02:00
wjywbs
7f2231bd39 Read port number in command line to debug app in multiple devices. 2014-03-24 14:37:03 -07:00
Shazron Abdullah
ad7c97d01f Updated version to 1.0.5 2014-03-20 17:03:52 -07:00
Shazron Abdullah
fa88a73a9a Fixes #20 - lldb startup super-slow unless ios-deploy.c is edited to match exact xcode version 2014-03-20 17:00:32 -07:00
Shazron Abdullah
83150622c2 Merge pull request #13 from zgramana/master
Fixes phonegap/ios-deploy#8.
2013-12-13 16:34:43 -08:00
Zachary Gramana
42f41798a6 Fixes phonegap/ios-deploy#8. 2013-12-13 16:02:14 -08:00
Shazron Abdullah
486d0d92e0 Merge pull request #12 from zgramana/master
Enabled LLDB interactive session. Perf improvement.
2013-12-12 13:39:43 -08:00
Zachary Gramana
c97735aaee Added back support for -n/--nostart option. 2013-12-10 11:18:13 -08:00
Zachary Gramana
d7c38e9e9f Enabled LLDB interactive session. Perf improvement. 2013-12-09 17:59:19 -08:00
Shazron Abdullah
6f78fbc5f3 Update README.md 2013-10-25 15:43:59 -07:00
Shazron Abdullah
3854bc429a Updated version to 1.0.4 2013-10-22 14:12:30 -07:00
Shazron Abdullah
2c99d25d53 Added -V, --version option 2013-10-22 14:10:52 -07:00
Shazron Abdullah
1fe3ce5244 Updated README 2013-10-22 14:01:00 -07:00
Shazron Abdullah
017b85e4e8 Use lldv instead of gdb debugger
from 621f67bd2d
2013-10-22 13:54:23 -07:00
Shazron Abdullah
79aff2586a Interim checkin for issue #5 to make it compile (still has runtime errors IndexError: list index out of range) 2013-09-19 14:31:56 -07:00
Shazron Abdullah
88db2f0555 v1.0.3 - support npm uninstall 2013-07-29 15:52:34 -07:00
Shazron Abdullah
ea8e9dd53b Updated version to 1.0.2 2013-07-27 00:37:26 -07:00
Henrik Nilsson
512e741f8b Use xcode-select to locate gdb binary.
Gdb command change from finish to continue and quit (from @HenrikNilsson)
2013-07-27 00:34:05 -07:00
Shazron Abdullah
8990de9566 Updated Makefile to install 'Latest' symlink (#2) 2013-07-27 00:27:11 -07:00
Shazron Abdullah
41165f433a Added package.json for npm install 2013-07-21 12:58:34 -07:00
5 changed files with 667 additions and 238 deletions

View File

@@ -1,5 +1,6 @@
IOS_CC = gcc IOS_CC = gcc -ObjC
IOS_SDK = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk IOS_SDK = $(shell xcode-select --print-path)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk
DEVICE_SUPPORT = $(shell xcode-select --print-path)/Platforms/iPhoneOS.platform/DeviceSupport
all: clean ios-deploy all: clean ios-deploy
@@ -10,17 +11,23 @@ demo.app: demo Info.plist
codesign -f -s "iPhone Developer" --entitlements Entitlements.plist demo.app codesign -f -s "iPhone Developer" --entitlements Entitlements.plist demo.app
demo: demo.c demo: demo.c
$(IOS_CC) -arch armv7 -isysroot $(IOS_SDK) -framework CoreFoundation -o demo demo.c $(IOS_CC) -g -arch armv7 -isysroot $(IOS_SDK) -framework CoreFoundation -o demo demo.c
ios-deploy: ios-deploy.c ios-deploy: clean ios-deploy.c
$(IOS_CC) -o ios-deploy -framework CoreFoundation -framework MobileDevice -F/System/Library/PrivateFrameworks ios-deploy.c $(IOS_CC) -g -o ios-deploy -framework Foundation -framework CoreFoundation -framework MobileDevice -F/System/Library/PrivateFrameworks ios-deploy.c
install: ios-deploy symlink:
cd $(DEVICE_SUPPORT); ln -sfn "`find . -type d -maxdepth 1 -exec basename {} \; | tail -1`" Latest
install: symlink ios-deploy
mkdir -p $(prefix)/bin mkdir -p $(prefix)/bin
cp ios-deploy $(prefix)/bin cp ios-deploy $(prefix)/bin
uninstall:
rm $(prefix)/bin/ios-deploy
debug: all 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

View File

@@ -448,6 +448,11 @@ void AMDAddLogFileDescriptor(int fd);
//kern_return_t AMDeviceSendMessage(service_conn_t socket, void *unused, CFPropertyListRef plist); //kern_return_t AMDeviceSendMessage(service_conn_t socket, void *unused, CFPropertyListRef plist);
//kern_return_t AMDeviceReceiveMessage(service_conn_t socket, CFDictionaryRef options, CFPropertyListRef * result); //kern_return_t AMDeviceReceiveMessage(service_conn_t socket, CFDictionaryRef options, CFPropertyListRef * result);
typedef int (*am_device_install_application_callback)(CFDictionaryRef, int);
mach_error_t AMDeviceInstallApplication(service_conn_t socket, CFStringRef path, CFDictionaryRef options, am_device_install_application_callback callback, void *user);
mach_error_t AMDeviceTransferApplication(service_conn_t socket, CFStringRef path, CFDictionaryRef options, am_device_install_application_callback callbackj, void *user);
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Semi-private routines * Semi-private routines
* ------------------------------------------------------------------------- */ * ------------------------------------------------------------------------- */

View File

@@ -10,10 +10,20 @@ Install and debug iPhone apps without using Xcode. Designed to work on unjailbro
## Usage ## Usage
* `ios-deploy [-d] -b <app> [device_id]` ./ios-deploy [OPTION]...
* Optional `-d` flag launches a remote GDB session after the app has been installed. -d, --debug launch the app in GDB after installation
* `<app>` must be an iPhone application bundle, *not* an IPA. -i, --id <device_id> the id of the device to connect to
* Optional `device_id`; useful when you have more than one iPhone/iPad connected. -c, --detect only detect if the device is connected
-b, --bundle <bundle.app> the path to the app bundle to be installed
-a, --args <args> command line arguments to pass to the app when launching it
-t, --timeout <timeout> number of seconds to wait for a device to be connected
-u, --unbuffered don't buffer stdout
-g, --gdbargs <args> extra arguments to pass to GDB when starting the debugger
-x, --gdbexec <file> GDB commands script file
-n, --nostart do not start the app when debugging
-v, --verbose enable verbose output
-m, --noinstall directly start debugging without app install (-d not required)
-V, --version print the executable version
## Demo ## Demo

File diff suppressed because it is too large Load Diff

20
package.json Normal file
View File

@@ -0,0 +1,20 @@
{
"name": "ios-deploy",
"version": "1.0.6",
"description": "launch iOS apps iOS devices from the command line (Xcode 4)",
"main": "ios-deploy",
"scripts": {
"preinstall": "make ios-deploy"
},
"bin" : "./ios-deploy" ,
"repository": {
"type": "git",
"url": "https://github.com/phonegap/ios-deploy"
},
"keywords": [
"ios-deploy",
"deploy to iOS device"
],
"author": "Greg Hughes",
"license": "GPLv3"
}