98 Commits

Author SHA1 Message Date
Linus Unnebäck 33c614265b Add back to code for --nolldb (-N) (#331) 2018-07-24 15:34:07 +08:00
Shazron Abdullah 9667eca85e Incremented version to 1.9.2 2017-09-05 17:06:00 +08:00
Shazron Abdullah 3656c1dc46 Merge branch 'master' into 1.x
# Conflicts:
#	src/ios-deploy/ios-deploy.m
#	src/scripts/lldb.py
2017-09-05 17:04:44 +08:00
Itay R 2602eac5fe add --nolldb (-N): start debugserver without lldb
Comes in hadny when one wishes to attach with an external debugserver client (e.g. a custom lldb or IDA)
2017-08-09 11:13:08 +03:00
Shazron Abdullah ce26934505 Merge pull request #307 from gusc/timeout-error-code
Return an error code when timeout occurs while running an app.
2017-08-08 17:54:42 -07:00
Shazron Abdullah 4124e66fb3 Merge pull request #299 from mstorsjo/search-path
Look for the developer disk image using more patterns as well
2017-08-08 17:37:08 -07:00
Gusts Kaksis 19b3f612d4 Additional devices - iPad Pro 2G 12.9", iPad (2017), iPad Pro 10.5" 2017-08-02 11:50:39 +03:00
Gusts Kaksis c2093b90d9 Added new iPad (2017) and iPad Pro 10.5" devices to device DB. 2017-07-31 13:56:54 +03:00
Gusts Kaksis 5d55cecdab Return an error code when timeout occurs while running an app. 2017-07-31 13:50:14 +03:00
Dmitriy Shesterkin dae708e553 Fixed: --detect didn't return any info for devices missed in the DB. It returns at least internal HardwareModel now. 2017-07-28 23:11:54 -03:00
Shazron Abdullah 77d904962a Merge pull request #304 from black-square/feature/detect_deadlocks-option
Added an option `--detect_deadlocks`
2017-07-28 16:35:23 -07:00
Dmitriy Shesterkin 39449238ae Added an option --detect_deadlocks which can help to identify an exact state of application's threads in case of a deadlock. It works like this: The user specifies the amount of time ios-deploy runs the app as usual. When the timeout is elapsed ios-deploy starts to print call-stacks of all threads every 5 seconds and the app keeps running. Comparing threads' call-stacks between each other helps to identify the threads which were stuck. 2017-07-28 17:55:00 -03:00
Dmitriy Shesterkin 69f3967b95 Fixed #301: ios-deploy doesn't handle NSLog 2017-07-28 17:53:46 -03:00
Martin Storsjö 62c6f09544 Look for the developer disk image using more patterns as well
Xcode 8.3.3 contains the following directories in
Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport:
10.0			8.1			9.1
10.1			8.2			9.2
10.2			8.3			9.3
10.3.1 (14E8301)	8.4
8.0			9.0

Despite this, this version of Xcode can run code on iOS devices
running iOS 10.3.2 as well.

Therefore try with a pattern of "<version>.*", which for 10.3.2
matches when the last version component has been stripped, into 10.3.

This fixes the latest occurrances of github issue #171.
2017-07-04 22:51:49 +03:00
Shazron Abdullah 52018c8cba Incremented version to 1.9.1 2017-01-27 12:16:22 -08:00
Shazron Abdullah 56a7bb9528 Merge branch 'master' into 1.x
# Conflicts:
#	ios-deploy.xcodeproj/xcshareddata/xcschemes/ios-deploy-tests.xcscheme
#	package.json
#	src/ios-deploy/ios-deploy.m
#	src/ios-deploy/version.h
#	src/scripts/check_reqs.js
#	src/scripts/lldb.py
2017-01-27 12:13:48 -08:00
Gusts Kaksis 35c2c55fd1 Change device listing output to display hw model even if device is not identified. Compare hw model case insensitively (fixes J85mAP != J85MAP issue). 2017-01-27 12:01:25 -08:00
Gusts Kaksis 76b2ab0198 Moved device database to a separate header. Added additional sdk and arch info to each device entry. Updated some missing definitions. Changed the full name output string format.
# Conflicts:
#	src/ios-deploy/ios-deploy.m
2017-01-27 11:58:42 -08:00
Dmitrii Shesterkin 839eadaa06 Merge remote-tracking branch 'remotes/phonegap/master' into IncorrectLogsOrder
# Conflicts:
#	src/scripts/lldb.py
2017-01-26 12:44:17 -04:00
Shazron Abdullah 85a8fe10fc Merge pull request #265 from black-square/slow_lldb_start2
Significantly reduced a time of lldb initialization when ios-deploy is used without `--justlaunch` flag
2017-01-25 23:50:03 -08:00
Shazron Abdullah 5f5a9a1a98 Merge pull request #264 from black-square/master
Fixed a problem with inability to pass arguments through command line parameters
2017-01-25 23:47:51 -08:00
Shazron Abdullah 1d25758fce Fixes #274 - Readme clarifications 2017-01-25 23:36:57 -08:00
Dmitriy Shesterkin 081be83eb7 - Fixed a problem when the noninteractive mode printed application logs in a wrong order. One line could be inserted into the middle of another one. (The order is very important for us as we parse the logs and retrieve some data automatically)
- Fixed a problem when iosdeploy in noninteractive mode (ran with XCode since version 8.0 only) started to add `(lldb) ` prefixes before it printed a game log. It added this prefix even in the middle of the line sometimes
- Added handling of additional states
2017-01-25 14:14:54 -04:00
Gusts Kaksis 258f07b294 Change device listing output to display hw model even if device is not identified. Compare hw model case insensitively (fixes J85mAP != J85MAP issue). 2016-11-02 11:47:31 +02:00
Dmitriy Shesterkin 46a371107e Removed a redundant search step when XCode is installed in the default location.
Added an execution time logging for `copy_xcode_path_for` function. (We have a buggy server which sometimes gets stuck there)
2016-10-27 12:41:39 -03:00