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)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more