2016-07-26 3 views
0

私はAndroid用のWindowsコンピュータでうまく開発していますが、一度Mac Miniを手に入れました。Ionic Beta 10 iOS Build - あなたはまだプラットフォームをインストールしていないが、iosbutのために構築しようとしている

You're trying to build for iosbut don't have the platform installed yet.

マイイオンセットアップがようである:私はエルキャピタン、XCodeのインストール、および他のすべて(NodeJS、イオンなど)に更新OSを持ったら、私が言ってiOSとビルドブレークのためのビルドを実行しようとしました次の:

Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.10
Ionic CLI Version: 2.0.0-beta.32
Ionic App Lib Version: 2.0.0-beta.18
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.12.0
Xcode version: Xcode 7.3.1 Build version 7D1014

次のように私が手にエラーがある:

Running 'build:before' gulp task before build
[23:21:58] Starting 'clean'...
[23:21:58] Finished 'clean' after 65 ms
[23:21:58] Starting 'build'...
[23:21:58] Starting 'sass'...
[23:21:58] Starting 'html'...
[23:21:58] Starting 'fonts'...
[23:21:58] Starting 'scripts'...
[23:21:58] Finished 'scripts' after 74 ms
[23:21:58] Finished 'fonts' after 85 ms
[23:21:58] Finished 'html' after 95 ms
[23:21:59] Finished 'sass' after 1.11 s
[23:22:10] Finished 'build' after 12 s
[23:22:10] Starting 'build:before'...
[23:22:10] Finished 'build:before' after 7.64 μs

• You're trying to build for iosbut don't have the platform installed yet.
∆ Installing ios for you.
Installing cordova-plugin-device
Installing cordova-plugin-console
Installing cordova-plugin-whitelist
Installing cordova-plugin-splashscreen
Installing cordova-plugin-statusbar
Installing ionic-plugin-keyboard
Caught exception:
Error: Command failed: cordova plugin add --save cordova-plugin-device
Parsing /Users/esx/projects/xcatalyst%20mobile%20app/config.xml failed
Error: Unencoded <
Line: 2
Column: 2
Char: <

at ChildProcess.exithandler (child_process.js:202:12)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)

側の注意点として、私はノードV6を持っていましたか。?。? Cordova v6.3.0がインストールされていますが、 "ionic info"を実行したときにCordova CLIがNot Installedとして表示される問題があります。

私はまた、「イオン状態のリセット」を実行したが、同様のエラーを取得しようとしました:

Removed platforms and plugins
Attempting to restore your Ionic application from package.json

Restoring Platforms

cordova platform add ios
cordova platform add android

Restore platforms is complete

Restoring Plugins

cordova plugin add cordova-plugin-whitelist
Caught exception:
undefined

これが私の最初の試みのMacを使用して1を使用してイオンアプリを構築しようとしています。私は、イオンサイト(OSX Setup)の設定情報に従っています(または試みました)。

これらのエラーのいずれかを追跡する方法がわかりません。

ご協力いただきありがとうございます。

+0

古いバージョンのノードを使ってみてください。 '0.12.7'はいつも私のために働いています。 NVMを使用してノードのバージョンbtwを変更します。 –

答えて

0

問題は私のconfig.xmlにあり、無効な文字と構文の問題がありました。私はアンドロイドプラットフォームのためにビルドするときはこれは問題ではなかったと思うが、iOSビルドではそうだった。

関連する問題