My2c2p iOS SDK
My2c2p iOS SDK make it easy for developer to make a payment securely. The first thing you need to do is to import the framework into your project.
You can download My2c2pSDK iOS DemoApp Project here.
Download PGW SDK and unzip it, if you haven't already done so.
Import PGW SDK into xcode project.
Static framework:
Step 1: Copy PGW.framework
, PGWResources.bundle
and mandatory dependencies framework into your project folder.
Step 2: Check "Copy items if needed", "Create groups" and click "finish".
Step 3: Make sure all the necessary dependencies framework are included in project.
Step 4: Make sure all the necessary bundle resource are included in project.
Dynamic framework:
Step 1: Copy PGW.xcframework
into your project folder.
Step 2: Check "Copy items if needed", "Create groups" and click "finish".
Step 3: Make sure config PGW SDK with Embed & Sign
and all the necessary dependencies framework are included in project.
Step 4: Make sure all the necessary bundle resource are included in project.
Static & Dynamic framework configuration:
- Select the Project -> Targets.
- Go to the Build Settings tab.
- Search Other Linker Flags
- Add
-lstdc++
and-ObjC
Reference