New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ld: framework not found Instabug #106
Comments
Hey @andrei-sadagurschi, let me check that and get back to you. |
same here |
@andrei-sadagurschi, can you share with us a screenshot of 'Framework Search Paths' from your project directory ? |
|
I've tried to reproduce this issue with the same scenario (updating from 6.0.3 to 6.3.1) but I failed, every thing works correctly. I believe its Cocoapods issue.
|
@Figo0o, I've already tried that. It doesn't fix the issue. Any other suggestions? |
It seems to be something related to the new framework added to the pod. That framework doesn't seem to get linked to the main project. The bundle folder (which is added in a similar way) gets linked properly. |
@andrei-sadagurschi, Could you verify that the framework binary actually exists locally on your machine? You can do that by navigating to the Pods directory in Finder, then selecting Instabug > Instabug.framework and checking that the Instabug binary is there. |
@Figo0o, the binary is there. |
@andrei-sadagurschi, Okay, Then what happened when removing Instabug from |
@mcocaro any updates ? |
@Figo0o, I've removed the pod and manually installed the library (instructions from here: https://instabug.com/developers). Now the build succeeded, but the library is not loaded:
|
@andrei-sadagurschi, Please make sure that Instabug.framework found in your project's "Embedded Binaries" section under the "General" tab. This should solves the problem. |
@Figo0o, this solves the manual installation. The cocoapods installation is still broken from my point of view. |
I've had this issue since a few weeks now, I managed to resolve it but pulling the Pod from the Git repo directly as opposed to the CocoaPods version. Yesterday I decided to revert back to the CocoaPods version, did a As far as I was able to see, this issue appears when CocoaPods removes the Instabug framework from the install-frameworks script. typechange: Pods/Instabug/Instabug.framework/Instabug |
@andrei-sadagurschi, Thats good for now, I am still digging deeper into that to figure out what causes this issue. and will get back as soon as possible. hopping thats not blocking you. |
@mcocaro out of curiosity, do you commit your Pods directory to your repo? We've run into similar issues when the Pod directory is in the repo while using a Git client that doesn't play well with typechange (like SourceTree). |
yes, and yes - do use Sourcetree and did find out that the typechange was
not recognized by it
…--
Martin
On Tue, Jan 10, 2017 at 10:45 AM, Hesham Abd-Elmegid < ***@***.***> wrote:
@mcocaro <https://github.com/mcocaro> out of curiosity, do you commit
your Pods directory to your repo?
We've ran into similar issues when the Pod directory is in the repo while
using a Git client that doesn't play well with typechange (like SourceTree).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#106 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB9m9oDo4WCwgTleVkq0jtmG-bFKykpQks5rQ4tigaJpZM4LehnP>
.
|
You are right. The Pods directory is committed to the repo and I am using SourceTree. |
@andrei-sadagurschi would you please try what @mcocaro suggested and let us know if that solves the issue for you?
|
@HeshamMegid, I've already tried that. It does not fix the problem. I've also tried removing the whole Pods directory and installing them again. |
@andrei-sadagurschi this is most likely a Cocoapods issue. Is it okay for you to use the framework without Cocoapods for now while we look more into this, or that would be an issue? |
@HeshamMegid, I've already switched to manual installation for now. Please let me know if you find a fix for the Cocoapods install. Thank you! |
Any updates? |
@saiday The problem seems to be fixed when using cocoapods |
Actually, we've done no changes from our side regrading this, so it's the CocoaPods update that did the trick. Thanks for reporting that @andrei-sadagurschi! |
Hi, @HeshamMegid @andrei-sadagurschi Tried CocoaPods
|
Hi, Instabug versions >= Noticed that https://github.com/Instabug/Instabug-iOS/blob/master/Instabug.podspec changes ( |
@saiday version >= 6.2 has switched to distributing the SDK as a dynamic framework instead of a static one. So far we have found that the solution that works in most cases is removing Instabug from your podfile, doing a |
@HeshamMegid I tried, it doesn't fix. My cocoapods version is |
This issue popped up as the only issue on top of my Google search when searching for The solution for me was to upgrade the |
After updating to Instabug 6.3.1 (from 6.0.2) I am getting a build error:
ld: framework not found Instabug
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've updated the Instabug framework through
pod update
.I've already tried to completely reinstall all the pods from the project.
The cocoapods version that I am using is 1.1.1.
Any help is much appreciated.
The text was updated successfully, but these errors were encountered: