Search code examples
iosswiftxcodemacosios-simulator

Not able to open and run on the simulator my .xcworkspace project


I recently acquired a new mac and I moved my project to it but although I can open files, I can't run them on the simulator and I can't run the .xcworkspace , this is what I see:enter image description here

and this is the folder enter image description here As you can see there are no files associated to my xcworkspace. But when I open the xcodeproj file I can see everything enter image description here Can you please help?


Solution

  • go inside the project folder then type:

        pod repo update
        pod deintegrate && pod install
    

    remember to open project from .xcworkspace instead of .xcodeproj