Diego
02/15/2019, 5:02 PM@objc
. I updated my build.gradle file to add the cinterops
configuration and the problem is that when I try to build the project I get the following error:
> Task :p2p-common:cinteropCryptoCocoaIOS FAILED
Exception in thread "main" java.lang.Error: CryptoCocoa.framework/Headers/CryptoCocoa-Swift.h:203:4: error: expected a type
[CryptoCocoa-Swift.h
](https://gist.github.com/dfpalomar/0322a839ba2bd4b5959be3ca9d58c3eb#gistcomment-2837982) is a file generated by Xcode. The line 203 is - (NSData * _Nonnull)generateAESKeyWithKeySize:(NSInteger)keySize SWIFT_WARN_UNUSED_RESULT;
Am I using an unsupported swift feature? Any idea about how can I sort this out?svyatoslav.scherbina
02/18/2019, 7:18 AMFoundation/Foundation.h
as first entry of the headers
list, i.e.
headers = Foundation/Foundation.h MyUtils-Swift.h
Diego
02/18/2019, 10:03 AM