3

I integrated pods in my project specifically SignalR, AFNetworking and SocketRocket. It was successfully installed, but when I opened .xcworkspace, this error shows:

enter image description here

This is what the project navigator looks like

Has anyone encountered this kind of error? Thanks in advance.

Update: My .xcodeproj has appeared. But the frameworks appear red. How can I solve this?

enter image description here

Apple Ramos
  • 265
  • 3
  • 13

3 Answers3

5

Have you tried restarting Xcode? If that doesn't work, I would try removing the Pods/ folder and re-doing a pod install.

Community
  • 1
  • 1
Anas
  • 866
  • 1
  • 13
  • 23
  • Sure, you can try that. – Anas May 04 '15 at 04:18
  • In the other thread, some people mentioned fixing it by first closing every workspace from the File menu before quitting Xcode. One even solved it by killing the process as well. – Anas May 04 '15 at 04:19
  • Hi @AppleRamos , can you please tell me how did you solve this, i am having the same issue. – OSD Oct 03 '16 at 07:22
  • Removing `Pods/` folder and running `pod install` worked for me – CharleyXIV Nov 21 '17 at 13:47
2

I did not have exactly the same error, but when I tried opening my .xcworkspace file, XCode did not display anything. I managed to solve the problem by:

  • Deleting the .xcworkspace
  • Deleting the Pods folder
  • With my terminal, I navigated to the path where Pod file was and executed the pod install command, which re-generated the .xcworkspace file as well as the Pods folder

Then the project could open up just fine.

Loïs Talagrand
  • 810
  • 2
  • 13
  • 32
2

An improvement to サソリ's answer. I had the same problem and what I did was,

  • deleted .xcworkspace
  • run pod install in terminal

Thats it. The newly created .xcworkspace works fine for me.

Naval Hasan
  • 1,226
  • 1
  • 13
  • 18