Can't import dependency installed with Cocoapods

后端 未结 11 1155
醉梦人生
醉梦人生 2021-02-07 11:16

I\'ve installed FBSDK with Cocoapods but can\'t import it in my AppDelegate.swift file for some reason. The FBSDK kit appears in my Xcode project so I feel like it should be wor

11条回答
  •  广开言路
    2021-02-07 12:04

    1. Select your Project Target
    2. Go to Build Settings.
    3. Search for Header Search Paths.
    4. Add this value $(SRCROOT)/Pods with recursive, then Xcode will resolve the path for you.

提交回复
热议问题