** BUILD FAILED ** when trying to run in iOS simulator
See original GitHub issueI have a blank Ionic v2 project and added the plugin with ionic plugin add cordova-plugin-googlemaps. When I run ionic emulate ios I get the following error:
** BUILD FAILED **
The following build commands failed:
CompileC build/Zombies-v-Survivors.build/Debug-iphonesimulator/Zombies-v-Survivors.build/Objects-normal/i386/GoogleMaps.o Zombies-v-Survivors/Plugins/plugin.google.maps/GoogleMaps.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/Zombies-v-Survivors.build/Debug-iphonesimulator/Zombies-v-Survivors.build/Objects-normal/i386/GoogleMapsViewController.o Zombies-v-Survivors/Plugins/plugin.google.maps/GoogleMapsViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/Zombies-v-Survivors.build/Debug-iphonesimulator/Zombies-v-Survivors.build/Objects-normal/i386/GroundOverlay.o Zombies-v-Survivors/Plugins/plugin.google.maps/GroundOverlay.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(3 failures)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/sharifpaksa/Projects/Zombies-v-Survivors/platforms/ios/cordova/build-debug.xcconfig,-project,Zombies-v-Survivors.xcodeproj,ARCHS=i386,-target,Zombies-v-Survivors,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/sharifpaksa/Projects/Zombies-v-Survivors/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/sharifpaksa/Projects/Zombies-v-Survivors/platforms/ios/build/sharedpch
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Can't build to simulator on Apple Silicon
1) I've tried "pod install" & "pod update" with a Rosetta2 version of Terminal. Both complete without error, but Xcode still can't build....
Read more >Xcode 8 build fail only for simulator - ios - Stack Overflow
1. Delete Derived data 2. Clean the project and try to run your project again. · I followed your suggestion, but build failed...
Read more >Run fails on iOS Simulator. · Issue #77598 · flutter/flutter - GitHub
I'm trying to run my Flutter App on an iOS 14.4 Simulator and it fails with the following exception: Launching lib/main.dart on iPhone...
Read more >Steps to resolve failed to build iOS app error - YouTube
45,6s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Could not build the application for the...
Read more >Failed when build to iOS simulator using xcode 12
this seems related to processor type, since arm64 is processor of real device, and my xcode work just fine when build to real...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@djuju08 I find the solution… some create an example for ionic 2 & google maps plugin.
this one is works for me .Just add this line to
app/theme/app.core.scsshttps://github.com/aaronksaunders/ionic2GMapNative/issues/7
I went with a native solution since I couldn’t figure this out (also native performance > hybrid performance).