-
Notifications
You must be signed in to change notification settings - Fork 6
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
OpenSSL.framework not found in PackagesFrameworks directory #35
Comments
Actually, you can check out the full code here |
Unfortunately I'm not too familiar with CocoaPods. OpenSSL-Swift is a precompiled framework that is transitively needed by OHCKit. Maybe CocoaPods needs some more info and it helps if you explicitly express this dependency in another Something like
If not, feel free to experiment with podfiles in a branch or fork. We can't support/maintain here very much for now though |
Hey, yes I tried that already and it didn't help to fix the error. But I will try out some more and give feedback if I figured something out! |
@priska96 Have you been able to achieve something regarding the issue? |
While developing an expo module to read the PD file from the eGK via NFC and your OpenHealthCardKit I ran into the following issue:
Some context and folder structure:
I am building this module so I can later install it in my expo app and it works just fine with my config plugin and everything.
A thing that needs to be optimized however is the dependencies to the gematik OpenHealthCardKit.
So far I handled the dependencies manually and added the frameworks (HealthCardAccess.framework, NFCCardReaderProvider.framework, etc.) to my module ios folder and referenced them in my .podspec like so:
That was due to the fact that your frameworks can only be added via SPM and there was no way to add an spm_dependency to a .podspec so far. I need the podspec since I am building a react native npm package.
A week ago react native added spm_dependency for the podspec. Which is great because now I can reference your frameworks like so:
However, I run into this error with OpenSSL.framework. I am not very familiar with xcode and the build process.
It assumes that the framework should be found in the PackagesFrameworks folder of my module that I am building (the gk-nfc-reader). Which is not the case though. I am wondering if there might be some bug on your side when the HealthCardAccess and HealthCardControl frameworks are build ?
I temporarily fixed this issue by adding you OpenSSL.framework again to my ios folder and added the dependency to the .podspec. However that's not a good solution, as I need to manually keep the framework up to date.
I hope this information can help you somehow to figure out what I am doing and what might be wrong with the build process of the OpenHealthCardKit in case there is a bug.
The text was updated successfully, but these errors were encountered: