A-A+

mac os 上搭建ionic环境 开发IOS APP

2017年08月06日 APP开发 暂无评论 阅读 34 views 次
Last login: Sun Aug  6 09:09:26 on console
dgdeiMac:~ dg$ npm -v
-bash: npm: command not found
dgdeiMac:~ dg$ npm -v
-bash: npm: command not found
下载安装 nodes
 dgdeiMac:~ dg$ npm -v
5.3.0
更改为淘 镜像
dgdeiMac:~ dg$ npm install -g cnpm --registry=https://registry.npm.taobao.org
/usr/local/bin/cnpm -> /usr/local/lib/node_modules/cnpm/bin/cnpm
+ cnpm@5.1.0
added 642 packages in 220.268s
dgdeiMac:~ dg$ sudo cnpm install -g cordova ionic
Password:
Downloading cordova to /usr/local/lib/node_modules/cordova_tmp
Copying /usr/local/lib/node_modules/cordova_tmp/_cordova@7.0.1@cordova to /usr/local/lib/node_modules/cordova
Installing cordova's dependencies to /usr/local/lib/node_modules/cordova/node_modules
[1/8] editor@1.0.0 installed at node_modules/_editor@1.0.0@editor
[2/8] q@1.0.1 installed at node_modules/_q@1.0.1@q
[3/8] nopt@3.0.1 installed at node_modules/_nopt@3.0.1@nopt
[4/8] configstore@2.1.0 installed at node_modules/_configstore@2.1.0@configstore
[5/8] cordova-common@2.0.3 installed at node_modules/_cordova-common@2.0.3@cordova-common
[6/8] update-notifier@0.5.0 installed at node_modules/_update-notifier@0.5.0@update-notifier
[7/8] insight@0.8.2 installed at node_modules/_insight@0.8.2@insight
[8/8] cordova-lib@7.0.1 installed at node_modules/_cordova-lib@7.0.1@cordova-lib
deprecate insight@0.8.2 › node-uuid@^1.4.7 Use uuid module instead
Recently updated (since 2017-07-30): 5 packages (detail see file /usr/local/lib/node_modules/cordova/node_modules/.recently_updates.txt)
  2017-08-05
    → cordova-lib@7.0.1 › cordova-serve@1.0.1 › express@4.15.3 › send@0.15.3 › http-errors@~1.6.1(1.6.2) (12:08:45)
  2017-08-04
    → cordova-lib@7.0.1 › cordova-serve@1.0.1 › express@4.15.3 › finalhandler@~1.0.3(1.0.4) (12:01:28)
  2017-08-03
    → insight@0.8.2 › request@2.81.0 › http-signature@1.1.1 › jsprim@^1.2.2(1.4.1) (00:29:57)
  2017-08-02
    → update-notifier@0.5.0 › latest-version@1.0.1 › package-json@1.2.0 › got@3.3.1 › duplexify@^3.2.0(3.5.1) (04:44:06)
    → cordova-lib@7.0.1 › cordova-js@4.2.1 › browserify@13.3.0 › crypto-browserify@3.11.1 › pbkdf2@^3.0.3(3.0.13) (20:53:42)
All packages installed (387 packages installed from npm registry, used 1m, speed 304.21kB/s, json 353(642.07kB), tarball 17.63MB)
[cordova@7.0.1] link /usr/local/bin/cordova@ -> /usr/local/lib/node_modules/cordova/bin/cordova
Downloading ionic to /usr/local/lib/node_modules/ionic_tmp
Copying /usr/local/lib/node_modules/ionic_tmp/_ionic@3.7.0@ionic to /usr/local/lib/node_modules/ionic
Installing ionic's dependencies to /usr/local/lib/node_modules/ionic/node_modules
[1/11] minimist@^1.2.0 installed at node_modules/_minimist@1.2.0@minimist
[2/11] semver@^5.3.0 installed at node_modules/_semver@5.4.1@semver
[3/11] ssh-config@^1.0.1 installed at node_modules/_ssh-config@1.0.1@ssh-config
[4/11] tslib@^1.7.1 installed at node_modules/_tslib@1.7.1@tslib
[5/11] os-name@^2.0.1 installed at node_modules/_os-name@2.0.1@os-name
[6/11] opn@^5.1.0 installed at node_modules/_opn@5.1.0@opn
[7/11] diff@^3.2.0 installed at node_modules/_diff@3.3.0@diff
[8/11] chalk@^2.0.0 installed at node_modules/_chalk@2.0.1@chalk
[9/11] rimraf@^2.6.1 installed at node_modules/_rimraf@2.6.1@rimraf
[10/11] tar@^2.2.1 installed at node_modules/_tar@2.2.1@tar
[11/11] @ionic/cli-utils@1.7.0 installed at node_modules/_@ionic_cli-utils@1.7.0@@ionic/cli-utils
Recently updated (since 2017-07-30): 2 packages (detail see file /usr/local/lib/node_modules/ionic/node_modules/.recently_updates.txt)
  2017-08-03
    → @ionic/cli-utils@1.7.0(1.7.0) (09:22:50)
  2017-08-01
    → @ionic/cli-utils@1.7.0 › cross-spawn@5.1.0 › which@^1.2.9(1.3.0) (08:54:54)
All packages installed (128 packages installed from npm registry, used 23s, speed 109.09kB/s, json 127(211.52kB), tarball 2.22MB)
[ionic@3.7.0] link /usr/local/bin/ionic@ -> /usr/local/lib/node_modules/ionic/bin/ionic
dgdeiMac:~ dg$ ionic info
? The Ionic CLI can automatically check for CLI updates in the background. Would
 you like to enable this? Yes
[WARN] You are not in an Ionic project directory. Project context may be
       missing.

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.7.0
    ionic (Ionic CLI) : 3.7.0

System:

    Node  : v8.2.1
    OS    : macOS Sierra
    Xcode : Xcode 8.3.3 Build version 8E3004b 
    npm   : 5.3.0 


dgdeiMac:~ dg$ 
dgdeiMac:~ dg$ cd ./Desktop
dgdeiMac:Desktop dg$ ionic start demo_1
? What starter would you like to use: tabs
? Would you like to integrate your new app with Cordova to target native iOS and
 Android? Yes
[WARN] Git CLI not found on your PATH. You may wish to install it to version
       control your app.
       See installation docs for git:

https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

       Use --no-git to disable this warning.
       
✔ Creating directory ./demo_1 - done!
[INFO] Fetching app base
       (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
✔ Downloading - done!
[INFO] Fetching starter template tabs
       (https://github.com/ionic-team/ionic2-starter-tabs/archive/master.tar.gz)
✔ Downloading - done!
✔ Updating package.json with app details - done!
✔ Creating configuration file ionic.config.json - done!
[INFO] Installing dependencies may take several minutes!
> npm install
✖ Running command - failed!
[ERROR] An error occurred while running npm install (exit code 1):
        
        npm WARN deprecated object-keys@0.2.0: Please update to the latest
        object-keys
        npm WARN ajv-keywords@2.1.0 requires a peer of ajv@>=5.0.0 but none was
        installed.
        
        npm ERR! code EINTEGRITY
        npm ERR! sha1-PTgyGCgjHkNPKHUUlZw3qCtin0I= integrity checksum failed
        when using sha1: wanted sha1-PTgyGCgjHkNPKHUUlZw3qCtin0I= but got
        sha1-LUCjHmnMetb/8DT/yZvJvz47q5Y=. (360092 bytes)
        
        npm ERR! A complete log of this run can be found in:
        npm ERR! /Users/dg/.npm/_logs/2017-08-06T01_57_10_980Z-debug.log
        
dgdeiMac:Desktop dg$ cd demo_1/
dgdeiMac:demo_1 dg$ cnpm install
✔ Installed 19 packages
✔ Linked 549 latest versions
Downloading binary from https://npm.taobao.org/mirrors/node-sass/v4.5.3/darwin-x64-57_binding.node
Download complete
Binary saved to /Users/dg/Desktop/demo_1/node_modules/_node-sass@4.5.3@node-sass/vendor/darwin-x64-57/binding.node
Caching binary to /Users/dg/.npminstall_tarball/node-sass/4.5.3/darwin-x64-57_binding.node
Binary found at /Users/dg/Desktop/demo_1/node_modules/_node-sass@4.5.3@node-sass/vendor/darwin-x64-57/binding.node
Testing binary
Binary is fine
[fsevents] Success: "/Users/dg/Desktop/demo_1/node_modules/_fsevents@1.1.2@fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
✔ Run 3 scripts
deprecate @ionic/app-scripts@2.1.3 › rollup-plugin-node-builtins@2.1.2 › browserify-fs@1.0.0 › level-filesystem@1.2.0 › level-sublevel@5.2.3 › xtend@2.0.6 › object-keys@~0.2.0 Please update to the latest object-keys
Recently updated (since 2017-07-30): 11 packages (detail see file /Users/dg/Desktop/demo_1/node_modules/.recently_updates.txt)
✔ All packages installed (637 packages installed from npm registry, used 1m, speed 478.2kB/s, json 568(1.15MB), tarball 33.43MB)
dgdeiMac:demo_1 dg$ sudo ionic platform add ios
Password:
The platform command has been renamed. To find out more, run:

  ionic cordova platform --help

dgdeiMac:demo_1 dg$ ionic cordova platform --help
[WARN] No local CLI detected.
       Starting with CLI 3.6, the CLI must be installed locally to use local CLI plugins.
       
? Install now? Yes
> npm install --save-dev --save-exact ionic@latest
⠏ Running command ^C
dgdeiMac:demo_1 dg$ cnpm install --save-dev --save-exact ionic@latest
✔ Installed 1 packages
✔ Linked 90 latest versions
✔ Run 0 scripts
Recently updated (since 2017-07-30): 2 packages (detail see file /Users/dg/Desktop/demo_1/node_modules/.recently_updates.txt)
✔ All packages installed (58 packages installed from npm registry, used 6s, speed 255.8kB/s, json 91(224.38kB), tarball 1.34MB)
dgdeiMac:demo_1 dg$ ionic cordova platform --help
? Looks like this is an Ionic Angular project, would you like to install @ionic/cli-plugin-ionic-angular and continue? Yes
> npm install --save-dev --save-exact @ionic/cli-plugin-ionic-angular@latest
⠼ Running command ^C
dgdeiMac:demo_1 dg$ cnpm install --save-dev --save-exact @ionic/cli-plugin-ionic-angular@latest
✔ Installed 1 packages
✔ Linked 3 latest versions
✔ Run 0 scripts
Recently updated (since 2017-07-30): 1 packages (detail see file /Users/dg/Desktop/demo_1/node_modules/.recently_updates.txt)
✔ All packages installed (1 packages installed from npm registry, used 667ms, speed 71kB/s, json 4(42.32kB), tarball 5.03kB)
dgdeiMac:demo_1 dg$ ionic cordova platform --help
[ERROR] Unable to find command: cordova platform
        
   _             _
  (_)           (_)
   _  ___  _ __  _  ___
  | |/ _ \| '_ \| |/ __|
  | | (_) | | | | | (__
  |_|\___/|_| |_|_|\___|  CLI 3.7.0


  Usage:

    $ ionic <command> [<args>] [--help] [--verbose] [--quiet] [--no-interactive] [--confirm] [options]

  Global Commands:

    docs ..................... Open the Ionic documentation website
    info ..................... Print system/environment info
    login .................... Login with your Ionic ID
    signup ................... Create an Ionic account
    start .................... Create a new project
    telemetry ................ Opt in and out of telemetry
    config get ............... Print config values
    config set ............... Set config values

  Project Commands:

    build .................... Build web assets and prepare your app for any platform targets
    generate ................. Generate pipes, components, pages, directives, providers, and tabs (ionic-angular >=
                               3.0.0) (alias: g)
    link ..................... Connect your local app to Ionic
    serve .................... Start a local dev server for app dev/testing
    upload ................... Upload a new snapshot of your app
    package build ............ Start a package build
    package download ......... Download your packaged app
    package info ............. Get info about a build
    package list ............. List your cloud builds

dgdeiMac:demo_1 dg$ cnpm install -g ios-deploy

Downloading ios-deploy to /usr/local/lib/node_modules/ios-deploy_tmp

Copying /usr/local/lib/node_modules/ios-deploy_tmp/_ios-deploy@1.9.1@ios-deploy to /usr/local/lib/node_modules/ios-deploy

Installing ios-deploy's dependencies to /usr/local/lib/node_modules/ios-deploy/node_modules

scripts.preinstall ios-deploy@1.9.1  "./src/scripts/check_reqs.js && xcodebuild"

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!! WARNING: You are on OS X 10.11 El Capitan or greater, you may need to add the

!!!! WARNING:   `--unsafe-perm=true` flag when running `npm install`

!!!! WARNING:   or else it will fail.

!!!! WARNING: link:

!!!! WARNING:   https://github.com/phonegap/ios-deploy#os-x-1011-el-capitan

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.



Install fail! Error: Run "sh -c ./src/scripts/check_reqs.js && xcodebuild" error, exit code 69

Error: Run "sh -c ./src/scripts/check_reqs.js && xcodebuild" error, exit code 69

    at ChildProcess.proc.on.code (/usr/local/lib/node_modules/cnpm/node_modules/runscript/index.js:74:21)

    at emitTwo (events.js:125:13)

    at ChildProcess.emit (events.js:213:7)

    at maybeClose (internal/child_process.js:921:16)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

npminstall version: 3.1.1

npminstall args: /usr/local/bin/node /usr/local/lib/node_modules/cnpm/node_modules/npminstall/bin/install.js --china --userconfig=/Users/dg/.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=http://registry.npm.taobao.org -g ios-deploy

dgdeiMac:demo_1 dg$ ionic cordova build ios --prod

? The plugin @ionic/cli-plugin-cordova is not installed. Would you like to inst

all it and continue? Yes

> npm install --save-dev --save-exact @ionic/cli-plugin-cordova@latest

Running command ^C

dgdeiMac:demo_1 dg$ cnpm install --save-dev --save-exact @ionic/cli-plugin-cordova@latest

✔ Installed 1 packages

✔ Linked 5 latest versions

✔ Run 0 scripts

Recently updated (since 2017-07-30): 1 packages (detail see file /Users/dg/Desktop/demo_1/node_modules/.recently_updates.txt)

✔ All packages installed (3 packages installed from npm registry, used 2s, speed 734.71kB/s, json 6(47kB), tarball 1.04MB)

dgdeiMac:demo_1 dg$ cnpm install -g ios-deploy

Downloading ios-deploy to /usr/local/lib/node_modules/ios-deploy_tmp

Copying /usr/local/lib/node_modules/ios-deploy_tmp/_ios-deploy@1.9.1@ios-deploy to /usr/local/lib/node_modules/ios-deploy

Installing ios-deploy's dependencies to /usr/local/lib/node_modules/ios-deploy/node_modules

scripts.preinstall ios-deploy@1.9.1  "./src/scripts/check_reqs.js && xcodebuild"

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!! WARNING: You are on OS X 10.11 El Capitan or greater, you may need to add the

!!!! WARNING:   `--unsafe-perm=true` flag when running `npm install`

!!!! WARNING:   or else it will fail.

!!!! WARNING: link:

!!!! WARNING:   https://github.com/phonegap/ios-deploy#os-x-1011-el-capitan

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.



Install fail! Error: Run "sh -c ./src/scripts/check_reqs.js && xcodebuild" error, exit code 69

Error: Run "sh -c ./src/scripts/check_reqs.js && xcodebuild" error, exit code 69

    at ChildProcess.proc.on.code (/usr/local/lib/node_modules/cnpm/node_modules/runscript/index.js:74:21)

    at emitTwo (events.js:125:13)

    at ChildProcess.emit (events.js:213:7)

    at maybeClose (internal/child_process.js:921:16)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

npminstall version: 3.1.1

npminstall args: /usr/local/bin/node /usr/local/lib/node_modules/cnpm/node_modules/npminstall/bin/install.js --china --userconfig=/Users/dg/.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=http://registry.npm.taobao.org -g ios-deploy

dgdeiMac:demo_1 dg$ sudo cnpm install -g ios-deploy

Password:

Downloading ios-deploy to /usr/local/lib/node_modules/ios-deploy_tmp

Copying /usr/local/lib/node_modules/ios-deploy_tmp/_ios-deploy@1.9.1@ios-deploy to /usr/local/lib/node_modules/ios-deploy

Installing ios-deploy's dependencies to /usr/local/lib/node_modules/ios-deploy/node_modules

scripts.preinstall ios-deploy@1.9.1  "./src/scripts/check_reqs.js && xcodebuild"

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!! WARNING: You are on OS X 10.11 El Capitan or greater, you may need to add the

!!!! WARNING:   `--unsafe-perm=true` flag when running `npm install`

!!!! WARNING:   or else it will fail.

!!!! WARNING: link:

!!!! WARNING:   https://github.com/phonegap/ios-deploy#os-x-1011-el-capitan

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.


Hit the Enter key to view the license agreements at '/Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf'

Using an Apple ID

  1. Open Xcode preferences (Xcode > Preferences…)
  2. Click the ‘Accounts’ tab
  3. Login with your Apple ID (+ > Add Apple ID…)

2017-08-06_104516

安装command line tools:
 
 

dgdeiMac:demo_1 dg$ xcode-select --install

xcode-select: note: install requested for command line developer tools


dgdeiMac:demo_1 dg$ sudo cnpm install -g ios-sim
Password:
Downloading ios-sim to /usr/local/lib/node_modules/ios-sim_tmp
Copying /usr/local/lib/node_modules/ios-sim_tmp/_ios-sim@6.0.0@ios-sim to /usr/local/lib/node_modules/ios-sim
Installing ios-sim's dependencies to /usr/local/lib/node_modules/ios-sim/node_modules
[1/4] bplist-parser@^0.0.6 installed at node_modules/_bplist-parser@0.0.6@bplist-parser
[2/4] nopt@1.0.9 installed at node_modules/_nopt@1.0.9@nopt
[3/4] simctl@^1.0.0 installed at node_modules/_simctl@1.0.1@simctl
[4/4] plist@^1.2.0 installed at node_modules/_plist@1.2.0@plist
All packages installed (12 packages installed from npm registry, used 7s, speed 52.67kB/s, json 12(24.95kB), tarball 366.57kB)
[ios-sim@6.0.0] link /usr/local/bin/ios-sim@ -> /usr/local/lib/node_modules/ios-sim/bin/ios-sim
dgdeiMac:demo_1 dg$ sudo cnpm install -g ios-deploy
Downloading ios-deploy to /usr/local/lib/node_modules/ios-deploy_tmp
Copying /usr/local/lib/node_modules/ios-deploy_tmp/_ios-deploy@1.9.1@ios-deploy to /usr/local/lib/node_modules/ios-deploy
Installing ios-deploy's dependencies to /usr/local/lib/node_modules/ios-deploy/node_modules
scripts.preinstall ios-deploy@1.9.1  "./src/scripts/check_reqs.js && xcodebuild"
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!! WARNING: You are on OS X 10.11 El Capitan or greater, you may need to add the
!!!! WARNING:   `--unsafe-perm=true` flag when running `npm install`
!!!! WARNING:   or else it will fail.
!!!! WARNING: link:
!!!! WARNING:   https://github.com/phonegap/ios-deploy#os-x-1011-el-capitan
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=== BUILD TARGET ios-deploy-lib OF PROJECT ios-deploy WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies

Write auxiliary files
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/ios-deploy.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/ios-deploy-project-headers.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/ios-deploy-all-target-headers.hmap
/bin/mkdir -p /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/Objects-normal/x86_64
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/Objects-normal/x86_64/ios-deploy.LinkFileList
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/ios-deploy-own-target-headers.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/ios-deploy-generated-files.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/ios-deploy-all-non-framework-target-headers.hmap

CompileC build/ios-deploy.build/Release/ios-deploy-lib.build/Objects-normal/x86_64/libios_deploy.o src/ios-deploy-lib/libios_deploy.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /usr/local/lib/node_modules/ios-deploy
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=80 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -Wno-sign-conversion -Winfinite-recursion -iquote /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/ios-deploy-generated-files.hmap -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/ios-deploy-own-target-headers.hmap -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/ios-deploy-all-target-headers.hmap -iquote /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/ios-deploy-project-headers.hmap -I/usr/local/lib/node_modules/ios-deploy/build/Release/include -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/DerivedSources/x86_64 -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/DerivedSources -F/usr/local/lib/node_modules/ios-deploy/build/Release -fno-objc-arc -MMD -MT dependencies -MF /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/Objects-normal/x86_64/libios_deploy.d --serialize-diagnostics /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/Objects-normal/x86_64/libios_deploy.dia -c /usr/local/lib/node_modules/ios-deploy/src/ios-deploy-lib/libios_deploy.m -o /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/Objects-normal/x86_64/libios_deploy.o

Libtool build/Release/libios-deploy.a normal x86_64
    cd /usr/local/lib/node_modules/ios-deploy
    export MACOSX_DEPLOYMENT_TARGET=10.11
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -L/usr/local/lib/node_modules/ios-deploy/build/Release -filelist /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy-lib.build/Objects-normal/x86_64/ios-deploy.LinkFileList -framework CoreFoundation -framework Foundation -o /usr/local/lib/node_modules/ios-deploy/build/Release/libios-deploy.a

CpHeader src/ios-deploy-lib/libios_deploy.h build/Release/libios_deploy.h
    cd /usr/local/lib/node_modules/ios-deploy
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /usr/local/lib/node_modules/ios-deploy/src/ios-deploy-lib/libios_deploy.h /usr/local/lib/node_modules/ios-deploy/build/Release

=== BUILD TARGET ios-deploy OF PROJECT ios-deploy WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies

Write auxiliary files
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Script-7EDCC3CF1C45E03B002F9851.sh
chmod 0755 /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Script-7EDCC3CF1C45E03B002F9851.sh
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-project-headers.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-own-target-headers.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-all-non-framework-target-headers.hmap
/bin/mkdir -p /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.LinkFileList
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-generated-files.hmap
write-file /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-all-target-headers.hmap

PhaseScriptExecution Run\ Script build/ios-deploy.build/Release/ios-deploy.build/Script-7EDCC3CF1C45E03B002F9851.sh
    cd /usr/local/lib/node_modules/ios-deploy
    export ACTION=build
    export ALTERNATE_GROUP=wheel
    export ALTERNATE_MODE=u+w,go-w,a+rX
    export ALTERNATE_OWNER=root
    export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO
    export ALWAYS_SEARCH_USER_PATHS=NO
    export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
    export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
    export APPLE_INTERNAL_DIR=/AppleInternal
    export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
    export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
    export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
    export APPLICATION_EXTENSION_API_ONLY=NO
    export APPLY_RULES_IN_COPY_FILES=NO
    export ARCHS=x86_64
    export ARCHS_STANDARD=x86_64
    export ARCHS_STANDARD_32_64_BIT="x86_64 i386"
    export ARCHS_STANDARD_32_BIT=i386
    export ARCHS_STANDARD_64_BIT=x86_64
    export ARCHS_STANDARD_INCLUDING_64_BIT=x86_64
    export AVAILABLE_PLATFORMS="appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator"
    export BITCODE_GENERATION_MODE=marker
    export BUILD_ACTIVE_RESOURCES_ONLY=NO
    export BUILD_COMPONENTS="headers build"
    export BUILD_DIR=/usr/local/lib/node_modules/ios-deploy/build
    export BUILD_ROOT=/usr/local/lib/node_modules/ios-deploy/build
    export BUILD_STYLE=
    export BUILD_VARIANTS=normal
    export BUILT_PRODUCTS_DIR=/usr/local/lib/node_modules/ios-deploy/build/Release
    export CACHE_ROOT=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/8.3.3-8E3004b/Xcode
    export CCHROOT=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/8.3.3-8E3004b/Xcode
    export CHMOD=/bin/chmod
    export CHOWN=/usr/sbin/chown
    export CLANG_CXX_LANGUAGE_STANDARD=gnu++0x
    export CLANG_CXX_LIBRARY=libc++
    export CLANG_ENABLE_MODULES=YES
    export CLANG_ENABLE_OBJC_ARC=YES
    export CLANG_MODULES_BUILD_SESSION_FILE=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/org.llvm.clang/ModuleCache/Session.modulevalidation
    export CLANG_WARN_BOOL_CONVERSION=YES
    export CLANG_WARN_CONSTANT_CONVERSION=YES
    export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
    export CLANG_WARN_EMPTY_BODY=YES
    export CLANG_WARN_ENUM_CONVERSION=YES
    export CLANG_WARN_INFINITE_RECURSION=YES
    export CLANG_WARN_INT_CONVERSION=YES
    export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
    export CLANG_WARN_SUSPICIOUS_MOVE=YES
    export CLANG_WARN_UNREACHABLE_CODE=YES
    export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
    export CLASS_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/JavaClasses
    export CLEAN_PRECOMPS=YES
    export CLONE_HEADERS=NO
    export CODESIGNING_FOLDER_PATH=/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy
    export CODE_SIGNING_ALLOWED=YES
    export COLOR_DIAGNOSTICS=YES
    export COMBINE_HIDPI_IMAGES=NO
    export COMMAND_MODE=legacy
    export COMPOSITE_SDK_DIRS=/usr/local/lib/node_modules/ios-deploy/build/CompositeSDKs
    export COMPRESS_PNG_FILES=NO
    export CONFIGURATION=Release
    export CONFIGURATION_BUILD_DIR=/usr/local/lib/node_modules/ios-deploy/build/Release
    export CONFIGURATION_TEMP_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release
    export COPYING_PRESERVES_HFS_DATA=NO
    export COPY_HEADERS_RUN_UNIFDEF=NO
    export COPY_PHASE_STRIP=NO
    export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
    export CP=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
    export CURRENT_ARCH=x86_64
    export CURRENT_VARIANT=normal
    export DEAD_CODE_STRIPPING=NO
    export DEBUGGING_SYMBOLS=YES
    export DEBUG_INFORMATION_FORMAT=dwarf-with-dsym
    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
    export DEFAULT_KEXT_INSTALL_PATH=/Library/Extensions
    export DEFINES_MODULE=NO
    export DEPLOYMENT_LOCATION=NO
    export DEPLOYMENT_POSTPROCESSING=NO
    export DEPLOYMENT_TARGET_CLANG_ENV_NAME=MACOSX_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=mmacosx-version-min
    export DEPLOYMENT_TARGET_SETTING_NAME=MACOSX_DEPLOYMENT_TARGET
    export DERIVED_FILES_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/DerivedSources
    export DERIVED_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/DerivedSources
    export DERIVED_SOURCES_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/DerivedSources
    export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
    export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
    export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export DEVELOPMENT_LANGUAGE=English
    export DO_HEADER_SCANNING_IN_JAM=NO
    export DSTROOT=/tmp/ios-deploy.dst
    export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME=ios-deploy.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
    export DWARF_DSYM_FOLDER_PATH=/usr/local/lib/node_modules/ios-deploy/build/Release
    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
    export EMBEDDED_PROFILE_NAME=embedded.provisionprofile
    export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
    export ENABLE_BITCODE=NO
    export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
    export ENABLE_HEADER_DEPENDENCIES=YES
    export ENABLE_NS_ASSERTIONS=NO
    export ENABLE_ON_DEMAND_RESOURCES=NO
    export ENABLE_STRICT_OBJC_MSGSEND=YES
    export ENABLE_TESTABILITY=NO
    export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
    export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj"
    export EXECUTABLE_NAME=ios-deploy
    export EXECUTABLE_PATH=ios-deploy
    export EXPANDED_CODE_SIGN_IDENTITY=
    export EXPANDED_CODE_SIGN_IDENTITY_NAME=
    export EXPANDED_PROVISIONING_PROFILE=
    export FILE_LIST=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects/LinkFileList
    export FIXED_FILES_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/FixedFiles
    export FRAMEWORK_FLAG_PREFIX=-framework
    export FRAMEWORK_SEARCH_PATHS="/usr/local/lib/node_modules/ios-deploy/build/Release "
    export FRAMEWORK_VERSION=A
    export FULL_PRODUCT_NAME=ios-deploy
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu99
    export GCC_DYNAMIC_NO_PIC=NO
    export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
    export GCC_NO_COMMON_BLOCKS=YES
    export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
    export GCC_SYMBOLS_PRIVATE_EXTERN=YES
    export GCC_TREAT_WARNINGS_AS_ERRORS=NO
    export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
    export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
    export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
    export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
    export GCC_WARN_UNDECLARED_SELECTOR=YES
    export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
    export GCC_WARN_UNUSED_FUNCTION=YES
    export GCC_WARN_UNUSED_VARIABLE=YES
    export GENERATE_MASTER_OBJECT_FILE=NO
    export GENERATE_PKGINFO_FILE=NO
    export GENERATE_PROFILING_CODE=NO
    export GENERATE_TEXT_BASED_STUBS=NO
    export GID=0
    export GROUP=wheel
    export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
    export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
    export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
    export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
    export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
    export HEADERMAP_USES_VFS=NO
    export HEADER_SEARCH_PATHS="/usr/local/lib/node_modules/ios-deploy/build/Release/include "
    export HIDE_BITCODE_SYMBOLS=YES
    export HOME=/var/root
    export ICONV=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
    export INFOPLIST_OUTPUT_FORMAT=same-as-input
    export INFOPLIST_PREPROCESS=NO
    export INLINE_PRIVATE_FRAMEWORKS=NO
    export INSTALLHDRS_COPY_PHASE=NO
    export INSTALLHDRS_SCRIPT_PHASE=NO
    export INSTALL_DIR=/tmp/ios-deploy.dst/usr/local/bin
    export INSTALL_GROUP=wheel
    export INSTALL_MODE_FLAG=u+w,go-w,a+rX
    export INSTALL_OWNER=root
    export INSTALL_PATH=/usr/local/bin
    export INSTALL_ROOT=/tmp/ios-deploy.dst
    export JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
    export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    export JAVA_ARCHIVE_CLASSES=YES
    export JAVA_ARCHIVE_TYPE=JAR
    export JAVA_COMPILER=/usr/bin/javac
    export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
    export JAVA_JAR_FLAGS=cv
    export JAVA_SOURCE_SUBDIR=.
    export JAVA_USE_DEPENDENCIES=YES
    export JAVA_ZIP_FLAGS=-urg
    export JIKES_DEFAULT_FLAGS="+E +OLDCSO"
    export KEEP_PRIVATE_EXTERNS=NO
    export LD_DEPENDENCY_INFO_FILE=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy_dependency_info.dat
    export LD_GENERATE_MAP_FILE=NO
    export LD_MAP_FILE_PATH=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-LinkMap-normal-x86_64.txt
    export LD_NO_PIE=NO
    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
    export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    export LEX=lex
    export LIBRARY_FLAG_NOSPACE=YES
    export LIBRARY_FLAG_PREFIX=-l
    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
    export LIBRARY_SEARCH_PATHS="/usr/local/lib/node_modules/ios-deploy/build/Release "
    export LINKER_DISPLAYS_MANGLED_NAMES=NO
    export LINK_FILE_LIST_normal_x86_64=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.LinkFileList
    export LINK_WITH_STANDARD_LIBRARIES=YES
    export LOCALIZABLE_CONTENT_DIR=
    export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
    export LOCAL_APPS_DIR=/Applications
    export LOCAL_DEVELOPER_DIR=/Library/Developer
    export LOCAL_LIBRARY_DIR=/Library
    export LOCROOT=
    export LOCSYMROOT=
    export MACOSX_DEPLOYMENT_TARGET=10.8
    export MAC_OS_X_PRODUCT_BUILD_VERSION=16A323
    export MAC_OS_X_VERSION_ACTUAL=101200
    export MAC_OS_X_VERSION_MAJOR=101200
    export MAC_OS_X_VERSION_MINOR=1200
    export METAL_LIBRARY_FILE_BASE=default
    export METAL_LIBRARY_OUTPUT_DIR=/usr/local/lib/node_modules/ios-deploy/build/Release/
    export MTL_ENABLE_DEBUG_INFO=NO
    export NATIVE_ARCH=i386
    export NATIVE_ARCH_32_BIT=i386
    export NATIVE_ARCH_64_BIT=x86_64
    export NATIVE_ARCH_ACTUAL=x86_64
    export NO_COMMON=YES
    export OBJECT_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects
    export OBJECT_FILE_DIR_normal=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal
    export OBJROOT=/usr/local/lib/node_modules/ios-deploy/build
    export ONLY_ACTIVE_ARCH=NO
    export OS=MACOS
    export OSAC=/usr/bin/osacompile
    export OTHER_LDFLAGS="-framework MobileDevice -F/System/Library/PrivateFrameworks"
    export PACKAGE_TYPE=com.apple.package-type.mach-o-executable
    export PASCAL_STRINGS=YES
    export PATH="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/usr/local/lib/node_modules/cnpm/node_modules/npminstall/node-gyp-bin:/usr/local/lib/node_modules/ios-deploy/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
    export PFE_FILE_C_DIALECTS=objective-c
    export PKGINFO_FILE_PATH=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/PkgInfo
    export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
    export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
    export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
    export PLATFORM_DISPLAY_NAME=macOS
    export PLATFORM_NAME=macosx
    export PLATFORM_PREFERRED_ARCH=x86_64
    export PLATFORM_PRODUCT_BUILD_VERSION=8E3004b
    export PLIST_FILE_OUTPUT_FORMAT=same-as-input
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
    export PRECOMP_DESTINATION_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
    export PRODUCT_MODULE_NAME=ios_deploy
    export PRODUCT_NAME=ios-deploy
    export PRODUCT_SETTINGS_PATH=
    export PRODUCT_TYPE=com.apple.product-type.tool
    export PROFILING_CODE=NO
    export PROJECT=ios-deploy
    export PROJECT_DERIVED_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/DerivedSources
    export PROJECT_DIR=/usr/local/lib/node_modules/ios-deploy
    export PROJECT_FILE_PATH=/usr/local/lib/node_modules/ios-deploy/ios-deploy.xcodeproj
    export PROJECT_NAME=ios-deploy
    export PROJECT_TEMP_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build
    export PROJECT_TEMP_ROOT=/usr/local/lib/node_modules/ios-deploy/build
    export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
    export REMOVE_CVS_FROM_RESOURCES=YES
    export REMOVE_GIT_FROM_RESOURCES=YES
    export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
    export REMOVE_HG_FROM_RESOURCES=YES
    export REMOVE_SVN_FROM_RESOURCES=YES
    export REZ_COLLECTOR_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ResourceManagerResources
    export REZ_EXECUTABLE=YES
    export REZ_OBJECTS_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS="/usr/local/lib/node_modules/ios-deploy/build/Release "
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
    export SCRIPT_INPUT_FILE_COUNT=0
    export SCRIPT_OUTPUT_FILE_COUNT=0
    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
    export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
    export SDK_DIR_macosx10_12=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
    export SDK_NAME=macosx10.12
    export SDK_NAMES=macosx10.12
    export SDK_PRODUCT_BUILD_VERSION=16E185
    export SDK_VERSION=10.12
    export SDK_VERSION_ACTUAL=101200
    export SDK_VERSION_MAJOR=101200
    export SDK_VERSION_MINOR=1200
    export SED=/usr/bin/sed
    export SEPARATE_STRIP=NO
    export SEPARATE_SYMBOL_EDIT=NO
    export SET_DIR_MODE_OWNER_GROUP=YES
    export SET_FILE_MODE_OWNER_GROUP=NO
    export SHALLOW_BUNDLE=NO
    export SHARED_DERIVED_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/Release/DerivedSources
    export SHARED_PRECOMPS_DIR=/usr/local/lib/node_modules/ios-deploy/build/SharedPrecompiledHeaders
    export SKIP_INSTALL=NO
    export SOURCE_ROOT=/usr/local/lib/node_modules/ios-deploy
    export SRCROOT=/usr/local/lib/node_modules/ios-deploy
    export STRINGS_FILE_OUTPUT_ENCODING=UTF-16
    export STRIP_BITCODE_FROM_COPIED_FILES=NO
    export STRIP_INSTALLED_PRODUCT=YES
    export STRIP_PNG_TEXT=NO
    export STRIP_STYLE=all
    export SUPPORTED_PLATFORMS=macosx
    export SUPPORTS_TEXT_BASED_API=NO
    export SWIFT_PLATFORM_TARGET_PREFIX=macosx
    export SYMROOT=/usr/local/lib/node_modules/ios-deploy/build
    export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
    export SYSTEM_APPS_DIR=/Applications
    export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
    export SYSTEM_DEMOS_DIR=/Applications/Extras
    export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
    export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
    export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
    export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
    export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
    export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
    export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
    export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
    export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
    export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
    export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
    export SYSTEM_LIBRARY_DIR=/System/Library
    export TAPI_VERIFY_MODE=ErrorsOnly
    export TARGETNAME=ios-deploy
    export TARGET_BUILD_DIR=/usr/local/lib/node_modules/ios-deploy/build/Release
    export TARGET_NAME=ios-deploy
    export TARGET_TEMP_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build
    export TEMP_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build
    export TEMP_FILES_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build
    export TEMP_FILE_DIR=/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build
    export TEMP_ROOT=/usr/local/lib/node_modules/ios-deploy/build
    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
    export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
    export UID=0
    export UNSTRIPPED_PRODUCT=NO
    export USER=root
    export USER_APPS_DIR=/var/root/Applications
    export USER_LIBRARY_DIR=/var/root/Library
    export USE_DYNAMIC_NO_PIC=YES
    export USE_HEADERMAP=YES
    export USE_HEADER_SYMLINKS=NO
    export VALIDATE_PRODUCT=NO
    export VALID_ARCHS="i386 x86_64"
    export VERBOSE_PBXCP=NO
    export VERSION_INFO_BUILDER=root
    export VERSION_INFO_FILE=ios-deploy_vers.c
    export VERSION_INFO_STRING="\"@(#)PROGRAM:ios-deploy  PROJECT:ios-deploy-\""
    export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
    export XCODE_PRODUCT_BUILD_VERSION=8E3004b
    export XCODE_VERSION_ACTUAL=0833
    export XCODE_VERSION_MAJOR=0800
    export XCODE_VERSION_MINOR=0830
    export XPCSERVICES_FOLDER_PATH=/XPCServices
    export YACC=yacc
    export arch=x86_64
    export diagnostic_message_length=80
    export variant=normal
    /bin/sh -c /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Script-7EDCC3CF1C45E03B002F9851.sh

CompileC build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.o src/ios-deploy/ios-deploy.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /usr/local/lib/node_modules/ios-deploy
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=80 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.8 -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -iquote /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-generated-files.hmap -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-own-target-headers.hmap -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-all-target-headers.hmap -iquote /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/ios-deploy-project-headers.hmap -I/usr/local/lib/node_modules/ios-deploy/build/Release/include -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/DerivedSources/x86_64 -I/usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/DerivedSources -F/usr/local/lib/node_modules/ios-deploy/build/Release -fno-objc-arc -MMD -MT dependencies -MF /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.d --serialize-diagnostics /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.dia -c /usr/local/lib/node_modules/ios-deploy/src/ios-deploy/ios-deploy.m -o /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.o

Ld build/Release/ios-deploy normal x86_64
    cd /usr/local/lib/node_modules/ios-deploy
    export MACOSX_DEPLOYMENT_TARGET=10.8
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -L/usr/local/lib/node_modules/ios-deploy/build/Release -F/usr/local/lib/node_modules/ios-deploy/build/Release -filelist /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy.LinkFileList -mmacosx-version-min=10.8 -Xlinker -object_path_lto -Xlinker /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy_lto.o -fobjc-arc -fobjc-link-runtime -framework MobileDevice -F/System/Library/PrivateFrameworks -framework Foundation -framework CoreFoundation -Xlinker -dependency_info -Xlinker /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Objects-normal/x86_64/ios-deploy_dependency_info.dat -o /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy

GenerateDSYMFile build/Release/ios-deploy.dSYM build/Release/ios-deploy
    cd /usr/local/lib/node_modules/ios-deploy
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy -o /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy.dSYM

** BUILD SUCCEEDED **

All packages installed (used 1m, speed 0B/s, json 0(0B), tarball 0B)
[ios-deploy@1.9.1] link /usr/local/bin/ios-deploy@ -> /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy

打赏作者
如果文章对您有所帮助请打赏支持本站发展。

您的支持将鼓励我们继续创作!

[微信] 扫描二维码打赏

[支付宝] 扫描二维码打赏

标签:

给我留言

您必须 登录 才能发表留言!

Copyright © 前端技术分享休闲玩耍去处分享 保留所有权利.   Theme  Ality

用户登录 ⁄ 注册

分享到: