VirgilSecurity / virgil-sdk-x

Virgil Core SDK allows developers to get up and running with Virgil Cards Service API quickly and add end-to-end security to their new or existing digital solutions to become HIPAA and GDPR compliant and more.
https://virgilsecurity.com/
Other
27 stars 5 forks source link

Support for arm64 simulator architecture #54

Closed jakov-clay closed 2 years ago

jakov-clay commented 3 years ago

Will you support arm64 simulator architecture for M1 processor simulators?

I get this error when I try to build. building for iOS Simulator, but linking in dylib built for iOS, file '......./Pods/VSCCrypto/Carthage/iOS/VSCCommon.framework/VSCCommon' for architecture arm64

SergeySeroshtan commented 3 years ago

Hi! Thanks for paying attention to the Virgil SDKs. We're currently working on this issue and will distribute fix ASAP.

SergeySeroshtan commented 3 years ago

@jakov-clay can you check this workaround ?

SergeySeroshtan commented 3 years ago

Also the next answer can help https://github.com/AppsFlyerSDK/AppsFlyerFramework/issues/150#issuecomment-764432643

jakov-clay commented 3 years ago

Hi @SergeySeroshtan, yes, I'm using the workarounds at the moment. You can also include those in podspec of your framework until you have a time to take care of this. It omits need for workaround from integrators side. s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }

I'm asking because I have a framework which has your frameworks as dependency. I wanted to provide arm64 simulator support but can't do that until you do :)

I just wanted to make sure you are aware of this and have it somewhere in plan. Is there an ETA maybe?

Thanks for answers.

SergeySeroshtan commented 3 years ago

@jakov-clay, thanks for suggestions. At the very moment we check possibility to use XCFramework bundle format to figure out this issue. What approach you are using for your framework?

jakov-clay commented 3 years ago

Yes, you are right, you need to support XCFramework format to be able add that missing arch. I'm using XCFramework format.

jakov-clay commented 2 years ago

With version 8.0.0 this issue is resolved