Could not build module 'UIKit" in cocoapods since Xcode 5.1

前端 未结 15 1468
忘掉有多难
忘掉有多难 2021-01-17 07:24

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 probl

15条回答
  •  北恋
    北恋 (楼主)
    2021-01-17 07:50

    Go to your DerivedData directory and remove ModuleCache directory.

    In terminal:

    cd /Users//Library/Developer/Xcode/DerivedData
    rm -rf ModuleCache/
    

    then reinstall pods: pod install.

    If it doesn't help try removing whole DerivedData directory and reinstall pods.

提交回复
热议问题