Skip to content
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

Issues with AppSpector 1.3.5 and Themis 0.13.4 #741

Closed
archana211 opened this issue Oct 30, 2020 · 5 comments
Closed

Issues with AppSpector 1.3.5 and Themis 0.13.4 #741

archana211 opened this issue Oct 30, 2020 · 5 comments
Labels
bug compatibility Backward and forward compatibility, platform interoperability issues, breaking changes M-CocoaPods Package manager: CocoaPods, Objective-C and Swift, iOS and macOS O-iOS 📱 Operating system: iOS O-macOS 💻 Operating system: macOS W-ObjCThemis 🎨 Wrapper: ObjCThemis, Objective-C API W-SwiftThemis 🔶 Wrapper: SwiftThemis, Swift API

Comments

@archana211
Copy link

archana211 commented Oct 30, 2020

I am using cocoapods 1.10.0 , AppSpectorSDKE2E- 1.3.5 along with themis -0.13.4 on app launch getting "Library not loaded" error for themis but app works fine if i use cocoapods 1.9.3 , AppSpectorSDKE2E- 1.3.5 along with themis -0.13.3.

Is there any update in latest version (0.13.4)?

Steps to reproduce the behavior:

  1. On app launch
  2. See the following error:
    dyld: Library not loaded: @rpath/themis.framework/themis
    Referenced from: ~/Frameworks/AppSpectorSDKE2E.framework/AppSpectorSDKE2E
    Reason: image not found

Environment (please complete the following information):

  • OS: iOS 14
  • Hardware: simulator
  • Themis version: 0.13.4
  • Installation way: pod AppSpectorSDKE2E
@ilammy ilammy added bug compatibility Backward and forward compatibility, platform interoperability issues, breaking changes M-CocoaPods Package manager: CocoaPods, Objective-C and Swift, iOS and macOS O-iOS 📱 Operating system: iOS O-macOS 💻 Operating system: macOS W-ObjCThemis 🎨 Wrapper: ObjCThemis, Objective-C API W-SwiftThemis 🔶 Wrapper: SwiftThemis, Swift API labels Oct 30, 2020
@ilammy
Copy link
Collaborator

ilammy commented Oct 30, 2020

Hi @archana211, thank you for a report!

This seems to be a genuine issue with recently released Themis 0.13.4.

For CocoaPods, Themis 0.13.4 switches from dynamic linkage to static linkage. Unfortunately, we have not forseen the effect that this change might have on transitive dependency chains (i.e., when applications depend on a libraries and frameworks that depend on Themis). The situation here is that AppSpector's SDK still depends on the dynamic version of Themis, which 0.13.4 does not provide.

The workaround currently is to pin the version of Themis to 0.13.3 (or earlier), like you have done:

pod 'themis', '0.13.3'

We have also contacted AppSpector maintainers and they are working on releasing an updated version of the SDK which supports Themis 0.13.4. Once that hotfix is out, it should be possible to use a newer SDK and remove the pinned version.

I am sorry for the trouble that this have brought to you and other people 🙏 orz

@vixentael
Copy link
Contributor

@archana211 thank you a lot for letting us so early. We release 0.13.4 just yesterday, so having such quick feedback really helps a lot.

That's a pity that we didn't foresee this issue before, but better later than never.

@archana211
Copy link
Author

Okay , will go for fix version for now.
Thanks for the quick response.

@vixentael
Copy link
Contributor

@archana211 AppSpectorSDKE2E has released new version 1.3.6 with hard-linked Themis 0.13.3.

As we fix Themis, we'll ask @deszip to update AppSpector again :)

@vixentael vixentael changed the title Latest version (0.13.4) is not supported Issues with AppSpector 1.3.5 and Themis 0.13.4 Oct 30, 2020
@vixentael
Copy link
Contributor

The issue was hotpatched a month ago thanks to amazing speed of @deszip from AppSpector team, who pinned working Themis version.

Since then, we've fixed this issue (#750) and released 0.13.6.

Latest AppSpector uses fixed Themis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug compatibility Backward and forward compatibility, platform interoperability issues, breaking changes M-CocoaPods Package manager: CocoaPods, Objective-C and Swift, iOS and macOS O-iOS 📱 Operating system: iOS O-macOS 💻 Operating system: macOS W-ObjCThemis 🎨 Wrapper: ObjCThemis, Objective-C API W-SwiftThemis 🔶 Wrapper: SwiftThemis, Swift API
Projects
None yet
Development

No branches or pull requests

3 participants