Xcode 类 的 10.0 用户搜索路径(已弃用)
Xcode 10.0 user search path for classes(deprecated)
在 Xcode 10 中导入 diff class 时遇到问题。他们的预览版中不会出现这种情况。有什么解决这个问题的建议吗?
基于 Xcode release notes 你必须使用 include 语法。
The legacy header map that was generated when the Always Search User
Paths (ALWAYS_SEARCH_USER_PATHS) setting was YES is not supported by
the new build system. Instead, set ALWAYS_SEARCH_USER_PATHS to NO and
migrate to using modern header include syntax. Add any needed header
files that are in the project repository to the Xcode project to
ensure they are available for use in #include (via the project wide
header map). Use quote-style include ("foo.h") for project headers,
and reserve angle-bracket include () for system headers.
例如:
#import <SystemFile/SystermFile.h>
#import "ProjectFile.h"
在 Xcode 10 中导入 diff class 时遇到问题。他们的预览版中不会出现这种情况。有什么解决这个问题的建议吗?
基于 Xcode release notes 你必须使用 include 语法。
The legacy header map that was generated when the Always Search User Paths (ALWAYS_SEARCH_USER_PATHS) setting was YES is not supported by the new build system. Instead, set ALWAYS_SEARCH_USER_PATHS to NO and migrate to using modern header include syntax. Add any needed header files that are in the project repository to the Xcode project to ensure they are available for use in #include (via the project wide header map). Use quote-style include ("foo.h") for project headers, and reserve angle-bracket include () for system headers.
例如:
#import <SystemFile/SystermFile.h>
#import "ProjectFile.h"