Could not build module 'UIKit" in cocoapods si

2019-02-21 09:44发布

I cannot build my application anymore since I updated Xcode to the new version (Xcode 5.1). the error message is 'Could not build module 'UIKit''. I have the same problems with my two pods: AFNetworking SDWebImage

Any thought on this?

15条回答
手持菜刀,她持情操
2楼-- · 2019-02-21 10:16

In my case it was Could not build module Twitter Kit. In link Binary with libraries some framework reference were showing as red. Deleting and re adding them worked for me.

查看更多
地球回转人心会变
3楼-- · 2019-02-21 10:17

I had similar issue and fixed it by deleting Xcode from Applications and reinstalling it again.Worked like charm.

查看更多
Root(大扎)
4楼-- · 2019-02-21 10:20

So, I also encountered this problem, and discovered the problem was that my Podfile's minimum iOS version was 6.1 while my project's minimum iOS Version was 6.0. Getting these two values aligned resolved the issue.

查看更多
登录 后发表回答