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)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

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

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay