New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ios-deploy

Package Overview
Dependencies
Maintainers
9
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ios-deploy - npm Package Compare versions

Comparing version 1.9.4 to 1.10.0-beta.1

increment_version.sh

5

package.json
{
"name": "ios-deploy",
"version": "1.9.4",
"version": "1.10.0-beta.1",
"os": [

@@ -28,3 +28,4 @@ "darwin"

"test": "npm run eslint && npm run build-test",
"pycompile": "python -m py_compile src/scripts/*.py"
"pycompile": "python -m py_compile src/scripts/*.py",
"postversion": "echo \\\"$npm_package_version\\\" > src/ios-deploy/version.h"
},

@@ -31,0 +32,0 @@ "keywords": [

18

README.md

@@ -1,5 +0,6 @@

[![Build Status](https://travis-ci.org/phonegap/ios-deploy.svg?branch=master)](https://travis-ci.org/phonegap/ios-deploy)
[![Build Status](https://travis-ci.org/ios-control/ios-deploy.svg?branch=master)](https://travis-ci.org/ios-control/ios-deploy)
ios-deploy
==========
Install and debug iOS apps from the command line. Designed to work on un-jailbroken devices.

@@ -11,3 +12,3 @@

* You need to have a valid iOS Development certificate installed.
* Xcode 7 or greater should be installed (**NOT** Command Line Tools!)
* Xcode 7 or greater should be installed (**NOT** just Command Line Tools!)

@@ -23,5 +24,4 @@ ## Roadmap

## Installation
=======
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):
ios-deploy installation is made simple using the node.js package manager. If you use [Homebrew](https://brew.sh/), install [node.js](https://nodejs.org):

@@ -70,2 +70,3 @@ ```

-a, --args <args> command line arguments to pass to the app when launching it
-s, --envs <envs> environment variables, space separated key-value pairs, to pass to the app when launching it
-t, --timeout <timeout> number of seconds to wait for a device to be connected

@@ -82,5 +83,5 @@ -u, --unbuffered don't buffer stdout

-1, --bundle_id <bundle id> specify bundle id for list and upload
-l, --list list files
-l, --list[=<dir>] list all app files or the specified directory
-o, --upload <file> upload file
-w, --download download app tree
-w, --download[=<path>] download app tree or the specified file/directory
-2, --to <target pathname> use together with up/download file/tree. specify target

@@ -93,2 +94,3 @@ -D, --mkdir <dir> make directory on device

-W, --no-wifi ignore wifi devices
-O, --output <file> write stdout and stderr to this file
--detect_deadlocks <sec> start printing backtraces for all threads periodically after specific amount of seconds

@@ -103,2 +105,5 @@

// deploy, debug and pass environment variables to a connected device
ios-deploy --debug --envs DYLD_PRINT_STATISTICS=1 --bundle my.app
// deploy and debug your app to a connected device, skipping any wi-fi connection (use USB)

@@ -148,2 +153,3 @@ ios-deploy --debug --bundle my.app --no-wifi

## Notes
* `--detect_deadlocks` 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.

@@ -7,13 +7,7 @@ #!/usr/bin/env node

var XCODEBUILD_MIN_VERSION = 7.0;
var XCODEBUILD_NOT_FOUND_MESSAGE = util.format('Please install Xcode version %s or greater from the Mac App Store.', XCODEBUILD_MIN_VERSION);
var XCODEBUILD_NOT_FOUND_MESSAGE = 'Please install Xcode from the Mac App Store.';
var TOOL = 'xcodebuild';
var xcode_version = child_process.spawn(TOOL, ['-version']),
version_string = '';
var xcode_version = child_process.spawn(TOOL, ['-version']);
xcode_version.stdout.on('data', function (data) {
version_string += data;
});
xcode_version.stderr.on('data', function (data) {

@@ -29,15 +23,3 @@ console.log('stderr: ' + data);

if (code === 0) {
var arr = version_string.match(/^Xcode (\d+\.\d+)/);
var ver = arr[1];
if (os.release() >= '15.0.0' && ver < XCODEBUILD_MIN_VERSION) {
console.log(util.format('You need at least Xcode 7.0 when you are on OS X 10.11 El Capitan (you have version %s)', ver));
process.exit(1);
}
if (ver < XCODEBUILD_MIN_VERSION) {
console.log(util.format('%s : %s. (you have version %s)', TOOL, XCODEBUILD_NOT_FOUND_MESSAGE, ver));
}
if (os.release() >= '15.0.0') { // print the El Capitan warning
if (parseInt(os.release().split('.')[0]) >= 15) { // print the El Capitan warning
console.log('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');

@@ -48,3 +30,3 @@ console.log('!!!! WARNING: You are on OS X 10.11 El Capitan or greater, you may need to add the');

console.log('!!!! WARNING: link:');
console.log('!!!! WARNING: https://github.com/phonegap/ios-deploy#os-x-1011-el-capitan-or-greater');
console.log('!!!! WARNING: https://github.com/ios-control/ios-deploy#os-x-1011-el-capitan-or-greater');
console.log('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');

@@ -51,0 +33,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc