Skip to content

Conversation

@huami1314
Copy link

因为 Xcode 26 开始对子框架进行了结构调整,导致编译报错 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:10:9 'UIUtilities/UIDefines.h' file not found

通过检索得知新的UIKitDefines位于以下目录

$(SDKROOT)/System/Library/SubFrameworks

通过调整FRAMEWORK_SEARCH_PATHS 以及 HEADER_SEARCH_PATHS 让编译器能识别到此子框架的接口文件,从而解决报错!

@MRGOD1994
Copy link

点个赞。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants