question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

** BUILD FAILED ** when trying to run in iOS simulator

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
infinityskycommented, Aug 11, 2016

@djuju08 I find the solution… some create an example for ionic 2 & google maps plugin.

ion-nav.has-views {
    background-color: transparent !important;
}

this one is works for me .Just add this line to app/theme/app.core.scss

https://github.com/aaronksaunders/ionic2GMapNative/issues/7

image

0reactions
spaksacommented, Aug 11, 2016

I went with a native solution since I couldn’t figure this out (also native performance > hybrid performance).

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found