Closed sumi-hiro closed 6 years ago
monaca-cliのインストール
npm install -g monaca
monacaへログイン
monaca login
プロジェクトのクローン
monaca clone
Monaca Cloud上にあるプロジェクトの一覧が出てくるので、選択する
今回はmonacaICEを選択
Androidのビルド
$ monaca remote build android
This operation will overwrite all the remote changes that have been made.
? Do you want to continue? Yes
Uploading project to Monaca Cloud...
No files uploaded since project is already in sync.
Internal server error, contact Monaca Support.
エラー発生。
ブラウザ上で状態を確認
$ monaca remote build --browser
monaca-cliからのビルドも、Monaca Cloudでのビルドを呼び出しているだけのよう。
リモートビルド成功(Android)
$ monaca remote build android
This operation will overwrite all the remote changes that have been made.
? Do you want to continue? Yes
Uploading project to Monaca Cloud...
No files uploaded since project is already in sync.
Building project on Monaca Cloud...
.....................................................................................................................................................................................................................................................................................................................
Your package is stored at /Users/~~~~~~~~/20180228094326-android-debug.apk
リモートビルド成功(iOS)
$ monaca remote build ios
This operation will overwrite all the remote changes that have been made.
? Do you want to continue? Yes
Uploading project to Monaca Cloud...
No files uploaded since project is already in sync.
Building project on Monaca Cloud...
...............................................................................................................................................................................................................................................
Your package is stored at /Users/~~~~~~~~~/20180228113340-monacaICE.ipa
Monaca CI を使用せずにビルドが行えるかの確認 チケットの数が多くないため