question

Kailash Gaur avatar image
Kailash Gaur asked

Swift Package Manager(SPM) support for LoginWithAmazon iOS SDK

Hi,

The LoginWithAmazon SDK is currently available as FAT binary .framework. FAT .frameworks are explicitly disallowed in Xcode 12.3+. Please either support SPM, or provide a .XCFramework


As per Apple’s guidance, FAT binary frameworks are no longer supported in Xcode 12.3+
https://developer.apple.com/forums/thread/669274


“The framework isn't built with a supported configuration -- iOS and iOS Simulator should never appear in the same binary. You should follow-up with the support channel for the framework vendor and see if they have a fixed version (which needs to be a XCFramework).


login with amazonsdkios
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Vasyl Liutikov avatar image
Vasyl Liutikov answered

The problem still exists.

release notes said https://developer.amazon.com/docs/apps-and-games/sdk-downloads.html#lwa

3.1.2
Nov 5, 2021
Added support for ARM64 architecture on iPhone simulators to fix build issues in Xcode 12+.

but zip has LoginWithAmazon.framework, not .xcframework. And it doesn't have arm64 slice for a simulator (m1 macs)

lipo -info LoginWithAmazon.framework/LoginWithAmazon  
Architectures in the fat file: LoginWithAmazon.framework/LoginWithAmazon are: armv7 i386 x86_64 arm64


@Ross@Amazon can you have a look at it, please?

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Maximilian Reiß avatar image
Maximilian Reiß answered

Still broken. Makes it harder and harder to use since more developers get apple silicon laptops.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.