当我手动将我在Xcode 13中导出的SDK添加到xcode 13和xcode 14时,它对所有设备都能正常工作,没有任何问题。但是当我在xcode 14中导出时,它只适用于xcode 13中的模拟器,我不能在真实的设备上构建它(在xcode 14中,它可以在所有设备上运行,没有任何问题)。对于我在Xcode 14中导出的SDK,在xcode 13中的实际设备上运行它时所遇到的错误如下:
directory not found for option '-F/(framework path)'
Undefined symbols for architecture arm64:_objc_msgSend$subfiles
Undefined symbols for architecture arm64:_objc_msgSend$subfiles
...
clang: error: linker command failed with exit code 1 (use -v to see invocation)我删除了目录的框架搜索路径,并找到了该目录的解决方案,但无法为下面SDK的所有子文件找到解决方案:
Undefined symbols for architecture arm64:_objc_msgSend$subfiles和
clang: error: linker command failed with exit code 1 (use -v to see invocation)非常感谢您的评论。
发布于 2022-10-11 08:41:06
https://stackoverflow.com/questions/73983452
复制相似问题