2

昨年は以前のバージョンの SDK で正常に動作したアプリがありますが、現在は Titanium SDK 5.2.2.GA で iOS デバイスが検出されません。appcelerator と再インストールに関するすべてをクリーニングしようとしましたが、うまくいきませんでした。またnode-ios-device、グローバル パッケージとして、titanium sdk 5.2.2 フォルダーにインストールしてみました。他に何ができますか?次のエラーが表示されます。

2016-05-11T09:34:54.590Z | DEBUG  | [PLUGIN-LOAD] 0ms /Users/adi/.appcelerator/install/5.2.2/package/appc.js
(node:2212) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
2016-05-11T09:34:54.651Z | DEBUG  | [PLUGIN-LOAD] 61ms /Users/adi/.appcelerator/install/5.2.2/package/node_modules/appc-cli-titanium/appc.js
2016-05-11T09:34:54.651Z | DEBUG  | run plugin: /Users/adi/.appcelerator/install/5.2.2/package/node_modules/appc-cli-titanium
2016-05-11T09:34:54.652Z | DEBUG  | [PLUGIN-LOAD] 0ms /Users/adi/.appcelerator/install/5.2.2/package/node_modules/arrow/appc.js
2016-05-11T09:34:54.654Z | DEBUG  | run plugin: /Users/adi/.appcelerator/install/5.2.2/package/node_modules/arrow
2016-05-11T09:34:54.656Z | TRACE  | plugin "arrow" failed its "when" function check, skipping...
2016-05-11T09:34:54.657Z | TRACE  | loading plugin "titanium" for command "run" CLI options via function
2016-05-11T09:34:54.658Z | TRACE  | loading plugin "titanium" for command "run" CLI options via array
2016-05-11T09:34:54.660Z | TRACE  | executing command "run" with the following plugins:
["titanium"]
2016-05-11T09:34:54.661Z | TRACE  | Attempting to load session info from config file
2016-05-11T09:34:54.662Z | TRACE  | check if session is invalidated
2016-05-11T09:34:55.350Z | TRACE  | session expiry 1463560847951 false
2016-05-11T09:34:55.351Z | TRACE  | session already loaded in opts.session
2016-05-11T09:34:55.352Z | DEBUG  | Titanium Downloads Last Checked: 1462957150130
2016-05-11T09:34:55.480Z | TRACE  | No project alloy hook; skipping update to 1.0.0
2016-05-11T09:34:56.100Z | ERROR  | An uncaught exception was thrown!
Cannot read property 'devices' of undefined
2016-05-11T09:34:56.101Z | ERROR  | Cannot read property 'devices' of undefined
2016-05-11T09:34:56.101Z | TRACE  | TypeError: Cannot read property 'devices' of undefined
    at iOSBuilder.<anonymous> (/Users/adi/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/iphone/cli/commands/_build.js:298:11)
    at /Users/adi/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/index.js:115:12
    at /Users/adi/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:721:13
    at /Users/adi/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:52:16
    at done (/Users/adi/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:241:17)
    at /Users/adi/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:44:16
    at /Users/adi/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:718:17
    at /Users/adi/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:167:37
    at /Users/adi/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/index.js:85:6
    at /Users/adi/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/lib/device.js:51:12
4

2 に答える 2

1

Adi に感謝します。Node の v6.2.0 とまったく同じ問題があり、v4.4.x にダウングレードしましたが、すべてうまくいきました。

于 2016-05-26T21:35:26.267 に答える