2016-11-11 155 views
0

我使用空白模板則低於谷歌地圖插件添加創建離子項目:BUILD離子插件失敗後添加科爾多瓦 - 插件 - 谷歌地圖

ionic plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_IOS="XXXXX" 

這裏是版本:

• Mac OSX El Capitan 10.11.4 
• Ionic CLI 2.1.8 
• Cordova 6.4.0 
• Node 6.8.1 
• NPM 3.10.8 

然後我嘗試「離子版ios」,並得到這個錯誤:

** BUILD FAILED ** 


The following build commands failed: 
    CompileC build/MyApp.build/Debug-iphoneos/MyApp.build/Objects-normal/armv7/GoogleMapsViewController.o MyApp/Plugins/plugin.google.maps/GoogleMapsViewController.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler 
(1 failure) 

Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/myusername/Documents/MyApp/platforms/ios/cordova/build-debug.xcconfig,-project,MyApp.xcodeproj,ARCHS=armv7 arm64,-target,MyApp,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/myusername/Documents/MyApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/myusername/Documents/MyApp/platforms/ios/build/sharedpch 

這個過程用於開箱幾個月a去和現在它完全打破

https://ionicframework.com/docs/v2/native/google-maps/

你有任何想法如何解決這一問題或右的版本(的東西),以恢復?

謝謝。

+0

做你嘗試刪除iOS平臺和添加再次打造過嗎? – Gandhi

回答

0

我安裝了iOS平臺v 3.9.0和它的工作。

相關問題