On Mon, Sep 27, 2021 at 11:08 PM 'Atul Gawali' via Crypto++ Users <cryptopp-users@googlegroups.com> wrote: > > Hi Team, > I have gone through the djinni flow. I am training to create > generic SDKs for iOS and android platforms. > > The approach I am trying. In CPP I have a service which interacts with Crypto > third party libraries. > And we generating djinni cross platform files and trying to integrate in iOS > and android platform. > > I am able to integrate in the android platform but facing issues in iOS "Not > found for architecture 64". Please find the attached issue screenshot. > > In iOS , the hello world program is working fine using djinni, only the issue > related to third party framework which is using cpp code and third party > framework(CryptoPP) not able to build iOS platform. > > Can you please check and let me know where exactly I am doing wrong. > Thanks in advance.
I had a look at the dropbox/djinni GitHub, but nothing is jumping out at me. Sorry I cannot help. For iOS, bue sure your CFLAGS and CXXFLAGS includes '-arch arm64' when building the library. Here's the script we use to set it during testing: https://github.com/weidai11/cryptopp/blob/master/TestScripts/setenv-ios.sh. Also see https://www.cryptopp.com/wiki/IOS_(Command_Line) and https://www.cryptopp.com/wiki/Universal_Binaries on the wiki. Jeff -- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/CAH8yC8nR2TjDU%3Dm6zVVwzLQ5z8RC1TUb_FiwjsE3_%2By%3D6Os-VA%40mail.gmail.com.