Could not build module UIKit

前端 未结 24 1306
予麋鹿
予麋鹿 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:25

    Suppose you have changed or deleted anything in the UIKit framework, then shows this error.

    If you are able to find that class or .h file to be changed or deleted, then replace that whole file content in that .h file from other system's Xcode (confirm that should be similar Xcode version).

    For example, In UIView.h file - I have deleted a method and closed and opened the Xcode. Then I couldn't reverted that code.

提交回复
热议问题