1
我有一個應用程序,在離子服務中工作正常。我現在試圖創建一個構建 - 這通常有效,但今天我遇到了問題。離子包構建失敗 - 離子插件鍵盤
ionic package build ios --profile development
這給了我成功的消息..
Uploading your project to Ionic...
Submitting your app to Ionic Package...
Your app has been successfully submitted to Ionic Package!
Build ID: 103
We are now packaging your app.
但是,當我在離子包檢查應用程序,我看到構建失敗。只有一個錯誤:
In file included from /Users/package/workspace/apps-96ff266e-5/cordova/platforms/ios/wurkclient/Plugins/ionic-plugin-keyboard/IonicKeyboard.m:1:
/Users/package/workspace/apps-96ff266e-5/cordova/platforms/ios/wurkclient/Plugins/ionic-plugin-keyboard/IonicKeyboard.h:8:5: error: unknown type name 'Method'
Method wkMethod, uiMethod;
^
我離子信息輸出爲:
Your system information:
Cordova CLI: 6.5.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 0.0.46
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v7.4.0
Xcode version: Xcode 8.1 Build version 8B62
我已經試過離子平臺IOS刪除,然後離子平臺添加的ios,但沒有改善。
我不知道!
我不幸沒有使用Ionic Cloud的經驗。如果你有一臺Mac,你可以使用'ionic build ios'命令建立你的應用程序。另一種可能性是在XCode的platforms/ios文件夾中打開'appname.xcodeproj'並使用XCode在其中構建它。 – Bryandh
只要在這裏留下 - https://forum.ionicframework.com/t/ionic-package-build-ios-fails-with-error-in-ionic-keyboard/81397/10 –