Framework not found MicrosoftBandKit_iOS

Error:

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) 

I just created a project, added a framework in the build phases. the structure is clearly within the framework of the project. but he still says he is not found. I know that you may need to end the wireframe search path. but i don't understand how to do this? How to put in an absolute path for the frame?

0
source share
2 answers

The absolute path is bad, it only works on your computer, and does not work with your partner. Establishing a relative path is the best way. To set the path for the frame:

  • make sure the framework is in the project folder

  • select target → Build settings → Search path → Search paths in the wireframe. Double-click to display the text view of the input search paths.

  • in Finder, go to the contents of the folder. Drag this folder to search for input text views. it will be something like "$ (SRCROOT) / Vendors / FacebookSDK"

  • just delete double qoute "", result: $ (SRCROOT) / Vendors / FacebookSDK

done!

enter image description here

+2
source

http://stationinthemetro.com/2014/06/04/copy-file-path-as-text-in-mac-os-x I use this and copy the absolute path and put it in the frame search path and it works

0
source

All Articles