-
Notifications
You must be signed in to change notification settings - Fork 143
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
Header not found when adding Themis as dependency in a new development cocoapod #411
Comments
Seems that this gonna be a long journey :)
https://github.com/cossacklabs/acra/blob/master/acrawriter.podspec But note two things:
So, first issue is fixed just to setting up correct HEADER_SEARCH_PATHS so Themis could find all its files.
First, you see typical Xcode error message like because of People say, that it's a typical error, when private headers are exposed into In Themis we can't hide all headers (although this was the first thing I tried to do in objc wrapper, results can be found in vxtl/ios-header branch), but internal structure of Themis (themis, soter, openssl) has exposed headers and it's rather complicated to change it.
So now I'm trying to add all required headers to the modulemap. Issue I face right now is how to support complex multi-level folder structure in modulemap, because it looks like only "flat" files are supported: |
it actually worked 😱 See updated Themis iOS wrapper code in #415, see new temporary Themis.podspec 0.10.4 in #416. Upon confirmation, successful testing and merging, I'll push podspec officially. |
Confirm that works for me. Thank you! |
@popaaaandrei themis |
Issue description
I am adding Themis as a dependency in a new development cocoapod like this:
s.dependency 'themis', '0.10.3'
(also tried withs.dependency 'themis/themis-openssl', '0.10.3'
)I have 2 errors when trying to build the project:
'soter/soter_error.h' file not found
insidethemis/themis_error.h
line 31 (#include <soter/soter_error.h>)Could not build Objective-C module 'themis'
where I am importing themisEnvironment info
OS: iOS 10
Cocoapods 1.5.3
Themis version: 0.10.0/2/3
Installation way: via package manager
Crypto provider: OpenSSL I think
The text was updated successfully, but these errors were encountered: