ShakeS
Shake
Apr 25

[iOS SDK] Failed to compile from Bitrise

Getting this error: ⚠️ ld: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Livemetric-dawrmxakmgtsvahjcrrtvxbleypa/Build/Intermediates.noindex/ArchiveIntermediates/Livemetric/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/Shake' ❌ ld: framework not found Shake ❌ clang: error: linker command failed with exit code 1 (use -v to see invocation)
ClosedClosed

Jun 2, 2021

We can't reproduce a problem. Closing until reopened.

Apr 26, 2021

Looks like a linker issue with finding Framework directories for the given search paths. How did you include Shake SDK in your project ? What is the Xcode CLI version you are building the project with ? In the meantime, try removing Shake SDK references from your project Linked Libraries and Frameworks section, and then integrating it again, making sure ShakeSDK is embedded in your project target. Double check your Framework Search Paths in the Build Settings pane of your project target, and make sure that the entries there resolve to correct and expected paths.

Apr 29, 2021

Mrkva David: I use Cocoapods to install Shake. After I remove Shake, the is nothing left from Shake anywhere as far as I see. So I don't know if your advice about making sure ShakeSDK is embedded is applicable here. Perhaps the problem has to do with multiple frameworks that I have in my app. I tried to put "pod 'Shake'" for main module only as well, as for all modules. Xcode version is 12.5.

May 11, 2021

Dmitriy Kegeles: Cocoapods should automatically manage linking of the Shake framework to your main app target, and this works when we try installing via Cocoapods. Try installing Shake by manually dropping the Shake.xcframework in your project "Frameworks and Libraries" section. This will highlight the Cocoapods linking problem. Try installing Shake via Cocoapods on the clean Xcode project, if this works, cross-check this clean project BuildSettings with your existing project and try to spot if anything is missing or different. Try updating the Cocoapods version, we had some problems with linking XCFrameworks via Cocoapods before.