{"repo":"square/mobile-payments-sdk-ios","free":true,"listed":false,"github":"https://github.com/square/mobile-payments-sdk-ios","clone":"git clone https://github.com/square/mobile-payments-sdk-ios.git","description":"Public repository that hosts the Square Mobile Payments SDK iOS binaries","language":"Swift","stars":14,"topics":["ios","mobile","payments","sdk"],"license":null,"category":"mobile-apps","readme_excerpt":"Square Mobile Payments SDK Build remarkable in-person experiences using Square's Mobile Payments SDK product. Use the Mobile Payments SDK to accept in-person payments using Square hardware. The Mobile Payments SDK has the advantage of being an API-driven framework that allows for full customization and uses Square's latest v2/payments API. Learn what you can do with the Mobile Payments SDK here. Installation 1. Add frameworks using SPM or CocoaPods Option A. Swift Package Manager Install with Swift Package Manager by following these steps: 1. Select File Add Package Dependencies... . 2. Enter the repository URL: https://github.com/square/mobile-payments-sdk-ios . 3. Select the Exact Version dependency rule and specify the version as 2.6.0 . 4. Ensure the SquareMobilePaymentsSDK product is added to your target. Optionally, you can also add the MockReaderUI product to your target to simulate a physical reader when one is not present in a sandbox environment. Option B. CocoaPods Install with CocoaPods by adding the following to your Podfile : Note that MockReaderUI framework requires the SquareMobilePaymentsSDK framework to also be present in your Podfile . 2. Add build phase to setup the framework On your application targets’ Build Phases settings tab, click the + icon and choose New Run Script Phase . Create a Run Script in which you specify your shell (ex: /bin/sh), and add the following contents to the script area below the shell: Make sure this build phase is after any [CP]","default_branch":null,"files":null,"tree":[],"storefront":"/r/square","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/square/mobile-payments-sdk-ios/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}