Could not build module UIKit

前端 未结 24 1385
予麋鹿
予麋鹿 2020-12-17 07:59

Suddenly it stops building application in device. In simulator its working but when I connect the device and try to run it in device it gives me an error:

24条回答
  •  青春惊慌失措
    2020-12-17 08:47

    For some reason your UIKit.framework is corrupted, either copy a working UIKit.framework from somewhere else into

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks
    

    Or reinstall Xcode the fix the issue.

提交回复
热议问题