这个错误在Xcode中意味着什么?

时间:2021-12-23 16:55:02

Building target “testjson” of project “testjson” with configuration “Debug” — (2 errors) Checking Dependencies error: There is no SDK with specified name or path '/Users/xcdfs/Library/SDKs/JSON/iphonesimulator.sdk' error: There is no SDK with specified name or path '/Users/xcdfs/Library/SDKs/JSON/iphonesimulator.sdk' error: There is no SDK with specified name or path '/Users/xcdfs/Library/SDKs/JSON/iphonesimulator.sdk' error: There is no SDK with specified name or path '/Users/xcdfs/Library/SDKs/JSON/iphonesimulator.sdk' Build failed (2 errors)

使用配置“Debug”构建项目“testjson”的目标“testjson” - (2个错误)检查依赖项错误:没有指定名称或路径的SDK'/Users/xcdfs/Library/SDKs/JSON/iphonesimulator.sdk'错误:没有指定名称或路径的SDK'/Users/xcdfs/Library/SDKs/JSON/iphonesimulator.sdk'错误:没有指定名称或路径的SDK'/ Users / xcdfs / Library / SDKs / JSON / iphonesimulator .sdk'错误:没有指定名称或路径的SDK'/Users/xcdfs/Library/SDKs/JSON/iphonesimulator.sdk'构建失败(2个错误)

1 个解决方案

#1


Looks like you added your JSON library as a framework instead of (I'm guessing) a static or shared library. Which JSON library are you using and how are you configuring the linker to see it in your build settings?

看起来您将JSON库添加为框架而不是(我猜)静态或共享库。您使用的是哪个JSON库,以及如何配置链接器以在构建设置中查看它?

#1


Looks like you added your JSON library as a framework instead of (I'm guessing) a static or shared library. Which JSON library are you using and how are you configuring the linker to see it in your build settings?

看起来您将JSON库添加为框架而不是(我猜)静态或共享库。您使用的是哪个JSON库,以及如何配置链接器以在构建设置中查看它?