in-app-payments-flutter-plugin icon indicating copy to clipboard operation
in-app-payments-flutter-plugin copied to clipboard

Mac M1 support

Open jayczech23 opened this issue 3 years ago • 1 comments

Are there any plans to add support for M1 macs?

jayczech23 avatar Mar 05 '22 16:03 jayczech23

Yes I need support for mac m1 chip

NikeshNayak avatar Mar 17 '22 19:03 NikeshNayak

Is there any update regarding plans for this?

jannisnikoy avatar Aug 24 '22 22:08 jannisnikoy

@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.

CharmisG avatar Sep 12 '22 10:09 CharmisG