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

前端 未结 15 523
天命终不由人
天命终不由人 2021-01-17 07:19

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:56

    I have the same problem. I solved this by going to XCode -> Preferences ... -> Download

    enter image description here

    I have iOS 6.1 and 7.0 simulators.

    In the project go to Build Settings -> Deployment and then in iOS Deployment Target section make sure the right iOS simulator version is selected. In my case I chose iOS 7.0

    enter image description here

提交回复
热议问题