No such module 'RestKit' with cocoapods and swift

后端 未结 25 2251
再見小時候
再見小時候 2020-12-01 02:34

I am having this problem with a brand new project. This problem happens with both RestKit and Facebook SDK. Strangely SwiftyJSON works just fine. I create a brand new swift

25条回答
  •  执笔经年
    2020-12-01 03:19

    In my case, at first I had only one target in xcode. I executed pod install. A few months later, I had to make another target so I had multi targets.

    In this situation, if I do pod install and build xcode, I get a "no such module" error.

    So I removed pod files and then pod init.

    Podfile format has been changed for multiple targets

    It works!!

    Check this out!

提交回复
热议问题