square/in-app-payments-flutter-plugin

Mac M1 support

Closed this issue · 3 comments

Are there any plans to add support for M1 macs?

Yes I need support for mac m1 chip

Is there any update regarding plans for this?

@jayczech23 @NikeshNayak @jannisnikoy

Sorry for the delay in response

Please note that in react-native when installing the cocoa-pods please install it with

Cocoapods: sudo arch -x86_64 gem install ffi
Pod install: arch -x86_64 pod install

to configure In-App with mac m1 chip please change

Build Settings > Excluded Architecture > Debug > arm64

and make sure you are having

Build Phases > Link Binary With Libraries > click on + > add SquareBuyerVerificationSDK.xcframework and SquareInAppPaymentsSDK.xcframework

Note: With the above steps you will be able to run in-app successfully but if you found this warning: Error creating LLDB target at path 'Library/Developer/Xcode/DerivedData/Runner-boeqfcmwdboxzyagrbnfbpsqzeqw/Build/Products/Debug-iphonesimulator/Runner.app'- using an empty LLDB target which can cause slow memory reads from remote devices and if your app is not able to open in the simulator or real device then please restart your system.