benson 6 years ago
parent
commit
6ed324b662
100 changed files with 3515 additions and 1 deletions
  1. 0 1
      Demo
  2. 793 0
      Demo1/Demo.xcodeproj/project.pbxproj
  3. 7 0
      Demo1/Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  4. 8 0
      Demo1/Demo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  5. BIN
      Demo1/Demo.xcodeproj/project.xcworkspace/xcuserdata/bensonzhang.xcuserdatad/UserInterfaceState.xcuserstate
  6. 111 0
      Demo1/Demo.xcodeproj/xcuserdata/bensonzhang.xcuserdatad/xcschemes/Demo.xcscheme
  7. 32 0
      Demo1/Demo.xcodeproj/xcuserdata/bensonzhang.xcuserdatad/xcschemes/xcschememanagement.plist
  8. 38 0
      Demo1/Demo/AllPayRequest.h
  9. 141 0
      Demo1/Demo/AllPayRequest.m
  10. 17 0
      Demo1/Demo/AppDelegate.h
  11. 63 0
      Demo1/Demo/AppDelegate.m
  12. 98 0
      Demo1/Demo/Assets.xcassets/AppIcon.appiconset/Contents.json
  13. 27 0
      Demo1/Demo/Base.lproj/LaunchScreen.storyboard
  14. 27 0
      Demo1/Demo/Base.lproj/Main.storyboard
  15. 15 0
      Demo1/Demo/DateUtil.h
  16. 23 0
      Demo1/Demo/DateUtil.m
  17. 11 0
      Demo1/Demo/Demo.entitlements
  18. 83 0
      Demo1/Demo/Info.plist
  19. 31 0
      Demo1/Demo/PayOrder.h
  20. 13 0
      Demo1/Demo/PayOrder.m
  21. 16 0
      Demo1/Demo/SignUtil.h
  22. 47 0
      Demo1/Demo/SignUtil.m
  23. 15 0
      Demo1/Demo/ViewController.h
  24. 209 0
      Demo1/Demo/ViewController.m
  25. BIN
      Demo1/Demo/allpaysdk/AliModule/AlipaySDK.bundle/bar@2x.png
  26. BIN
      Demo1/Demo/allpaysdk/AliModule/AlipaySDK.bundle/refresh@2x.png
  27. BIN
      Demo1/Demo/allpaysdk/AliModule/AlipaySDK.bundle/refresh_click@2x.png
  28. BIN
      Demo1/Demo/allpaysdk/AliModule/AlipaySDK.bundle/shutdown@2x.png
  29. BIN
      Demo1/Demo/allpaysdk/AliModule/AlipaySDK.bundle/shutdown_click@2x.png
  30. BIN
      Demo1/Demo/allpaysdk/AliModule/AlipaySDK.framework/AlipaySDK
  31. 33 0
      Demo1/Demo/allpaysdk/AliModule/AlipaySDK.framework/Headers/APayAuthInfo.h
  32. 177 0
      Demo1/Demo/allpaysdk/AliModule/AlipaySDK.framework/Headers/AlipaySDK.h
  33. BIN
      Demo1/Demo/allpaysdk/AliModule/AlipaySDK.framework/Info.plist
  34. BIN
      Demo1/Demo/allpaysdk/AliModule/AlipaySDK.framework/en.lproj/InfoPlist.strings
  35. BIN
      Demo1/Demo/allpaysdk/AliModule/libAliModule.a
  36. 18 0
      Demo1/Demo/allpaysdk/AllPaySDK.h
  37. BIN
      Demo1/Demo/allpaysdk/AppleModule/libAppleModule.a
  38. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Assets.car
  39. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Easebuzz
  40. 306 0
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Headers/Easebuzz-Swift.h
  41. 19 0
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Headers/Easebuzz.h
  42. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Info.plist
  43. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/arm.swiftdoc
  44. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/arm.swiftmodule
  45. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/arm64.swiftdoc
  46. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/arm64.swiftmodule
  47. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/i386.swiftdoc
  48. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/i386.swiftmodule
  49. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/x86_64.swiftdoc
  50. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/x86_64.swiftmodule
  51. 11 0
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/module.modulemap
  52. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/2Hb-Cz-TTW-view-X2i-VU-FLs.nib/objects-11.0+.nib
  53. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/2Hb-Cz-TTW-view-X2i-VU-FLs.nib/runtime.nib
  54. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/4QX-5W-Dtr-view-EOI-xo-Fp9.nib/objects-11.0+.nib
  55. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/4QX-5W-Dtr-view-EOI-xo-Fp9.nib/runtime.nib
  56. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/BzI-O3-bl8-view-hU1-rk-f1L.nib/objects-11.0+.nib
  57. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/BzI-O3-bl8-view-hU1-rk-f1L.nib/runtime.nib
  58. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/CardView.nib/objects-11.0+.nib
  59. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/CardView.nib/runtime.nib
  60. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/CouponViewController.nib/objects-11.0+.nib
  61. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/CouponViewController.nib/runtime.nib
  62. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/DfZ-ka-9P4-view-uaF-Xx-sEp.nib/objects-11.0+.nib
  63. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/DfZ-ka-9P4-view-uaF-Xx-sEp.nib/runtime.nib
  64. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/Info.plist
  65. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/ListOptionsView.nib/objects-11.0+.nib
  66. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/ListOptionsView.nib/runtime.nib
  67. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/PEBViewController.nib/objects-11.0+.nib
  68. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/PEBViewController.nib/runtime.nib
  69. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/PaymentOptionsView.nib/objects-11.0+.nib
  70. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/PaymentOptionsView.nib/runtime.nib
  71. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/SaveCardsViewController.nib/objects-11.0+.nib
  72. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/SaveCardsViewController.nib/runtime.nib
  73. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UIViewController-BzI-O3-bl8.nib/objects-11.0+.nib
  74. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UIViewController-BzI-O3-bl8.nib/runtime.nib
  75. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UPIPaymentView.nib/objects-11.0+.nib
  76. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UPIPaymentView.nib/runtime.nib
  77. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UPIView.nib/objects-11.0+.nib
  78. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UPIView.nib/runtime.nib
  79. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/WebViewController.nib/objects-11.0+.nib
  80. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/WebViewController.nib/runtime.nib
  81. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/a1W-f4-QHv-view-Xlp-q7-5ce.nib/objects-11.0+.nib
  82. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/a1W-f4-QHv-view-Xlp-q7-5ce.nib/runtime.nib
  83. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/gGQ-o3-zTp-view-WkJ-vW-0TT.nib/objects-11.0+.nib
  84. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/gGQ-o3-zTp-view-WkJ-vW-0TT.nib/runtime.nib
  85. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/h62-MD-t1q-view-49w-ZR-GHW.nib/objects-11.0+.nib
  86. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/h62-MD-t1q-view-49w-ZR-GHW.nib/runtime.nib
  87. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/nav.nib/objects-11.0+.nib
  88. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/nav.nib/runtime.nib
  89. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/qg0-p0-Rjm-view-h15-yi-z5k.nib/objects-11.0+.nib
  90. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/qg0-p0-Rjm-view-h15-yi-z5k.nib/runtime.nib
  91. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/sessionExpireView.nib/objects-11.0+.nib
  92. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/sessionExpireView.nib/runtime.nib
  93. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/v0z-3T-YhL-view-oC7-CZ-NiZ.nib/objects-11.0+.nib
  94. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/v0z-3T-YhL-view-oC7-CZ-NiZ.nib/runtime.nib
  95. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/zaw-1w-8Fm-view-WDW-sB-NcR.nib/objects-11.0+.nib
  96. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/zaw-1w-8Fm-view-WDW-sB-NcR.nib/runtime.nib
  97. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/zpm-fT-cXF-view-aUe-3P-F9z.nib/objects-11.0+.nib
  98. BIN
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/zpm-fT-cXF-view-aUe-3P-F9z.nib/runtime.nib
  99. 1126 0
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/_CodeSignature/CodeResources
  100. 0 0
      Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/bit_ssl.jpg

+ 0 - 1
Demo

@@ -1 +0,0 @@
-Subproject commit e369383720156570e0a5c47680386080e75b5680

+ 793 - 0
Demo1/Demo.xcodeproj/project.pbxproj

@@ -0,0 +1,793 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 46;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		81232DC120DCD5C200B78E71 /* libUPModule.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 81232DC020DCD5C200B78E71 /* libUPModule.a */; };
+		81232DC420DCD83500B78E71 /* libAppleModule.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 81232DC320DCD83500B78E71 /* libAppleModule.a */; };
+		81232DC620DCD95400B78E71 /* PassKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 81232DC520DCD95300B78E71 /* PassKit.framework */; };
+		81232DCB20DCDC5100B78E71 /* AlipaySDK.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 81232DC820DCDC5100B78E71 /* AlipaySDK.bundle */; };
+		81232DCC20DCDC5100B78E71 /* libAliModule.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 81232DC920DCDC5100B78E71 /* libAliModule.a */; };
+		81232DCD20DCDC5100B78E71 /* AlipaySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 81232DCA20DCDC5100B78E71 /* AlipaySDK.framework */; };
+		8139EE981BFEE97F0061D7EA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8139EE971BFEE97F0061D7EA /* main.m */; };
+		8139EE9B1BFEE97F0061D7EA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8139EE9A1BFEE97F0061D7EA /* AppDelegate.m */; };
+		8139EE9E1BFEE97F0061D7EA /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8139EE9D1BFEE97F0061D7EA /* ViewController.m */; };
+		8139EEA11BFEE97F0061D7EA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8139EE9F1BFEE97F0061D7EA /* Main.storyboard */; };
+		8139EEA31BFEE97F0061D7EA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8139EEA21BFEE97F0061D7EA /* Assets.xcassets */; };
+		8139EEA61BFEE97F0061D7EA /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8139EEA41BFEE97F0061D7EA /* LaunchScreen.storyboard */; };
+		8139EED71BFEF1250061D7EA /* AllPayRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 8139EED01BFEF1250061D7EA /* AllPayRequest.m */; };
+		8139EED81BFEF1250061D7EA /* DateUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 8139EED21BFEF1250061D7EA /* DateUtil.m */; };
+		8139EED91BFEF1250061D7EA /* PayOrder.m in Sources */ = {isa = PBXBuildFile; fileRef = 8139EED41BFEF1250061D7EA /* PayOrder.m */; };
+		8139EEDA1BFEF1250061D7EA /* SignUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 8139EED61BFEF1250061D7EA /* SignUtil.m */; };
+		81425F831C055722007CA494 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 81425F821C055722007CA494 /* CoreGraphics.framework */; };
+		81425F851C055757007CA494 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 81425F841C055757007CA494 /* CoreLocation.framework */; };
+		816ACAD11BFF014800F4EC4F /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 816ACAD01BFF014800F4EC4F /* QuartzCore.framework */; };
+		816ACAD31BFF019300F4EC4F /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 816ACAD21BFF019300F4EC4F /* Security.framework */; };
+		816ACAD71BFF024E00F4EC4F /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 816ACAD61BFF024E00F4EC4F /* libsqlite3.tbd */; };
+		816ACAD91BFF025B00F4EC4F /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 816ACAD81BFF025B00F4EC4F /* libc++.tbd */; };
+		818408831DE7EE2800DB194B /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 81B2095A1CE481F6007E3534 /* CoreTelephony.framework */; };
+		8196CBAF1DFE8B48002D7454 /* libAllPaySDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8196CBA11DFE8B48002D7454 /* libAllPaySDK.a */; };
+		8196CBCD1DFE92C3002D7454 /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8196CBCC1DFE92C3002D7454 /* CoreMotion.framework */; };
+		8199773F1D34D3C400266819 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8199773E1D34D3C400266819 /* JavaScriptCore.framework */; };
+		81C5BB8B208DEA1C00972A63 /* Easebuzz.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 81C5BB80208DD91F00972A63 /* Easebuzz.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+		81C5BB91208DEB0C00972A63 /* libEBModule.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 81C5BB8F208DEB0C00972A63 /* libEBModule.a */; };
+		81C5BB92208DEB0C00972A63 /* Easebuzz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 81C5BB90208DEB0C00972A63 /* Easebuzz.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
+		81D9AFAB20747216000B51A7 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 81425F801C055712007CA494 /* CFNetwork.framework */; };
+		81D9AFAC20747223000B51A7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 816ACACE1BFF013D00F4EC4F /* SystemConfiguration.framework */; };
+		81D9AFAD20747230000B51A7 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 816ACAD41BFF023200F4EC4F /* libz.tbd */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+		8139EEAD1BFEE9800061D7EA /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 8139EE8B1BFEE97F0061D7EA /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 8139EE921BFEE97F0061D7EA;
+			remoteInfo = Demo;
+		};
+		8139EEB81BFEE9800061D7EA /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 8139EE8B1BFEE97F0061D7EA /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 8139EE921BFEE97F0061D7EA;
+			remoteInfo = Demo;
+		};
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+		81C5BB8C208DEA1C00972A63 /* Embed Frameworks */ = {
+			isa = PBXCopyFilesBuildPhase;
+			buildActionMask = 2147483647;
+			dstPath = "";
+			dstSubfolderSpec = 10;
+			files = (
+				81C5BB8B208DEA1C00972A63 /* Easebuzz.framework in Embed Frameworks */,
+			);
+			name = "Embed Frameworks";
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+		81232DC020DCD5C200B78E71 /* libUPModule.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libUPModule.a; sourceTree = "<group>"; };
+		81232DC320DCD83500B78E71 /* libAppleModule.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libAppleModule.a; sourceTree = "<group>"; };
+		81232DC520DCD95300B78E71 /* PassKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PassKit.framework; path = System/Library/Frameworks/PassKit.framework; sourceTree = SDKROOT; };
+		81232DC820DCDC5100B78E71 /* AlipaySDK.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = AlipaySDK.bundle; sourceTree = "<group>"; };
+		81232DC920DCDC5100B78E71 /* libAliModule.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libAliModule.a; sourceTree = "<group>"; };
+		81232DCA20DCDC5100B78E71 /* AlipaySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AlipaySDK.framework; sourceTree = "<group>"; };
+		81352D831C87D481003C355E /* Demo.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Demo.entitlements; sourceTree = "<group>"; };
+		8139EE931BFEE97F0061D7EA /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; };
+		8139EE971BFEE97F0061D7EA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+		8139EE991BFEE97F0061D7EA /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+		8139EE9A1BFEE97F0061D7EA /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+		8139EE9C1BFEE97F0061D7EA /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
+		8139EE9D1BFEE97F0061D7EA /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
+		8139EEA01BFEE97F0061D7EA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
+		8139EEA21BFEE97F0061D7EA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
+		8139EEA51BFEE97F0061D7EA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
+		8139EEA71BFEE97F0061D7EA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+		8139EEAC1BFEE9800061D7EA /* DemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+		8139EEB71BFEE9800061D7EA /* DemoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DemoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+		8139EECF1BFEF1250061D7EA /* AllPayRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AllPayRequest.h; sourceTree = "<group>"; };
+		8139EED01BFEF1250061D7EA /* AllPayRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AllPayRequest.m; sourceTree = "<group>"; };
+		8139EED11BFEF1250061D7EA /* DateUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DateUtil.h; sourceTree = "<group>"; };
+		8139EED21BFEF1250061D7EA /* DateUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DateUtil.m; sourceTree = "<group>"; };
+		8139EED31BFEF1250061D7EA /* PayOrder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PayOrder.h; sourceTree = "<group>"; };
+		8139EED41BFEF1250061D7EA /* PayOrder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PayOrder.m; sourceTree = "<group>"; };
+		8139EED51BFEF1250061D7EA /* SignUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SignUtil.h; sourceTree = "<group>"; };
+		8139EED61BFEF1250061D7EA /* SignUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SignUtil.m; sourceTree = "<group>"; };
+		81425F801C055712007CA494 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
+		81425F821C055722007CA494 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+		81425F841C055757007CA494 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
+		816ACACE1BFF013D00F4EC4F /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
+		816ACAD01BFF014800F4EC4F /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
+		816ACAD21BFF019300F4EC4F /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
+		816ACAD41BFF023200F4EC4F /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
+		816ACAD61BFF024E00F4EC4F /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; };
+		816ACAD81BFF025B00F4EC4F /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; };
+		8196CB9C1DFE8B48002D7454 /* AllPaySDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AllPaySDK.h; sourceTree = "<group>"; };
+		8196CBA11DFE8B48002D7454 /* libAllPaySDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libAllPaySDK.a; sourceTree = "<group>"; };
+		8196CBCC1DFE92C3002D7454 /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
+		8199773E1D34D3C400266819 /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
+		81B2095A1CE481F6007E3534 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
+		81C5BB80208DD91F00972A63 /* Easebuzz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Easebuzz.framework; path = Demo/allpaysdk/EBModule/Easebuzz.framework; sourceTree = "<group>"; };
+		81C5BB8F208DEB0C00972A63 /* libEBModule.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libEBModule.a; sourceTree = "<group>"; };
+		81C5BB90208DEB0C00972A63 /* Easebuzz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Easebuzz.framework; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		8139EE901BFEE97F0061D7EA /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				81232DC620DCD95400B78E71 /* PassKit.framework in Frameworks */,
+				81232DCD20DCDC5100B78E71 /* AlipaySDK.framework in Frameworks */,
+				81232DCC20DCDC5100B78E71 /* libAliModule.a in Frameworks */,
+				81D9AFAD20747230000B51A7 /* libz.tbd in Frameworks */,
+				81D9AFAC20747223000B51A7 /* SystemConfiguration.framework in Frameworks */,
+				81D9AFAB20747216000B51A7 /* CFNetwork.framework in Frameworks */,
+				8196CBCD1DFE92C3002D7454 /* CoreMotion.framework in Frameworks */,
+				818408831DE7EE2800DB194B /* CoreTelephony.framework in Frameworks */,
+				8199773F1D34D3C400266819 /* JavaScriptCore.framework in Frameworks */,
+				81232DC420DCD83500B78E71 /* libAppleModule.a in Frameworks */,
+				81425F851C055757007CA494 /* CoreLocation.framework in Frameworks */,
+				81C5BB92208DEB0C00972A63 /* Easebuzz.framework in Frameworks */,
+				81425F831C055722007CA494 /* CoreGraphics.framework in Frameworks */,
+				81C5BB91208DEB0C00972A63 /* libEBModule.a in Frameworks */,
+				816ACAD91BFF025B00F4EC4F /* libc++.tbd in Frameworks */,
+				8196CBAF1DFE8B48002D7454 /* libAllPaySDK.a in Frameworks */,
+				816ACAD71BFF024E00F4EC4F /* libsqlite3.tbd in Frameworks */,
+				816ACAD31BFF019300F4EC4F /* Security.framework in Frameworks */,
+				81232DC120DCD5C200B78E71 /* libUPModule.a in Frameworks */,
+				816ACAD11BFF014800F4EC4F /* QuartzCore.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		8139EEA91BFEE9800061D7EA /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		8139EEB41BFEE9800061D7EA /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		81232DBF20DCD5C200B78E71 /* UPModule */ = {
+			isa = PBXGroup;
+			children = (
+				81232DC020DCD5C200B78E71 /* libUPModule.a */,
+			);
+			path = UPModule;
+			sourceTree = "<group>";
+		};
+		81232DC220DCD83500B78E71 /* AppleModule */ = {
+			isa = PBXGroup;
+			children = (
+				81232DC320DCD83500B78E71 /* libAppleModule.a */,
+			);
+			path = AppleModule;
+			sourceTree = "<group>";
+		};
+		81232DC720DCDC5100B78E71 /* AliModule */ = {
+			isa = PBXGroup;
+			children = (
+				81232DC820DCDC5100B78E71 /* AlipaySDK.bundle */,
+				81232DC920DCDC5100B78E71 /* libAliModule.a */,
+				81232DCA20DCDC5100B78E71 /* AlipaySDK.framework */,
+			);
+			path = AliModule;
+			sourceTree = "<group>";
+		};
+		8139EE8A1BFEE97F0061D7EA = {
+			isa = PBXGroup;
+			children = (
+				8199773E1D34D3C400266819 /* JavaScriptCore.framework */,
+				81B2095A1CE481F6007E3534 /* CoreTelephony.framework */,
+				81425F841C055757007CA494 /* CoreLocation.framework */,
+				81425F821C055722007CA494 /* CoreGraphics.framework */,
+				81425F801C055712007CA494 /* CFNetwork.framework */,
+				816ACAD81BFF025B00F4EC4F /* libc++.tbd */,
+				816ACAD61BFF024E00F4EC4F /* libsqlite3.tbd */,
+				816ACAD41BFF023200F4EC4F /* libz.tbd */,
+				816ACAD21BFF019300F4EC4F /* Security.framework */,
+				816ACAD01BFF014800F4EC4F /* QuartzCore.framework */,
+				816ACACE1BFF013D00F4EC4F /* SystemConfiguration.framework */,
+				8139EE951BFEE97F0061D7EA /* Demo */,
+				8139EE941BFEE97F0061D7EA /* Products */,
+				8196CBCB1DFE92C3002D7454 /* Frameworks */,
+			);
+			sourceTree = "<group>";
+		};
+		8139EE941BFEE97F0061D7EA /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				8139EE931BFEE97F0061D7EA /* Demo.app */,
+				8139EEAC1BFEE9800061D7EA /* DemoTests.xctest */,
+				8139EEB71BFEE9800061D7EA /* DemoUITests.xctest */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		8139EE951BFEE97F0061D7EA /* Demo */ = {
+			isa = PBXGroup;
+			children = (
+				81352D831C87D481003C355E /* Demo.entitlements */,
+				8139EEDC1BFEF13A0061D7EA /* Util */,
+				8139EEDB1BFEF12D0061D7EA /* Model */,
+				8139EE991BFEE97F0061D7EA /* AppDelegate.h */,
+				8139EE9A1BFEE97F0061D7EA /* AppDelegate.m */,
+				8196CB971DFE8B48002D7454 /* allpaysdk */,
+				8139EE9C1BFEE97F0061D7EA /* ViewController.h */,
+				8139EE9D1BFEE97F0061D7EA /* ViewController.m */,
+				8139EE9F1BFEE97F0061D7EA /* Main.storyboard */,
+				8139EEA21BFEE97F0061D7EA /* Assets.xcassets */,
+				8139EEA41BFEE97F0061D7EA /* LaunchScreen.storyboard */,
+				8139EEA71BFEE97F0061D7EA /* Info.plist */,
+				8139EE961BFEE97F0061D7EA /* Supporting Files */,
+			);
+			path = Demo;
+			sourceTree = "<group>";
+		};
+		8139EE961BFEE97F0061D7EA /* Supporting Files */ = {
+			isa = PBXGroup;
+			children = (
+				8139EE971BFEE97F0061D7EA /* main.m */,
+			);
+			name = "Supporting Files";
+			sourceTree = "<group>";
+		};
+		8139EEDB1BFEF12D0061D7EA /* Model */ = {
+			isa = PBXGroup;
+			children = (
+				8139EED31BFEF1250061D7EA /* PayOrder.h */,
+				8139EED41BFEF1250061D7EA /* PayOrder.m */,
+			);
+			name = Model;
+			sourceTree = "<group>";
+		};
+		8139EEDC1BFEF13A0061D7EA /* Util */ = {
+			isa = PBXGroup;
+			children = (
+				8139EED11BFEF1250061D7EA /* DateUtil.h */,
+				8139EED21BFEF1250061D7EA /* DateUtil.m */,
+				8139EECF1BFEF1250061D7EA /* AllPayRequest.h */,
+				8139EED01BFEF1250061D7EA /* AllPayRequest.m */,
+				8139EED51BFEF1250061D7EA /* SignUtil.h */,
+				8139EED61BFEF1250061D7EA /* SignUtil.m */,
+			);
+			name = Util;
+			sourceTree = "<group>";
+		};
+		8196CB971DFE8B48002D7454 /* allpaysdk */ = {
+			isa = PBXGroup;
+			children = (
+				81232DC720DCDC5100B78E71 /* AliModule */,
+				81232DC220DCD83500B78E71 /* AppleModule */,
+				81232DBF20DCD5C200B78E71 /* UPModule */,
+				81C5BB8E208DEB0C00972A63 /* EBModule */,
+				8196CB9C1DFE8B48002D7454 /* AllPaySDK.h */,
+				8196CBA11DFE8B48002D7454 /* libAllPaySDK.a */,
+			);
+			path = allpaysdk;
+			sourceTree = "<group>";
+		};
+		8196CBCB1DFE92C3002D7454 /* Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+				81232DC520DCD95300B78E71 /* PassKit.framework */,
+				81C5BB80208DD91F00972A63 /* Easebuzz.framework */,
+				8196CBCC1DFE92C3002D7454 /* CoreMotion.framework */,
+			);
+			name = Frameworks;
+			sourceTree = "<group>";
+		};
+		81C5BB8E208DEB0C00972A63 /* EBModule */ = {
+			isa = PBXGroup;
+			children = (
+				81C5BB8F208DEB0C00972A63 /* libEBModule.a */,
+				81C5BB90208DEB0C00972A63 /* Easebuzz.framework */,
+			);
+			path = EBModule;
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+		8139EE921BFEE97F0061D7EA /* Demo */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 8139EEC01BFEE9800061D7EA /* Build configuration list for PBXNativeTarget "Demo" */;
+			buildPhases = (
+				8139EE8F1BFEE97F0061D7EA /* Sources */,
+				8139EE901BFEE97F0061D7EA /* Frameworks */,
+				8139EE911BFEE97F0061D7EA /* Resources */,
+				81C5BB8C208DEA1C00972A63 /* Embed Frameworks */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = Demo;
+			productName = Demo;
+			productReference = 8139EE931BFEE97F0061D7EA /* Demo.app */;
+			productType = "com.apple.product-type.application";
+		};
+		8139EEAB1BFEE9800061D7EA /* DemoTests */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 8139EEC31BFEE9800061D7EA /* Build configuration list for PBXNativeTarget "DemoTests" */;
+			buildPhases = (
+				8139EEA81BFEE9800061D7EA /* Sources */,
+				8139EEA91BFEE9800061D7EA /* Frameworks */,
+				8139EEAA1BFEE9800061D7EA /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				8139EEAE1BFEE9800061D7EA /* PBXTargetDependency */,
+			);
+			name = DemoTests;
+			productName = DemoTests;
+			productReference = 8139EEAC1BFEE9800061D7EA /* DemoTests.xctest */;
+			productType = "com.apple.product-type.bundle.unit-test";
+		};
+		8139EEB61BFEE9800061D7EA /* DemoUITests */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 8139EEC61BFEE9800061D7EA /* Build configuration list for PBXNativeTarget "DemoUITests" */;
+			buildPhases = (
+				8139EEB31BFEE9800061D7EA /* Sources */,
+				8139EEB41BFEE9800061D7EA /* Frameworks */,
+				8139EEB51BFEE9800061D7EA /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				8139EEB91BFEE9800061D7EA /* PBXTargetDependency */,
+			);
+			name = DemoUITests;
+			productName = DemoUITests;
+			productReference = 8139EEB71BFEE9800061D7EA /* DemoUITests.xctest */;
+			productType = "com.apple.product-type.bundle.ui-testing";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		8139EE8B1BFEE97F0061D7EA /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				LastUpgradeCheck = 0940;
+				ORGANIZATIONNAME = xunlian;
+				TargetAttributes = {
+					8139EE921BFEE97F0061D7EA = {
+						CreatedOnToolsVersion = 7.1.1;
+						DevelopmentTeam = 3K8PWND77D;
+						ProvisioningStyle = Automatic;
+						SystemCapabilities = {
+							com.apple.ApplePay = {
+								enabled = 1;
+							};
+							com.apple.OMC = {
+								enabled = 1;
+							};
+							com.apple.Wallet = {
+								enabled = 0;
+							};
+						};
+					};
+					8139EEAB1BFEE9800061D7EA = {
+						CreatedOnToolsVersion = 7.1.1;
+						DevelopmentTeam = 37FXGKDAMM;
+						TestTargetID = 8139EE921BFEE97F0061D7EA;
+					};
+					8139EEB61BFEE9800061D7EA = {
+						CreatedOnToolsVersion = 7.1.1;
+						DevelopmentTeam = 37FXGKDAMM;
+						TestTargetID = 8139EE921BFEE97F0061D7EA;
+					};
+				};
+			};
+			buildConfigurationList = 8139EE8E1BFEE97F0061D7EA /* Build configuration list for PBXProject "Demo" */;
+			compatibilityVersion = "Xcode 3.2";
+			developmentRegion = English;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+				Base,
+			);
+			mainGroup = 8139EE8A1BFEE97F0061D7EA;
+			productRefGroup = 8139EE941BFEE97F0061D7EA /* Products */;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+				8139EE921BFEE97F0061D7EA /* Demo */,
+				8139EEAB1BFEE9800061D7EA /* DemoTests */,
+				8139EEB61BFEE9800061D7EA /* DemoUITests */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+		8139EE911BFEE97F0061D7EA /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				8139EEA61BFEE97F0061D7EA /* LaunchScreen.storyboard in Resources */,
+				8139EEA31BFEE97F0061D7EA /* Assets.xcassets in Resources */,
+				81232DCB20DCDC5100B78E71 /* AlipaySDK.bundle in Resources */,
+				8139EEA11BFEE97F0061D7EA /* Main.storyboard in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		8139EEAA1BFEE9800061D7EA /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		8139EEB51BFEE9800061D7EA /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+		8139EE8F1BFEE97F0061D7EA /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				8139EE9E1BFEE97F0061D7EA /* ViewController.m in Sources */,
+				8139EED81BFEF1250061D7EA /* DateUtil.m in Sources */,
+				8139EE9B1BFEE97F0061D7EA /* AppDelegate.m in Sources */,
+				8139EEDA1BFEF1250061D7EA /* SignUtil.m in Sources */,
+				8139EED71BFEF1250061D7EA /* AllPayRequest.m in Sources */,
+				8139EE981BFEE97F0061D7EA /* main.m in Sources */,
+				8139EED91BFEF1250061D7EA /* PayOrder.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		8139EEA81BFEE9800061D7EA /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		8139EEB31BFEE9800061D7EA /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+		8139EEAE1BFEE9800061D7EA /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = 8139EE921BFEE97F0061D7EA /* Demo */;
+			targetProxy = 8139EEAD1BFEE9800061D7EA /* PBXContainerItemProxy */;
+		};
+		8139EEB91BFEE9800061D7EA /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = 8139EE921BFEE97F0061D7EA /* Demo */;
+			targetProxy = 8139EEB81BFEE9800061D7EA /* PBXContainerItemProxy */;
+		};
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+		8139EE9F1BFEE97F0061D7EA /* Main.storyboard */ = {
+			isa = PBXVariantGroup;
+			children = (
+				8139EEA01BFEE97F0061D7EA /* Base */,
+			);
+			name = Main.storyboard;
+			sourceTree = "<group>";
+		};
+		8139EEA41BFEE97F0061D7EA /* LaunchScreen.storyboard */ = {
+			isa = PBXVariantGroup;
+			children = (
+				8139EEA51BFEE97F0061D7EA /* Base */,
+			);
+			name = LaunchScreen.storyboard;
+			sourceTree = "<group>";
+		};
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+		8139EEBE1BFEE9800061D7EA /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_COMMA = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INFINITE_RECURSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+				CLANG_WARN_STRICT_PROTOTYPES = YES;
+				CLANG_WARN_SUSPICIOUS_MOVE = YES;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = dwarf;
+				ENABLE_BITCODE = YES;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				ENABLE_TESTABILITY = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_NO_COMMON_BLOCKS = YES;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 10.2;
+				MTL_ENABLE_DEBUG_INFO = YES;
+				ONLY_ACTIVE_ARCH = YES;
+				SDKROOT = iphoneos;
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Debug;
+		};
+		8139EEBF1BFEE9800061D7EA /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_COMMA = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INFINITE_RECURSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+				CLANG_WARN_STRICT_PROTOTYPES = YES;
+				CLANG_WARN_SUSPICIOUS_MOVE = YES;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				ENABLE_BITCODE = YES;
+				ENABLE_NS_ASSERTIONS = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_NO_COMMON_BLOCKS = YES;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 10.2;
+				MTL_ENABLE_DEBUG_INFO = NO;
+				SDKROOT = iphoneos;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VALIDATE_PRODUCT = YES;
+			};
+			name = Release;
+		};
+		8139EEC11BFEE9800061D7EA /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				CODE_SIGN_ENTITLEMENTS = Demo/Demo.entitlements;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				CODE_SIGN_STYLE = Automatic;
+				DEVELOPMENT_TEAM = 3K8PWND77D;
+				EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO;
+				ENABLE_BITCODE = YES;
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(inherited)",
+					"$(PROJECT_DIR)/Demo/allpaysdk",
+					"$(PROJECT_DIR)/Demo/allpaysdk/EBModule",
+					"$(PROJECT_DIR)/Demo/allpaysdk/AliModule",
+				);
+				INFOPLIST_FILE = Demo/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 10.2;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+				LIBRARY_SEARCH_PATHS = (
+					"$(inherited)",
+					"$(PROJECT_DIR)/Demo",
+					"$(PROJECT_DIR)/Demo/allpaysdk",
+					"$(PROJECT_DIR)/Demo/allpaysdk/EBModule",
+					"$(PROJECT_DIR)/Demo/allpaysdk/UPModule",
+					"$(PROJECT_DIR)/Demo/allpaysdk/AppleModule",
+					"$(PROJECT_DIR)/Demo/allpaysdk/AliModule",
+					"$(PROJECT_DIR)/Demo/allpaysdk/WXModule",
+				);
+				MACH_O_TYPE = mh_execute;
+				OTHER_LDFLAGS = "-ObjC";
+				PRODUCT_BUNDLE_IDENTIFIER = com.allpay.pay;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				PROVISIONING_PROFILE = "";
+				PROVISIONING_PROFILE_SPECIFIER = "";
+			};
+			name = Debug;
+		};
+		8139EEC21BFEE9800061D7EA /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				CODE_SIGN_ENTITLEMENTS = Demo/Demo.entitlements;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				CODE_SIGN_STYLE = Automatic;
+				DEVELOPMENT_TEAM = 3K8PWND77D;
+				EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO;
+				ENABLE_BITCODE = YES;
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(inherited)",
+					"$(PROJECT_DIR)/Demo/allpaysdk",
+					"$(PROJECT_DIR)/Demo/allpaysdk/EBModule",
+					"$(PROJECT_DIR)/Demo/allpaysdk/AliModule",
+				);
+				INFOPLIST_FILE = Demo/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 10.2;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+				LIBRARY_SEARCH_PATHS = (
+					"$(inherited)",
+					"$(PROJECT_DIR)/Demo",
+					"$(PROJECT_DIR)/Demo/allpaysdk",
+					"$(PROJECT_DIR)/Demo/allpaysdk/EBModule",
+					"$(PROJECT_DIR)/Demo/allpaysdk/UPModule",
+					"$(PROJECT_DIR)/Demo/allpaysdk/AppleModule",
+					"$(PROJECT_DIR)/Demo/allpaysdk/AliModule",
+					"$(PROJECT_DIR)/Demo/allpaysdk/WXModule",
+				);
+				MACH_O_TYPE = mh_execute;
+				OTHER_LDFLAGS = "-ObjC";
+				PRODUCT_BUNDLE_IDENTIFIER = com.allpay.pay;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				PROVISIONING_PROFILE = "";
+				PROVISIONING_PROFILE_SPECIFIER = "";
+			};
+			name = Release;
+		};
+		8139EEC41BFEE9800061D7EA /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				BUNDLE_LOADER = "$(TEST_HOST)";
+				INFOPLIST_FILE = DemoTests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				LIBRARY_SEARCH_PATHS = (
+					"$(inherited)",
+					"$(PROJECT_DIR)/DemoTests",
+				);
+				PRODUCT_BUNDLE_IDENTIFIER = com.xunlian.DemoTests;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo.app/Demo";
+			};
+			name = Debug;
+		};
+		8139EEC51BFEE9800061D7EA /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				BUNDLE_LOADER = "$(TEST_HOST)";
+				INFOPLIST_FILE = DemoTests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				LIBRARY_SEARCH_PATHS = (
+					"$(inherited)",
+					"$(PROJECT_DIR)/DemoTests",
+				);
+				PRODUCT_BUNDLE_IDENTIFIER = com.xunlian.DemoTests;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo.app/Demo";
+			};
+			name = Release;
+		};
+		8139EEC71BFEE9800061D7EA /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				INFOPLIST_FILE = DemoUITests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.xunlian.DemoUITests;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				TEST_TARGET_NAME = Demo;
+				USES_XCTRUNNER = YES;
+			};
+			name = Debug;
+		};
+		8139EEC81BFEE9800061D7EA /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				INFOPLIST_FILE = DemoUITests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.xunlian.DemoUITests;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				TEST_TARGET_NAME = Demo;
+				USES_XCTRUNNER = YES;
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		8139EE8E1BFEE97F0061D7EA /* Build configuration list for PBXProject "Demo" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				8139EEBE1BFEE9800061D7EA /* Debug */,
+				8139EEBF1BFEE9800061D7EA /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		8139EEC01BFEE9800061D7EA /* Build configuration list for PBXNativeTarget "Demo" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				8139EEC11BFEE9800061D7EA /* Debug */,
+				8139EEC21BFEE9800061D7EA /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		8139EEC31BFEE9800061D7EA /* Build configuration list for PBXNativeTarget "DemoTests" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				8139EEC41BFEE9800061D7EA /* Debug */,
+				8139EEC51BFEE9800061D7EA /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		8139EEC61BFEE9800061D7EA /* Build configuration list for PBXNativeTarget "DemoUITests" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				8139EEC71BFEE9800061D7EA /* Debug */,
+				8139EEC81BFEE9800061D7EA /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = 8139EE8B1BFEE97F0061D7EA /* Project object */;
+}

+ 7 - 0
Demo1/Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "self:Demo.xcodeproj">
+   </FileRef>
+</Workspace>

+ 8 - 0
Demo1/Demo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>IDEDidComputeMac32BitWarning</key>
+	<true/>
+</dict>
+</plist>

BIN
Demo1/Demo.xcodeproj/project.xcworkspace/xcuserdata/bensonzhang.xcuserdatad/UserInterfaceState.xcuserstate


+ 111 - 0
Demo1/Demo.xcodeproj/xcuserdata/bensonzhang.xcuserdatad/xcschemes/Demo.xcscheme

@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0940"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "8139EE921BFEE97F0061D7EA"
+               BuildableName = "Demo.app"
+               BlueprintName = "Demo"
+               ReferencedContainer = "container:Demo.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES">
+      <Testables>
+         <TestableReference
+            skipped = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "8139EEAB1BFEE9800061D7EA"
+               BuildableName = "DemoTests.xctest"
+               BlueprintName = "DemoTests"
+               ReferencedContainer = "container:Demo.xcodeproj">
+            </BuildableReference>
+         </TestableReference>
+         <TestableReference
+            skipped = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "8139EEB61BFEE9800061D7EA"
+               BuildableName = "DemoUITests.xctest"
+               BlueprintName = "DemoUITests"
+               ReferencedContainer = "container:Demo.xcodeproj">
+            </BuildableReference>
+         </TestableReference>
+      </Testables>
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "8139EE921BFEE97F0061D7EA"
+            BuildableName = "Demo.app"
+            BlueprintName = "Demo"
+            ReferencedContainer = "container:Demo.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <BuildableProductRunnable
+         runnableDebuggingMode = "0">
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "8139EE921BFEE97F0061D7EA"
+            BuildableName = "Demo.app"
+            BlueprintName = "Demo"
+            ReferencedContainer = "container:Demo.xcodeproj">
+         </BuildableReference>
+      </BuildableProductRunnable>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <BuildableProductRunnable
+         runnableDebuggingMode = "0">
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "8139EE921BFEE97F0061D7EA"
+            BuildableName = "Demo.app"
+            BlueprintName = "Demo"
+            ReferencedContainer = "container:Demo.xcodeproj">
+         </BuildableReference>
+      </BuildableProductRunnable>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>

+ 32 - 0
Demo1/Demo.xcodeproj/xcuserdata/bensonzhang.xcuserdatad/xcschemes/xcschememanagement.plist

@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>SchemeUserState</key>
+	<dict>
+		<key>Demo.xcscheme</key>
+		<dict>
+			<key>orderHint</key>
+			<integer>0</integer>
+		</dict>
+	</dict>
+	<key>SuppressBuildableAutocreation</key>
+	<dict>
+		<key>8139EE921BFEE97F0061D7EA</key>
+		<dict>
+			<key>primary</key>
+			<true/>
+		</dict>
+		<key>8139EEAB1BFEE9800061D7EA</key>
+		<dict>
+			<key>primary</key>
+			<true/>
+		</dict>
+		<key>8139EEB61BFEE9800061D7EA</key>
+		<dict>
+			<key>primary</key>
+			<true/>
+		</dict>
+	</dict>
+</dict>
+</plist>

+ 38 - 0
Demo1/Demo/AllPayRequest.h

@@ -0,0 +1,38 @@
+//
+//  UPRequest.h
+//  VTPayUPDemo
+//
+//  Created by 司瑞华 on 15/7/29.
+//  Copyright (c) 2015年 __VTPayment__. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+typedef void (^FinishBlock)(id finResponseData);
+typedef void (^FailedBlock)(id faiResponseData);
+
+@interface AllPayRequest : NSObject
+
+@property (strong, nonatomic) NSMutableData      *resultData;
+@property (strong, nonatomic) FinishBlock        finishBlock;
+@property (strong, nonatomic) FailedBlock        failedBlock;
+
+/**
+ *  这个是post请求
+ *
+ *  @param urlStr       要访问的网站  NSString类型
+ *  @param paramters    请求的参数    NSMutableDictionary
+ *  @param succeedBlock 成功时的回调  返回id类型
+ *  @param failedBlock  失败时的回调  返回id类型
+ */
++ (void)postRequestWithURL:(NSString *)urlStr
+                 paramters:(NSMutableDictionary *)paramters
+                   succeed:(FinishBlock)succeedBlock
+                    failed:(FailedBlock)failedBlock;
+
+
+/* md5加密 */
+
++(NSString *) md5: (NSString *) inPutText ;
+
+@end

+ 141 - 0
Demo1/Demo/AllPayRequest.m

@@ -0,0 +1,141 @@
+//
+//  UPRequest.m
+//  VTPayUPDemo
+//
+//  Created by 司瑞华 on 15/7/29.
+//  Copyright (c) 2015年 __VTPayment__. All rights reserved.
+//
+
+#import "AllPayRequest.h"
+#import "commonCrypto/CommonDigest.h"
+
+@implementation AllPayRequest
+
+///**
+// *  post请求
+// *
+// *  @param urlStr       要访问的网站  NSString类型
+// *  @param paramters    请求的参数    NSMutableDictionary
+// *  @param succeedBlock 成功时的回调  返回NSString类型
+// *  @param failedBlock  失败时的回调  返回NSString类型
+// */
++(void)postRequestWithURL:(NSString *)urlStr
+                paramters:(NSMutableDictionary *)paramters
+                  succeed:(FinishBlock)succeedBlock
+                   failed:(FailedBlock)failedBlock
+{
+    AllPayRequest * httpRequest = [[AllPayRequest alloc]init];
+    httpRequest.finishBlock = succeedBlock;
+    httpRequest.failedBlock = failedBlock;
+    
+    NSURL * url = [NSURL URLWithString:urlStr];
+    NSMutableURLRequest * request = [[NSMutableURLRequest alloc]initWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:30];
+    
+    NSString * strField;
+    if (paramters.count>0)
+    {
+        strField = [self dictFieldInfo:paramters];
+    }else
+    {
+        strField = @"";
+    }
+    ///把获得的整个请求字段用utf-8编码一下
+    NSData * data = [strField dataUsingEncoding:NSUTF8StringEncoding];
+    [request setHTTPBody:data];
+    [request setHTTPMethod:@"POST"];
+    
+    NSURLConnection * connection = [[NSURLConnection alloc]initWithRequest:request delegate:httpRequest];
+    [connection start];
+}
+
+// 将字典参数 拼接成一个有 &%@=%@ 的字符串
++(NSString *)dictFieldInfo:(NSMutableDictionary*)dict
+{
+    NSMutableString * Url = [NSMutableString string];
+    NSArray * keys = [dict allKeys];
+    for (int i = 0; i < keys.count; i++)
+    {
+        NSString * string;
+        if (i == 0)
+        {
+            string = [NSString stringWithFormat:@"%@=%@", keys[i],dict[keys[i]]];
+        }else{
+            //拼接时加&
+            string = [NSString stringWithFormat:@"&%@=%@", keys[i],dict[keys[i]]];
+        }
+        [Url appendString:string];
+    }
+    return Url;
+}
+/**
+ *  接收到服务器回应的时回调
+ */
+- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
+{
+    if (!self.resultData)
+    {
+        self.resultData = [[NSMutableData alloc]init];
+    }else
+    {
+        [self.resultData setLength:0];
+    }
+}
+/**
+ *  接收到服务器传输数据的时候调用,此方法根据数据大小执行若干次
+ */
+- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
+{
+    [self.resultData appendData:data];
+}
+/**
+ *  数据传完之后调用此方法
+ */
+- (void)connectionDidFinishLoading:(NSURLConnection *)connection
+{
+    if (self.finishBlock) {
+        self.finishBlock(self.resultData);
+    }
+}
+/**
+ *  网络请求过程中,出现任何错误(断网,连接超时等)会进入此方法
+ */
+- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
+{
+    NSLog(@"network error : %@", [error localizedDescription]);
+    
+    if (self.failedBlock) {
+        self.failedBlock([error localizedDescription]);
+    }
+}
+
+// 将字符串,转化成数组或字典 objectFromJSONStringWithParseOptions
+- (id)dictionaryOrArrayWithJSONSString:(NSString *)jsonString
+{
+    if (jsonString == nil)
+    {
+        return nil;
+    }
+    
+    NSData *jsonData = [jsonString dataUsingEncoding:NSUTF8StringEncoding];
+    return [NSJSONSerialization JSONObjectWithData:jsonData options:NSJSONReadingMutableLeaves |  NSJSONReadingMutableContainers error:nil];
+}
+#pragma mark - MD5加密
++(NSString *) md5: (NSString *) inPutText
+{
+    const char *cStr = [inPutText UTF8String];
+    
+    unsigned char result[CC_MD5_DIGEST_LENGTH];
+    
+    CC_MD5(cStr, (CC_LONG)strlen(cStr), result);
+    
+    
+    return [[NSString stringWithFormat:@"%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X",
+             result[0], result[1], result[2], result[3],
+             result[4], result[5], result[6], result[7],
+             result[8], result[9], result[10], result[11],
+             result[12], result[13], result[14], result[15]
+             ] lowercaseString];
+    
+}
+
+@end

+ 17 - 0
Demo1/Demo/AppDelegate.h

@@ -0,0 +1,17 @@
+//
+//  AppDelegate.h
+//  Demo
+//
+//  Created by BensonZhang on 15/11/20.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+
+@end
+

+ 63 - 0
Demo1/Demo/AppDelegate.m

@@ -0,0 +1,63 @@
+//
+//  AppDelegate.m
+//  Demo
+//
+//  Created by BensonZhang on 15/11/20.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+#import "AppDelegate.h"
+#import "allpaysdk/AllPaySDK.h"
+
+@interface AppDelegate ()
+
+@end
+
+@implementation AppDelegate
+
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+   
+    return YES;
+}
+
+-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{
+    [AllPaySDK openURL:url];
+    return YES;
+}
+
+-(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url{
+    
+    [AllPaySDK openURL:url];
+    return YES;
+    
+}
+
+-(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options{
+    [AllPaySDK openURL:url];
+    return YES;
+    
+}
+- (void)applicationWillResignActive:(UIApplication *)application {
+    // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
+    // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
+}
+
+- (void)applicationDidEnterBackground:(UIApplication *)application {
+    // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
+    // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
+}
+
+- (void)applicationWillEnterForeground:(UIApplication *)application {
+    // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
+}
+
+- (void)applicationDidBecomeActive:(UIApplication *)application {
+    // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
+}
+
+- (void)applicationWillTerminate:(UIApplication *)application {
+    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
+}
+
+@end

+ 98 - 0
Demo1/Demo/Assets.xcassets/AppIcon.appiconset/Contents.json

@@ -0,0 +1,98 @@
+{
+  "images" : [
+    {
+      "idiom" : "iphone",
+      "size" : "20x20",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "20x20",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "29x29",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "29x29",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "40x40",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "40x40",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "60x60",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "60x60",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "20x20",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "20x20",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "29x29",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "29x29",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "40x40",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "40x40",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "76x76",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "76x76",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "83.5x83.5",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ios-marketing",
+      "size" : "1024x1024",
+      "scale" : "1x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

+ 27 - 0
Demo1/Demo/Base.lproj/LaunchScreen.storyboard

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
+    </dependencies>
+    <scenes>
+        <!--View Controller-->
+        <scene sceneID="EHf-IW-A2E">
+            <objects>
+                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
+                    <layoutGuides>
+                        <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
+                        <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
+                    </layoutGuides>
+                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
+                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+                    </view>
+                </viewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="53" y="375"/>
+        </scene>
+    </scenes>
+</document>

+ 27 - 0
Demo1/Demo/Base.lproj/Main.storyboard

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9060" systemVersion="15B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9051"/>
+    </dependencies>
+    <scenes>
+        <!--View Controller-->
+        <scene sceneID="tne-QT-ifu">
+            <objects>
+                <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
+                    <layoutGuides>
+                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
+                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
+                    </layoutGuides>
+                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
+                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <animations/>
+                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+                    </view>
+                </viewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
+            </objects>
+        </scene>
+    </scenes>
+</document>

+ 15 - 0
Demo1/Demo/DateUtil.h

@@ -0,0 +1,15 @@
+//
+//  DateUtil.h
+//  Demo
+//
+//  Created by BensonZhang on 15/11/16.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface DateUtil : NSObject
+
++(NSString *)getDate:(NSString *)format;
+
+@end

+ 23 - 0
Demo1/Demo/DateUtil.m

@@ -0,0 +1,23 @@
+//
+//  DateUtil.m
+//  Demo
+//
+//  Created by BensonZhang on 15/11/16.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+#import "DateUtil.h"
+
+@implementation DateUtil
+
++(NSString *)getDate:(NSString *)format
+{
+    ///设置标准时间格式
+    NSDate * dateTime = [NSDate date];
+    NSDateFormatter * dateFormatter = [[NSDateFormatter alloc]init];
+    [dateFormatter setDateFormat:format];
+    NSString * formatterTime = [dateFormatter stringFromDate:dateTime];
+    return formatterTime;
+}
+
+@end

+ 11 - 0
Demo1/Demo/Demo.entitlements

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>com.apple.developer.in-app-payments</key>
+	<array>
+		<string>merchant.allpayx.com.test2</string>
+		<string>merchant.allpay.pay</string>
+	</array>
+</dict>
+</plist>

+ 83 - 0
Demo1/Demo/Info.plist

@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>en</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>$(PRODUCT_NAME)</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleURLTypes</key>
+	<array>
+		<dict>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>CFBundleURLName</key>
+			<string>alipay</string>
+			<key>CFBundleURLSchemes</key>
+			<array>
+				<string>com.xxx.xxx</string>
+			</array>
+		</dict>
+		<dict>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>CFBundleURLName</key>
+			<string>wxpay</string>
+			<key>CFBundleURLSchemes</key>
+			<array>
+				<string>wx0d48a98252a2fe7a</string>
+			</array>
+		</dict>
+	</array>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+	<key>LSApplicationQueriesSchemes</key>
+	<array>
+		<string>weixin</string>
+		<string>uppaysdk</string>
+		<string>uppaywallet</string>
+		<string>uppayx1</string>
+		<string>uppayx2</string>
+		<string>uppayx3</string>
+	</array>
+	<key>requires iPhone envir Application onment</key>
+	<false/>
+	<key>NSAppTransportSecurity</key>
+	<dict>
+		<key>NSAllowsArbitraryLoads</key>
+		<true/>
+	</dict>
+	<key>UILaunchStoryboardName</key>
+	<string>LaunchScreen</string>
+	<key>UIMainStoryboardFile</key>
+	<string>Main</string>
+	<key>UIRequiredDeviceCapabilities</key>
+	<array>
+		<string>armv7</string>
+	</array>
+	<key>UISupportedInterfaceOrientations</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+	<key>UISupportedInterfaceOrientations~ipad</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationPortraitUpsideDown</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+</dict>
+</plist>

+ 31 - 0
Demo1/Demo/PayOrder.h

@@ -0,0 +1,31 @@
+//
+//  PayOrder.h
+//  Demo
+//
+//  Created by BensonZhang on 15/11/16.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface PayOrder : NSObject
+@property (strong, nonatomic) NSString *version;
+@property (strong, nonatomic) NSString *charSet;
+@property (strong, nonatomic) NSString *transType;
+@property (strong, nonatomic) NSString *orderNum;
+@property (strong, nonatomic) NSString *orderAmount;
+@property (strong, nonatomic) NSString *orderCurrency;
+@property (strong, nonatomic) NSString *frontURL;
+@property (strong, nonatomic) NSString *backURL;
+@property (strong, nonatomic) NSString *merReserve;
+@property (strong, nonatomic) NSString *merID;
+@property (strong, nonatomic) NSString *acqID;
+@property (strong, nonatomic) NSString *paymentSchema;
+@property (strong, nonatomic) NSString *transTime;
+@property (strong, nonatomic) NSString *signType;
+@property (strong, nonatomic) NSString *signature;
+@property (strong, nonatomic) NSString *OrderDesc;
+@property (strong, nonatomic) NSString *language;
+@property (strong, nonatomic) NSString *customerId;
+@property (strong, nonatomic) NSString *signKey;
+@end

+ 13 - 0
Demo1/Demo/PayOrder.m

@@ -0,0 +1,13 @@
+//
+//  PayOrder.m
+//  Demo
+//
+//  Created by BensonZhang on 15/11/16.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+#import "PayOrder.h"
+
+@implementation PayOrder
+
+@end

+ 16 - 0
Demo1/Demo/SignUtil.h

@@ -0,0 +1,16 @@
+//
+//  SignUtil.h
+//  Demo
+//
+//  Created by BensonZhang on 15/11/16.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import "PayOrder.h"
+
+@interface SignUtil : NSObject
+
++(NSString *)getSign:(NSMutableDictionary*)paramDic;
+
+@end

+ 47 - 0
Demo1/Demo/SignUtil.m

@@ -0,0 +1,47 @@
+//
+//  SignUtil.m
+//  Demo
+//
+//  Created by BensonZhang on 15/11/16.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+#import "SignUtil.h"
+#import "AllPayRequest.h"
+
+@implementation SignUtil
+
++(NSString *)getSign:(NSMutableDictionary*)paramDic{
+    
+    return [SignUtil getMD5:[SignUtil getSignStr:paramDic  signkey:@"2f2c77e3718c47cfb47a89a6fbc9d361"]];
+}
+
++(NSString *)getSignStr:(NSMutableDictionary *)paramDic  signkey:(NSString *)key{
+    
+    NSArray *keys = [paramDic allKeys];
+    NSArray *sortedArray = [keys sortedArrayUsingComparator:^NSComparisonResult(id obj1, id obj2){
+        return [obj1 compare:obj2 options:NSNumericSearch];
+    }];
+     NSMutableString *signStr=[[NSMutableString alloc]init];
+    int i=0;
+    for (NSString *categoryId in sortedArray) {
+        if(i>0){
+            [signStr appendString:[NSString stringWithFormat:@"&%@=%@",categoryId,[paramDic objectForKey:categoryId]]];
+        }else{
+            [signStr appendString:[NSString stringWithFormat:@"%@=%@",categoryId,[paramDic objectForKey:categoryId]]];
+        }
+        i++;
+    }
+    [signStr appendString:key];
+       return signStr ;
+}
+
++(NSString *)getMD5:(NSString *)signStr{
+    NSLog(@"%@",signStr);
+    return [AllPayRequest md5:signStr];
+   
+
+}
+
+
+@end

+ 15 - 0
Demo1/Demo/ViewController.h

@@ -0,0 +1,15 @@
+//
+//  ViewController.h
+//  Demo
+//
+//  Created by BensonZhang on 15/11/20.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface ViewController : UIViewController
+
+
+@end
+

+ 209 - 0
Demo1/Demo/ViewController.m

@@ -0,0 +1,209 @@
+//
+//  ViewController.m
+//  Demo
+//
+//  Created by BensonZhang on 15/11/13.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+#import "ViewController.h"
+#import "AllPayRequest.h"
+#import "PayOrder.h"
+#import "DateUtil.h"
+#import "SignUtil.h"
+#import "AllPaySDK.h"
+@interface ViewController ()
+
+
+@end
+
+@implementation ViewController
+
+- (void)viewDidLoad {
+    [super viewDidLoad];
+   // [self.view setBackgroundColor:[UIColor yellowColor]];
+    UIButton * btn1 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
+    btn1.tag = 2;
+    btn1.frame = CGRectMake(80, 60, 200, 50);
+    [btn1 setTitle:@"支付宝支付" forState:UIControlStateNormal];
+    [btn1 addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];
+    [self.view addSubview:btn1];
+    UIButton * btn2 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
+    btn2.tag = 3;
+    btn2.frame = CGRectMake(80, 110, 200, 50);
+    [btn2 setTitle:@"微信支付" forState:UIControlStateNormal];
+    [btn2 addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];
+    [self.view addSubview:btn2];
+    
+    UIButton * btn3 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
+    btn3.tag = 4;
+    btn3.frame = CGRectMake(80, 160, 200, 50);
+    [btn3 setTitle:@"UP支付" forState:UIControlStateNormal];
+    [btn3 addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];
+    [self.view addSubview:btn3];
+    
+    UIButton * btn4 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
+    btn4.tag = 5;
+    btn4.frame = CGRectMake(80, 210, 200, 50);
+    [btn4 setTitle:@"EB支付" forState:UIControlStateNormal];
+    [btn4 addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];
+    [self.view addSubview:btn4];
+    
+    UIButton * btn5 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
+    btn5.tag = 6;
+    btn5.frame = CGRectMake(80, 260, 200, 50);
+    [btn5 setTitle:@"Apple Pay" forState:UIControlStateNormal];
+    [btn5 addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];
+    [self.view addSubview:btn5];
+    
+    
+    
+  
+}
+-(void)btnClick:(UIButton *)btn
+{
+    
+    
+    
+    NSMutableDictionary * paramDic=[[NSMutableDictionary alloc]init];
+    [paramDic setObject:@"VER000000002" forKey:@"version"];
+    [paramDic setObject:@"UTF-8" forKey:@"charSet"];
+    [paramDic setObject:@"PURC" forKey:@"transType"];
+    [paramDic setObject:[DateUtil getDate:@"YYYYMMddHHmmss"] forKey:@"orderNum"];
+    [paramDic setObject:@"0.1" forKey:@"orderAmount"];
+    [paramDic setObject:@"CNY" forKey:@"orderCurrency"];
+    [paramDic setObject:@"nil" forKey:@"frontURL"];
+    [paramDic setObject:@"http://example.com/example" forKey:@"backURL"];
+    [paramDic setObject:@"你好吗" forKey:@"merReserve"];
+      [paramDic setObject:@"test" forKey:@"goodsInfo"];
+    [paramDic setObject:@"000000000000015" forKey:@"merID"];
+    [paramDic setObject:@"99020344" forKey:@"acqID"];
+    [paramDic setObject:[DateUtil getDate:@"YYYYMMddHHmmss"] forKey:@"transTime"];
+    [paramDic setObject:@"MD5" forKey:@"signType"];
+   
+    
+    if (btn.tag == 2)//支付宝
+    {
+         [paramDic setObject:@"APMP" forKey:@"paymentSchema"];
+        
+    }else if (btn.tag == 3)//微信
+    {
+        [paramDic setObject:@"WX" forKey:@"paymentSchema"];
+    }else if (btn.tag == 4)//银联UP
+    {
+      [paramDic setObject:@"UP" forKey:@"paymentSchema"];
+    }else if (btn.tag == 5)//EB
+    {   [paramDic setObject:@"INR" forKey:@"orderCurrency"];
+        [paramDic setObject:@"EB" forKey:@"paymentSchema"];
+        [paramDic setObject:@"benson zhang" forKey:@"trxn_firstname"];
+        [paramDic setObject:@"benson.zhang@allpayx.com" forKey:@"trxn_email_id"];
+        [paramDic setObject:@"15026528888" forKey:@"trxn_phone"];
+        [paramDic setObject:@"1" forKey:@"trxn_is_coupon_enabled"];
+         [paramDic setObject:@"123456789" forKey:@"unique_id"];//不多于10位
+    }else if (btn.tag == 6)//APP
+    {
+        [paramDic setObject:@"APP" forKey:@"paymentSchema"];
+    }
+    
+    [self startPay:paramDic];
+    
+}
+
+-(void)startPay:(NSMutableDictionary*)paramDic
+{
+  [paramDic setObject:[SignUtil getSign:paramDic] forKey:@"signature"];
+    
+ NSString *url = @"https://testapi.allpayx.com/app/pay";
+    
+   //  NSString *url = @"https://api.allpayx.com/app/pay";
+    
+    
+    [AllPayRequest postRequestWithURL:url paramters:paramDic succeed:^(id finResponseData)
+     {
+         NSError *error;
+         NSDictionary * diction = [NSJSONSerialization JSONObjectWithData:finResponseData options:NSJSONReadingMutableContainers error:&error];
+         if(!error){
+             NSLog(@"-----输出数据---%@",diction);
+             
+          
+             [AllPaySDK pay:[diction objectForKey:@"tn"] mode:NO   scheme:@"com.xxx.xxx"  ViewController:self  onResult: ^(NSDictionary *resultDic) {
+                 NSData  *jsonData = [NSJSONSerialization dataWithJSONObject:resultDic options:NSJSONWritingPrettyPrinted error:nil];
+                 NSString *message =[[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
+                 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"支付结果" message:message delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
+                 [alert show];
+                 
+             }];
+            
+             
+             
+         }else{
+             NSString * dataString = [[NSString alloc]initWithData:finResponseData encoding:NSUTF8StringEncoding];
+             NSLog(@"参数出错===\n %@",dataString);
+             
+             
+         }
+         
+         
+         
+     } failed:^(id faiResponseData) {
+        
+     }];
+    
+    
+    
+}
+
+- (NSString *)getCurrentLanguage
+{
+    NSArray *languages = [NSLocale preferredLanguages];
+    NSString *currentLanguage = [languages objectAtIndex:0];
+    NSLog( @"%@" , currentLanguage);
+    return currentLanguage;
+}
+
+
+@end
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

BIN
Demo1/Demo/allpaysdk/AliModule/AlipaySDK.bundle/bar@2x.png


BIN
Demo1/Demo/allpaysdk/AliModule/AlipaySDK.bundle/refresh@2x.png


BIN
Demo1/Demo/allpaysdk/AliModule/AlipaySDK.bundle/refresh_click@2x.png


BIN
Demo1/Demo/allpaysdk/AliModule/AlipaySDK.bundle/shutdown@2x.png


BIN
Demo1/Demo/allpaysdk/AliModule/AlipaySDK.bundle/shutdown_click@2x.png


BIN
Demo1/Demo/allpaysdk/AliModule/AlipaySDK.framework/AlipaySDK


+ 33 - 0
Demo1/Demo/allpaysdk/AliModule/AlipaySDK.framework/Headers/APayAuthInfo.h

@@ -0,0 +1,33 @@
+//
+//  APAuthInfo.h
+//  AliSDKDemo
+//
+//  Created by 方彬 on 14-7-18.
+//  Copyright (c) 2014年 Alipay.com. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface APayAuthInfo : NSObject
+
+@property(nonatomic, copy)NSString *appID;
+@property(nonatomic, copy)NSString *pid;
+@property(nonatomic, copy)NSString *redirectUri;
+
+/**
+ *  初始化AuthInfo
+ *
+ *  @param appIDStr     应用ID
+ *  @param productIDStr 产品码 该商户在aboss签约的产品,用户获取pid获取的参数
+ *  @param pidStr       商户ID   可不填
+ *  @param uriStr       授权的应用回调地址  比如:alidemo://auth
+ *
+ *  @return authinfo实例
+ */
+- (id)initWithAppID:(NSString *)appIDStr
+                pid:(NSString *)pidStr
+        redirectUri:(NSString *)uriStr;
+
+- (NSString *)description;
+- (NSString *)wapDescription;
+@end

+ 177 - 0
Demo1/Demo/allpaysdk/AliModule/AlipaySDK.framework/Headers/AlipaySDK.h

@@ -0,0 +1,177 @@
+//
+//  AlipaySDK.h
+//  AlipaySDK
+//
+//  Created by 方彬 on 14-4-28.
+//  Copyright (c) 2014年 Alipay. All rights reserved.
+//
+
+
+////////////////////////////////////////////////////////
+////////////////version:2.1  motify:2014.12.24//////////
+///////////////////Merry Christmas=。=//////////////////
+////////////////////////////////////////////////////////
+
+
+#import "APayAuthInfo.h"
+typedef enum {
+    ALIPAY_TIDFACTOR_IMEI,
+    ALIPAY_TIDFACTOR_IMSI,
+    ALIPAY_TIDFACTOR_TID,
+    ALIPAY_TIDFACTOR_CLIENTKEY,
+    ALIPAY_TIDFACTOR_VIMEI,
+    ALIPAY_TIDFACTOR_VIMSI,
+    ALIPAY_TIDFACTOR_CLIENTID,
+    ALIPAY_TIDFACTOR_APDID,
+    ALIPAY_TIDFACTOR_MAX
+} AlipayTidFactor;
+
+typedef void(^CompletionBlock)(NSDictionary *resultDic);
+
+@interface AlipaySDK : NSObject
+
+/**
+ *  创建支付单例服务
+ *
+ *  @return 返回单例对象
+ */
++ (AlipaySDK *)defaultService;
+
+/**
+ *  用于设置SDK使用的window,如果没有自行创建window无需设置此接口
+ */
+@property (nonatomic, weak) UIWindow *targetWindow;
+
+/**
+ *  支付接口
+ *
+ *  @param orderStr       订单信息
+ *  @param schemeStr      调用支付的app注册在info.plist中的scheme
+ *  @param compltionBlock 支付结果回调Block,用于wap支付结果回调(非跳转钱包支付)
+ */
+- (void)payOrder:(NSString *)orderStr
+      fromScheme:(NSString *)schemeStr
+        callback:(CompletionBlock)completionBlock;
+
+/**
+ *  处理钱包或者独立快捷app支付跳回商户app携带的支付结果Url
+ *
+ *  @param resultUrl        支付结果url
+ *  @param completionBlock  支付结果回调
+ */
+- (void)processOrderWithPaymentResult:(NSURL *)resultUrl
+                      standbyCallback:(CompletionBlock)completionBlock;
+
+
+
+/**
+ *  获取交易token。
+ *
+ *  @return 交易token,若无则为空。
+ */
+- (NSString *)fetchTradeToken;
+
+/**
+ *  是否已经使用过
+ *
+ *  @return YES为已经使用过,NO反之
+ */
+- (BOOL)isLogined;
+
+/**
+ *  当前版本号
+ *
+ *  @return 当前版本字符串
+ */
+- (NSString *)currentVersion;
+
+/**
+ *  当前版本号
+ *
+ *  @return tid相关信息
+ */
+- (NSString*)queryTidFactor:(AlipayTidFactor)factor;
+
+/**
+ *  測試所用,realse包无效
+ *
+ *  @param url  测试环境
+ */
+- (void)setUrl:(NSString *)url;
+
+
+//////////////////////////////////////////////////////////////////////////////////////////////
+//////////////////////////h5 拦截支付入口///////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  url order 获取接口
+ *
+ *  @param urlStr     拦截的 url string
+ *
+ *  @return 获取到的url order info
+ */
+- (NSString*)fetchOrderInfoFromH5PayUrl:(NSString*)urlStr;
+
+
+/**
+ *  url支付接口
+ *
+ *  @param orderStr       订单信息
+ *  @param schemeStr      调用支付的app注册在info.plist中的scheme
+ *  @param compltionBlock 支付结果回调Block
+ */
+- (void)payUrlOrder:(NSString *)orderStr
+         fromScheme:(NSString *)schemeStr
+           callback:(CompletionBlock)completionBlock;
+
+
+//////////////////////////////////////////////////////////////////////////////////////////////
+//////////////////////////授权1.0//////////////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  快登授权
+ *  @param authInfo         需授权信息
+ *  @param completionBlock  授权结果回调,若在授权过程中,调用方应用被系统终止,则此block无效,
+                            需要调用方在appDelegate中调用processAuthResult:standbyCallback:方法获取授权结果
+ */
+- (void)authWithInfo:(APayAuthInfo *)authInfo
+             callback:(CompletionBlock)completionBlock;
+
+
+/**
+ *  处理授权信息Url
+ *
+ *  @param resultUrl        钱包返回的授权结果url
+ *  @param completionBlock  授权结果回调
+ */
+- (void)processAuthResult:(NSURL *)resultUrl
+          standbyCallback:(CompletionBlock)completionBlock;
+
+//////////////////////////////////////////////////////////////////////////////////////////////
+//////////////////////////授权2.0//////////////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  快登授权2.0
+ *
+ *  @param infoStr          授权请求信息字符串
+ *  @param schemeStr        调用授权的app注册在info.plist中的scheme
+ *  @param completionBlock  授权结果回调,若在授权过程中,调用方应用被系统终止,则此block无效,
+                            需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果
+ */
+- (void)auth_V2WithInfo:(NSString *)infoStr
+             fromScheme:(NSString *)schemeStr
+               callback:(CompletionBlock)completionBlock;
+
+/**
+ *  处理授权信息Url
+ *
+ *  @param resultUrl        钱包返回的授权结果url
+ *  @param completionBlock  授权结果回调
+ */
+- (void)processAuth_V2Result:(NSURL *)resultUrl
+             standbyCallback:(CompletionBlock)completionBlock;
+
+@end

BIN
Demo1/Demo/allpaysdk/AliModule/AlipaySDK.framework/Info.plist


BIN
Demo1/Demo/allpaysdk/AliModule/AlipaySDK.framework/en.lproj/InfoPlist.strings


BIN
Demo1/Demo/allpaysdk/AliModule/libAliModule.a


+ 18 - 0
Demo1/Demo/allpaysdk/AllPaySDK.h

@@ -0,0 +1,18 @@
+//
+//  AllPaySDK.h
+//  AllPaySDK
+//
+//  Created by BensonZhang on 15/11/18.
+//  Copyright © 2015年 xunlian. All rights reserved.
+//
+
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+@interface AllPaySDK : NSObject
+
++(void)pay:(NSString *)tn  mode:(BOOL)mode    scheme:(NSString *)schemeStr   ViewController:(UIViewController *)viewController     onResult:(void(^)(NSDictionary * resultDic))onResult;
++(void)openURL:(NSURL *)url;
+@end
+

BIN
Demo1/Demo/allpaysdk/AppleModule/libAppleModule.a


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Assets.car


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Easebuzz


+ 306 - 0
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Headers/Easebuzz-Swift.h

@@ -0,0 +1,306 @@
+// Generated by Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1)
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wgcc-compat"
+
+#if !defined(__has_include)
+# define __has_include(x) 0
+#endif
+#if !defined(__has_attribute)
+# define __has_attribute(x) 0
+#endif
+#if !defined(__has_feature)
+# define __has_feature(x) 0
+#endif
+#if !defined(__has_warning)
+# define __has_warning(x) 0
+#endif
+
+#if __has_include(<swift/objc-prologue.h>)
+# include <swift/objc-prologue.h>
+#endif
+
+#pragma clang diagnostic ignored "-Wauto-import"
+#include <objc/NSObject.h>
+#include <stdint.h>
+#include <stddef.h>
+#include <stdbool.h>
+
+#if !defined(SWIFT_TYPEDEFS)
+# define SWIFT_TYPEDEFS 1
+# if __has_include(<uchar.h>)
+#  include <uchar.h>
+# elif !defined(__cplusplus)
+typedef uint_least16_t char16_t;
+typedef uint_least32_t char32_t;
+# endif
+typedef float swift_float2  __attribute__((__ext_vector_type__(2)));
+typedef float swift_float3  __attribute__((__ext_vector_type__(3)));
+typedef float swift_float4  __attribute__((__ext_vector_type__(4)));
+typedef double swift_double2  __attribute__((__ext_vector_type__(2)));
+typedef double swift_double3  __attribute__((__ext_vector_type__(3)));
+typedef double swift_double4  __attribute__((__ext_vector_type__(4)));
+typedef int swift_int2  __attribute__((__ext_vector_type__(2)));
+typedef int swift_int3  __attribute__((__ext_vector_type__(3)));
+typedef int swift_int4  __attribute__((__ext_vector_type__(4)));
+typedef unsigned int swift_uint2  __attribute__((__ext_vector_type__(2)));
+typedef unsigned int swift_uint3  __attribute__((__ext_vector_type__(3)));
+typedef unsigned int swift_uint4  __attribute__((__ext_vector_type__(4)));
+#endif
+
+#if !defined(SWIFT_PASTE)
+# define SWIFT_PASTE_HELPER(x, y) x##y
+# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
+#endif
+#if !defined(SWIFT_METATYPE)
+# define SWIFT_METATYPE(X) Class
+#endif
+#if !defined(SWIFT_CLASS_PROPERTY)
+# if __has_feature(objc_class_property)
+#  define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
+# else
+#  define SWIFT_CLASS_PROPERTY(...)
+# endif
+#endif
+
+#if __has_attribute(objc_runtime_name)
+# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
+#else
+# define SWIFT_RUNTIME_NAME(X)
+#endif
+#if __has_attribute(swift_name)
+# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
+#else
+# define SWIFT_COMPILE_NAME(X)
+#endif
+#if __has_attribute(objc_method_family)
+# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
+#else
+# define SWIFT_METHOD_FAMILY(X)
+#endif
+#if __has_attribute(noescape)
+# define SWIFT_NOESCAPE __attribute__((noescape))
+#else
+# define SWIFT_NOESCAPE
+#endif
+#if __has_attribute(warn_unused_result)
+# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
+#else
+# define SWIFT_WARN_UNUSED_RESULT
+#endif
+#if __has_attribute(noreturn)
+# define SWIFT_NORETURN __attribute__((noreturn))
+#else
+# define SWIFT_NORETURN
+#endif
+#if !defined(SWIFT_CLASS_EXTRA)
+# define SWIFT_CLASS_EXTRA
+#endif
+#if !defined(SWIFT_PROTOCOL_EXTRA)
+# define SWIFT_PROTOCOL_EXTRA
+#endif
+#if !defined(SWIFT_ENUM_EXTRA)
+# define SWIFT_ENUM_EXTRA
+#endif
+#if !defined(SWIFT_CLASS)
+# if __has_attribute(objc_subclassing_restricted)
+#  define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
+#  define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# else
+#  define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+#  define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
+# endif
+#endif
+
+#if !defined(SWIFT_PROTOCOL)
+# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
+#endif
+
+#if !defined(SWIFT_EXTENSION)
+# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
+#endif
+
+#if !defined(OBJC_DESIGNATED_INITIALIZER)
+# if __has_attribute(objc_designated_initializer)
+#  define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
+# else
+#  define OBJC_DESIGNATED_INITIALIZER
+# endif
+#endif
+#if !defined(SWIFT_ENUM_ATTR)
+# if defined(__has_attribute) && __has_attribute(enum_extensibility)
+#  define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open)))
+# else
+#  define SWIFT_ENUM_ATTR
+# endif
+#endif
+#if !defined(SWIFT_ENUM)
+# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type
+# if __has_feature(generalized_swift_name)
+#  define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type
+# else
+#  define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name)
+# endif
+#endif
+#if !defined(SWIFT_UNAVAILABLE)
+# define SWIFT_UNAVAILABLE __attribute__((unavailable))
+#endif
+#if !defined(SWIFT_UNAVAILABLE_MSG)
+# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
+#endif
+#if !defined(SWIFT_AVAILABILITY)
+# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
+#endif
+#if !defined(SWIFT_DEPRECATED)
+# define SWIFT_DEPRECATED __attribute__((deprecated))
+#endif
+#if !defined(SWIFT_DEPRECATED_MSG)
+# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
+#endif
+#if __has_feature(attribute_diagnose_if_objc)
+# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
+#else
+# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
+#endif
+#if __has_feature(modules)
+@import UIKit;
+@import CoreGraphics;
+@import Foundation;
+@import ObjectiveC;
+#endif
+
+#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
+#pragma clang diagnostic ignored "-Wduplicate-method-arg"
+#if __has_warning("-Wpragma-clang-attribute")
+# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
+#endif
+#pragma clang diagnostic ignored "-Wunknown-pragmas"
+#pragma clang diagnostic ignored "-Wnullability"
+
+#if __has_attribute(external_source_symbol)
+# pragma push_macro("any")
+# undef any
+# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Easebuzz",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
+# pragma pop_macro("any")
+#endif
+
+@class NSCoder;
+@class NSAttributedString;
+
+SWIFT_CLASS("_TtC8Easebuzz19MonthYearPickerView")
+@interface MonthYearPickerView : UIPickerView <UIPickerViewDataSource, UIPickerViewDelegate>
+- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
+- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
+- (NSInteger)numberOfComponentsInPickerView:(UIPickerView * _Nonnull)pickerView SWIFT_WARN_UNUSED_RESULT;
+- (NSString * _Nullable)pickerView:(UIPickerView * _Nonnull)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT;
+- (NSInteger)pickerView:(UIPickerView * _Nonnull)pickerView numberOfRowsInComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT;
+- (void)pickerView:(UIPickerView * _Nonnull)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component;
+- (NSAttributedString * _Nullable)pickerView:(UIPickerView * _Nonnull)pickerView attributedTitleForRow:(NSInteger)row forComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT;
+@end
+
+
+
+
+
+@protocol PayWithEasebuzzCallback;
+@class Payment;
+@class UIViewController;
+
+SWIFT_CLASS("_TtC8Easebuzz15PayWithEasebuzz")
+@interface PayWithEasebuzz : NSObject
+/// Initizalise App
++ (void)setUpWithPebCallback:(id <PayWithEasebuzzCallback> _Nonnull)pebCallback;
++ (BOOL)initiliazed SWIFT_WARN_UNUSED_RESULT;
+/// Invoke Pre Created Payment UI
+/// @param paymentObject Payment
++ (void)invokePaymentOptionsViewWithPaymentObj:(Payment * _Nonnull)paymentObj isFrom:(UIViewController * _Nonnull)isFrom;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+SWIFT_PROTOCOL("_TtP8Easebuzz23PayWithEasebuzzCallback_")
+@protocol PayWithEasebuzzCallback <NSObject>
+- (void)PEBCallbackWithData:(NSDictionary<NSString *, id> * _Nonnull)data;
+@end
+
+
+SWIFT_CLASS("_TtC8Easebuzz7Payment")
+@interface Payment : NSObject
+- (nonnull instancetype)initWithCustomerData:(NSDictionary<NSString *, NSString *> * _Nonnull)customerData OBJC_DESIGNATED_INITIALIZER;
+- (BOOL)isValid SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
++ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable");
+@end
+
+
+SWIFT_CLASS("_TtC8Easebuzz8RSAUtils")
+@interface RSAUtils : NSObject
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+@class UIVisualEffect;
+
+SWIFT_CLASS("_TtC8Easebuzz7Spinner")
+@interface Spinner : UIVisualEffectView
+- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
+- (void)didMoveToSuperview;
+- (nonnull instancetype)initWithEffect:(UIVisualEffect * _Nullable)effect SWIFT_UNAVAILABLE;
+@end
+
+
+SWIFT_CLASS("_TtC8Easebuzz15StaticDataModel")
+@interface StaticDataModel : NSObject
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_SUCCESS_CODE;)
++ (NSString * _Nonnull)TXN_SUCCESS_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_FAILED_CODE;)
++ (NSString * _Nonnull)TXN_FAILED_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_TIMEOUT_CODE;)
++ (NSString * _Nonnull)TXN_TIMEOUT_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_BACKPRESSED_CODE;)
++ (NSString * _Nonnull)TXN_BACKPRESSED_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_USERCANCELLED_CODE;)
++ (NSString * _Nonnull)TXN_USERCANCELLED_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_USER_FAILED_CODE;)
++ (NSString * _Nonnull)TXN_USER_FAILED_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_ERROR_SERVER_ERROR_CODE;)
++ (NSString * _Nonnull)TXN_ERROR_SERVER_ERROR_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_ERROR_NO_RETRY_CODE;)
++ (NSString * _Nonnull)TXN_ERROR_NO_RETRY_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_ERROR_TXN_NOT_ALLOWED_CODE;)
++ (NSString * _Nonnull)TXN_ERROR_TXN_NOT_ALLOWED_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_INVALID_INPUT_DATA_CODE;)
++ (NSString * _Nonnull)TXN_INVALID_INPUT_DATA_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_ERROR_RETRY_FAILED_CODE;)
++ (NSString * _Nonnull)TXN_ERROR_RETRY_FAILED_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_SESSION_STARTED_CODE;)
++ (NSString * _Nonnull)TXN_SESSION_STARTED_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_SESSION_EXPIRED_CODE;)
++ (NSString * _Nonnull)TXN_SESSION_EXPIRED_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_SESSION_CANCELLED_CODE_TRUE;)
++ (NSString * _Nonnull)TXN_SESSION_CANCELLED_CODE_TRUE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_SESSION_CANCELLED_CODE_FALSE;)
++ (NSString * _Nonnull)TXN_SESSION_CANCELLED_CODE_FALSE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_BANK_BACK_PRESSED_CODE;)
++ (NSString * _Nonnull)TXN_BANK_BACK_PRESSED_CODE SWIFT_WARN_UNUSED_RESULT;
+SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull TXN_UPI_CANCELLED_CODE;)
++ (NSString * _Nonnull)TXN_UPI_CANCELLED_CODE SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
+
+
+
+
+
+
+@class UITouch;
+@class UIEvent;
+
+@interface UIViewController (SWIFT_EXTENSION(Easebuzz))
+- (void)touchesBegan:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event;
+@end
+
+#if __has_attribute(external_source_symbol)
+# pragma clang attribute pop
+#endif
+#pragma clang diagnostic pop

+ 19 - 0
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Headers/Easebuzz.h

@@ -0,0 +1,19 @@
+//
+//  Easebuzz.h
+//  Easebuzz
+//
+//  Created by Pro Retina on 14/12/17.
+//  Copyright © 2017 Pro Retina. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+//! Project version number for Easebuzz.
+FOUNDATION_EXPORT double EasebuzzVersionNumber;
+
+//! Project version string for Easebuzz.
+FOUNDATION_EXPORT const unsigned char EasebuzzVersionString[];
+
+// In this header, you should import all the public headers of your framework using statements like #import <Easebuzz/PublicHeader.h>
+
+

BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Info.plist


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/arm.swiftdoc


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/arm.swiftmodule


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/arm64.swiftdoc


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/arm64.swiftmodule


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/i386.swiftdoc


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/i386.swiftmodule


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/x86_64.swiftdoc


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/Easebuzz.swiftmodule/x86_64.swiftmodule


+ 11 - 0
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/Modules/module.modulemap

@@ -0,0 +1,11 @@
+framework module Easebuzz {
+  umbrella header "Easebuzz.h"
+
+  export *
+  module * { export * }
+}
+
+module Easebuzz.Swift {
+    header "Easebuzz-Swift.h"
+    requires objc
+}

BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/2Hb-Cz-TTW-view-X2i-VU-FLs.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/2Hb-Cz-TTW-view-X2i-VU-FLs.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/4QX-5W-Dtr-view-EOI-xo-Fp9.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/4QX-5W-Dtr-view-EOI-xo-Fp9.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/BzI-O3-bl8-view-hU1-rk-f1L.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/BzI-O3-bl8-view-hU1-rk-f1L.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/CardView.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/CardView.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/CouponViewController.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/CouponViewController.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/DfZ-ka-9P4-view-uaF-Xx-sEp.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/DfZ-ka-9P4-view-uaF-Xx-sEp.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/Info.plist


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/ListOptionsView.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/ListOptionsView.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/PEBViewController.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/PEBViewController.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/PaymentOptionsView.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/PaymentOptionsView.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/SaveCardsViewController.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/SaveCardsViewController.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UIViewController-BzI-O3-bl8.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UIViewController-BzI-O3-bl8.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UPIPaymentView.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UPIPaymentView.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UPIView.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/UPIView.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/WebViewController.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/WebViewController.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/a1W-f4-QHv-view-Xlp-q7-5ce.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/a1W-f4-QHv-view-Xlp-q7-5ce.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/gGQ-o3-zTp-view-WkJ-vW-0TT.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/gGQ-o3-zTp-view-WkJ-vW-0TT.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/h62-MD-t1q-view-49w-ZR-GHW.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/h62-MD-t1q-view-49w-ZR-GHW.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/nav.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/nav.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/qg0-p0-Rjm-view-h15-yi-z5k.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/qg0-p0-Rjm-view-h15-yi-z5k.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/sessionExpireView.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/sessionExpireView.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/v0z-3T-YhL-view-oC7-CZ-NiZ.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/v0z-3T-YhL-view-oC7-CZ-NiZ.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/zaw-1w-8Fm-view-WDW-sB-NcR.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/zaw-1w-8Fm-view-WDW-sB-NcR.nib/runtime.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/zpm-fT-cXF-view-aUe-3P-F9z.nib/objects-11.0+.nib


BIN
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/PayWithEasebuzz.storyboardc/zpm-fT-cXF-view-aUe-3P-F9z.nib/runtime.nib


File diff suppressed because it is too large
+ 1126 - 0
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/_CodeSignature/CodeResources


+ 0 - 0
Demo1/Demo/allpaysdk/EBModule/Easebuzz.framework/bit_ssl.jpg


Some files were not shown because too many files changed in this diff