square / in-app-payments-ios

Public repository that hosts the Square In-App Payments SDK iOS binaries
15 stars 6 forks source link

Preview not working in xcode 14 #40

Closed thanakijwanavit closed 7 months ago

thanakijwanavit commented 2 years ago

I keep getting the missing executable error while trying to preview my app in xcode. Removing the library solves the problem.

SettingsError: noExecutablePath(<IDESwiftPackageStaticLibraryProductBuildable:ObjectIdentifier(0x0000600005cd1b00):'SquareBuyerVerificationSDK'>)

previews_diagnostics_summary.txt

joshluongo commented 2 years ago

Are you running Xcode under rosetta? If not that may explain the issue as this framework doesn't work on ARM macs. I raised this under #35 , you can patch the framework to make it work but its more of a bandaid solution.

brandonjenniges commented 7 months ago

Please update to 1.6.3 and let us know if you're still having an issue. We removed the exclusion of M1 macs for simulator in the latest release.