无法构建Objective-C模块' Uikit'
一切正常,现在突然间我收到了此错误消息,无法在iPhone上构建我的应用程序。在模拟器中构建它,但在iPhone中却没有。
#import <UIKit/UIColor.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:13:2: error: file '/Users/xxx/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/1ICTC4QF5R9QK/CoreImage-3096MN6AT838P.pcm' is not a valid precompiled module file
#import <CoreImage/CoreImage.h>
^
<unknown>:0: error: could not build Objective-C module 'UIKit'
这是我收到的错误消息。我已经清除了构建文件夹,重新启动了Mac。 我还能做什么来解决这个问题?
Everything was working fine and now all of a sudden I get this error message and cannot not build my app anymore on my iPhone. Building it in the simulator works, but not in the iPhone.
#import <UIKit/UIColor.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:13:2: error: file '/Users/xxx/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/1ICTC4QF5R9QK/CoreImage-3096MN6AT838P.pcm' is not a valid precompiled module file
#import <CoreImage/CoreImage.h>
^
<unknown>:0: error: could not build Objective-C module 'UIKit'
This is the error message I am getting. I have already cleared the build folder, restarted my mac.
What else can I do to solve this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论