# GoogleMaps Not Recognized in Existing Native iOS App on Cursor

**URL:** <https://forum.cursor.com/t/googlemaps-not-recognized-in-existing-native-ios-app-on-cursor/67502>\
**Category:** Help\
**Created:** [March 20, 2025, 4:32pm UTC](https://forum.cursor.com/t/googlemaps-not-recognized-in-existing-native-ios-app-on-cursor/67502 "2025-03-20T16:32:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrtrinh5293](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mrtrinh5293/32/38888_2.png) [@mrtrinh5293](https://forum.cursor.com/u/mrtrinh5293)\
**Post date:** [March 20, 2025, 4:32pm UTC](https://forum.cursor.com/t/googlemaps-not-recognized-in-existing-native-ios-app-on-cursor/67502/1 "2025-03-20T16:32:18Z")

</div>

I’ve tried multiple times to run my iOS app on Cursor, but every attempt has failed due to compilation issues.

Now, I’ve hit a major roadblock—Cursor cannot recognize the following:

```auto
import GoogleMaps

```

Cursor suggested these troubleshooting steps:

1. Close both Xcode **and** Cursor completely.
2. Run the following commands in Terminal:

```auto
rm -rf ~/Library/Developer/Xcode/DerivedData/*
rm -rf ~/Library/Caches/CocoaPods/*
rm -rf Pods/
rm -rf Podfile.lock
pod cache clean --all
pod install --repo-update

```

1. After the installation completes:

- Reopen Cursor.
- Open the `.xcworkspace` file (not `.xcodeproj`).
- Clean the build folder ( **Xcode → Product → Clean Build Folder** ).
- Try building the project again.

Despite following these steps, the error persists. Any ideas on how to fix this?

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:34am UTC](https://forum.cursor.com/t/googlemaps-not-recognized-in-existing-native-ios-app-on-cursor/67502/2 "2026-06-18T10:34:35Z")

</div>

Closed on June 18, 2026, 10:34am UTC


