我想創建一個新的項目,如下:錯誤安裝插件的PhoneGap 3.1(IOS)
$ phonegap create test com.temp testX
$ cd test
$ phonegap build ios
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
插件(設備)成功下載到test/plugins/
,但沒有成功安裝到test/platforms/ios/testX/Plugins/
。在Xcode中打開項目將顯示這些文件丟失。手動複製並引用它們不會完全修復它。
這是什麼原因?
PS:它的工作原理,如果我不指定項目的名稱:
//project name will be HelloWorld.xcodeproj
$ phonegap create test
然後,它將無法添加新的插件和重新構建。 – bizi