2016-11-11 3 views
0

ich ein Ionic Projekt mit leeren Vorlage erstellt dann unter Google Maps Plugin hinzugefügt:BUILD FAILED nach ionischer Plugin hinzufügen cordova-plugin-Googlemap

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

Hier sind die Versionen:

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

Dann habe ich diesen Fehler versucht, „ionische build ios“ und bekam:

** 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 

dieser Prozess funktioniert out of the box paar Monate verwendet, um eine gehen und jetzt ist es völlig gebrochen

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

Haben Sie eine Idee haben, wie diese oder die richtigen Versionen zu beheben (nichts) zurück zurückzukehren?

Danke.

+0

haben Sie versucht, die iOS-Plattform zu entfernen und sie vor dem Build erneut hinzuzufügen? – Gandhi

Antwort

0

Ich installierte IOS-Plattform v 3.9.0 und es funktionierte.

Verwandte Themen