2

I've been looking for a solution for this one but failed to find one. Looking at the attachment below, why is the GoogleToolboxforMac in and Protobuf in red? Do I need to link them somehow? Because when I build the .xcodeproj it errors out saying:

Framework GoogletoolboxforMac not found.

But when i build the .xworkspace file it builds fine.

Screenshoot

Bruno Peres
  • 15,845
  • 5
  • 53
  • 89
Mykel Aballe
  • 235
  • 1
  • 4
  • 15
  • Have a look about workspace vs project https://stackoverflow.com/questions/21631313/xcode-project-vs-xcode-workspace-differences – Hwangho Kim Jun 02 '17 at 00:15

1 Answers1

3

you need to use the workspace file, it must be inside a pod as dependence (the googletoolboxformac)

UXDart
  • 2,500
  • 14
  • 12
  • yea its in the pods folder but its in red. same with the Protobuf folder. what does it indicate? when i do pod install, it says using GoogletoolboxforMac, does it mean its already installed right? so why is it still in red? – Mykel Aballe Jun 02 '17 at 00:16
  • when you do the pod install it will do everything needed so you can use it. not sure why it is in red, but it should work if you install the pods. – UXDart Jun 02 '17 at 00:18
  • ill try to delete the ios folder again and run react-native upgrade. and pod install again – Mykel Aballe Jun 02 '17 at 00:33