Re: Issue facing || iOS Platform
"'Atul Gawali' via Crypto++ Users" <[email protected]> Wed, 29 Sep 2021 07:50:06 -0700 (PDT)
| Newsgroups | gmane.comp.encryption.cryptopp |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the reply, Now I am able to build the cryptopp Xcode project. But now when I am building the project to get *libcryptopp.a* framework. it not getting black it always showing in red form. please let me know if I am missing here. I am planning to make a framework so I can use it in the simulator project. please find attached a screenshot. [image: Screenshot 2021-09-29 at 8.15.41 PM.png] On Tuesday, September 28, 2021 at 2:51:25 PM UTC+5:30 Jeffrey Walton wrote: > On Mon, Sep 27, 2021 at 11:08 PM 'Atul Gawali' via Crypto++ Users > <[email protected]> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/08f31607-e7ea-4707-8e41-380aee560c15n%40googlegroups.com.
Screenshot 2021-09-29 at 8.15.41 PM.png
(image/png, 736 KB) - not displayed