DEV Community

ishara sewwandi
ishara sewwandi

Posted on

Xcode Swift project fails to build with "not found" errors.

I’m new to Xcode and iOS development, and I’m working on a Swift project I cloned from a repository. I’ve followed these steps to set up the project, but I’m encountering dependency errors:

Steps I Followed:

Cloned the project repository.

Opened the project directory in the terminal and ran pod install.

Opened the .xcworkspace file generated by CocoaPods in Xcode.

Tried to build the project.

Some Errors I’m Getting:

Firebase not found

Google Maps not found

SwiftJSON not found

What I’ve Checked: I ran pod install to generate it. The Podfile exists, and it includes dependencies for Firebase, Google Maps, and SwiftJSON. I verified that the Pods folder was successfully created after running pod install.

My Questions:

Why am I still getting "not found" errors even though I ran pod install and opened the .xcworkspace file?

Is there anything else I should check in the project setup or build settings to resolve these errors?

(This project is already a working project.)

Xcode version:16.2 (16C5032a) mac version:15.2 (24C101)

Billboard image

Monitor more than uptime.

With Checkly, you can use Playwright tests and Javascript to monitor end-to-end scenarios in your NextJS, Astro, Remix, or other application.

Get started now!

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay