Framework not found MicrosoftBandKit_iOS


Ld DerivedData/SenseWatch/Build/Products/Debug-iphonesimulator/ normal x86_64
cd /Users/Jieyi/Documents/Repo/SenseWatch
export PATH="/Applications/"
/Applications/ -arch x86_64 -isysroot /Applications/ -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/ -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/ -o /Users/Jieyi/Documents/Repo/SenseWatch/DerivedData/SenseWatch/Build/Products/Debug-iphonesimulator/

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

I just created the project, added the framework in build phases. the framework is clearly under the project. but it still says not found. i know that it may needs to finish framework search path. but i don’t understand how to? like put in the absolute path for the framework?

  • How can I support both iOS 4.X SDK and iOS 5 SDK in my iPhone app?
  • When should I set layer.shouldRasterize to YES
  • how to show Custom user location programmatically
  • Why do I need @1x, @2x and @3x iOS images?
  • Cannot get rid of Optional() string
  • iOS NSLayoutConstraint Fixed Width using constraintWithItem
  • 2 Solutions Collect From Internet About “Framework not found MicrosoftBandKit_iOS”

    no absolute path is bad way, it only work in your computer, not work with your partner. Set relative path is best way. To set path for framework:

    1. be sure framework locate in project folder

    2. select target -> Build Setting -> Search Path-> Framework Search Paths. Double click it will show an Search Paths input text view

    3. in Finder go to folder content framework. Drag this folder to search paths input text view. it will be some thing like “$(SRCROOT)/Vendors/FacebookSDK”

    4. just remove double qoute “”, result: $(SRCROOT)/Vendors/FacebookSDK


    enter image description here
    i use this and copy the absolute path and put it under framework search path and it works