How Do I Run An Existing Project With A Simulator?

Hi All,

I inherited an iOS Firebase App from another developer. I am attempting to debug an issue in the app, and am trying to run the application in Xcode 12.4.

I've included a screenshot of my project's directory structure. I know that I must select a schema to run from. Some of the schemas in the screenshot build successfully. Some do not.

Based on my project's directory structure, I am expecting a "Pods" schema to be present, but I do not see one. I do see the simulators, however.

Does anyone recognize this project structure, or know what needs to be done in order for me to run the app in a simulator successfully?

I have looked into using my physical iPhone as well, but my iOS 15.6 is not compatible with Xcode 12.4. I am not sure of the process to update Xcode past 12.4, since my OS is Catalina 10.15.7.

Please forgive the lack of technical literacy. I use Windows in my personal life, and work with Linux, so Apple products are totally foreign to me. Thanks in advance!

The Pods target is part of CocoaPods. You have a Podfile there, at the top of your project view.

Did you open an Xcode workspace file, or the Pods project? I've never opened the Pods project separately because it's just a part of the wider workspace. Do you have a workspace file? If so, open that instead.

The Pods target is part of CocoaPods. You have a Podfile there, at the top of your project view.

What is the significance of this pod file? Is that my pods target? Is that where I should be building from?

Did you open an Xcode workspace file, or the Pods project?

I opened an .xcodeproj file. I did not see an Xcode workspace file present.

you have to open app from .xcworkspace.

So, no .xcworkspace file was present. I did, however, create a new workspace and import my project into that workspace by clicking File -> Add Files to "WorkspaceName", and then adding my .xcodeproj file.

That did not seem to work.

How Do I Run An Existing Project With A Simulator?
 
 
Q