gpt4 book ai didi

ios - 未找到框架 MicrosoftBandKit_iOS

转载 作者:行者123 更新时间:2023-12-01 18:51:22 26 4
gpt4 key购买 nike

错误:

Ld DerivedData/SenseWatch/Build/Products/Debug-iphonesimulator/SenseWatch.app/SenseWatch normal x86_64
cd /Users/Jieyi/Documents/Repo/SenseWatch
export IPHONEOS_DEPLOYMENT_TARGET=9.0
export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/Jieyi/Documents/Repo/SenseWatch/DerivedData/SenseWatch/Build/Products/Debug-iphonesimulator -F/Users/Jieyi/Documents/Repo/SenseWatch/DerivedData/SenseWatch/Build/Products/Debug-iphonesimulator -filelist /Users/Jieyi/Documents/Repo/SenseWatch/DerivedData/SenseWatch/Build/Intermediates/SenseWatch.build/Debug-iphonesimulator/SenseWatch.build/Objects-normal/x86_64/SenseWatch.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=9.0 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -framework MicrosoftBandKit_iOS -Xlinker -dependency_info -Xlinker /Users/Jieyi/Documents/Repo/SenseWatch/DerivedData/SenseWatch/Build/Intermediates/SenseWatch.build/Debug-iphonesimulator/SenseWatch.build/Objects-normal/x86_64/SenseWatch_dependency_info.dat -o /Users/Jieyi/Documents/Repo/SenseWatch/DerivedData/SenseWatch/Build/Products/Debug-iphonesimulator/SenseWatch.app/SenseWatch

ld: framework not found MicrosoftBandKit_iOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我刚刚创建了项目,在构建阶段添加了框架。该框架显然是在项目之下。但它仍然说找不到。我知道它可能需要完成框架搜索路径。但我不明白怎么做?喜欢放入框架的绝对路径?

最佳答案

没有绝对路径是不好的方法,它只适用于您的计算机,不适用于您的合作伙伴。设置相对路径是最好的方法。为框架设置路径:

  • 确保框架位于项目文件夹
  • 选择目标-> build设置-> 搜索路径-> 框架搜索路径。双击它将显示一个搜索路径输入 TextView
  • 在 Finder 中转到文件夹内容框架。拖动此文件夹以搜索路径输入 TextView 。会是类似“$(SRCROOT)/Vendors/FacebookSDK”
  • 只需删除双引号“”,结果:$(SRCROOT)/Vendors/FacebookSDK

  • 完毕!



    enter image description here

    关于ios - 未找到框架 MicrosoftBandKit_iOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30744761/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com