xuguohong

commit xingwan

Showing 62 changed files with 2110 additions and 203 deletions
No preview for this file type
......@@ -9,7 +9,6 @@
/* Begin PBXBuildFile section */
8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */; settings = {ASSET_TAGS = (); }; };
844544B81EFA5EE7004BDC50 /* YouaiSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 844544B71EFA5EE7004BDC50 /* YouaiSDK.framework */; settings = {ASSET_TAGS = (); }; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; settings = {ASSET_TAGS = (); }; };
846BD2241EE9342700E89A1D /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; settings = {ASSET_TAGS = (); }; };
846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; settings = {ASSET_TAGS = (); }; };
847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; settings = {ASSET_TAGS = (); }; };
......@@ -29,7 +28,9 @@
8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5111EE7E2B800B402D1 /* libz.1.dylib */; };
8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5131EE7E2DE00B402D1 /* Foundation.framework */; };
8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */; };
84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84A090AA1F160A69003D23FB /* TrackingIO.a */; settings = {ASSET_TAGS = (); }; };
84EA2DDE1F7CCDDF0071F3F0 /* libDataEyeTracking_v1.7.0.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84EA2DDB1F7CCDDF0071F3F0 /* libDataEyeTracking_v1.7.0.a */; settings = {ASSET_TAGS = (); }; };
84EA2DDF1F7CCDDF0071F3F0 /* ReYunTrack.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84EA2DDC1F7CCDDF0071F3F0 /* ReYunTrack.a */; settings = {ASSET_TAGS = (); }; };
84EA2DE11F7CCE640071F3F0 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */; };
BB5F3C8E1C1811BC00DA339D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = BB5F3C8D1C1811BC00DA339D /* main.m */; };
BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BB5F3C951C1811BC00DA339D /* Main.storyboard */; };
BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = BB5F3C9A1C1811BC00DA339D /* LaunchScreen.xib */; };
......@@ -62,7 +63,6 @@
/* Begin PBXFileReference section */
8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; };
844544B71EFA5EE7004BDC50 /* YouaiSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = YouaiSDK.framework; path = poolsdk_file/poolsdk/YouaiSDK.framework; sourceTree = "<group>"; };
845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
846BD21F1EE9342700E89A1D /* pool_setting */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = pool_setting; path = poolsdk_file/poolsdk/pool_setting; sourceTree = "<group>"; };
846BD2221EE9342700E89A1D /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; };
......@@ -87,8 +87,11 @@
8484E5111EE7E2B800B402D1 /* libz.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.1.dylib; path = ../../../../../../../../usr/lib/libz.1.dylib; sourceTree = "<group>"; };
8484E5131EE7E2DE00B402D1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
84A090AA1F160A69003D23FB /* TrackingIO.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = TrackingIO.a; path = poolsdk_file/poolsdk/TrackingIO.a; sourceTree = "<group>"; };
84A090AC1F174E21003D23FB /* TrackingIO.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = TrackingIO.h; path = poolsdk_file/poolsdk/TrackingIO.h; sourceTree = "<group>"; };
84EA2DDA1F7CCDDF0071F3F0 /* DCTrackingAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DCTrackingAgent.h; path = poolsdk_file/poolsdk/DCTrackingAgent.h; sourceTree = "<group>"; };
84EA2DDB1F7CCDDF0071F3F0 /* libDataEyeTracking_v1.7.0.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libDataEyeTracking_v1.7.0.a; path = poolsdk_file/poolsdk/libDataEyeTracking_v1.7.0.a; sourceTree = "<group>"; };
84EA2DDC1F7CCDDF0071F3F0 /* ReYunTrack.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = ReYunTrack.a; path = poolsdk_file/poolsdk/ReYunTrack.a; sourceTree = "<group>"; };
84EA2DDD1F7CCDDF0071F3F0 /* ReYunTrack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ReYunTrack.h; path = poolsdk_file/poolsdk/ReYunTrack.h; sourceTree = "<group>"; };
84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
BB5F3C881C1811BC00DA339D /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; };
BB5F3C8D1C1811BC00DA339D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
BB5F3C961C1811BC00DA339D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
......@@ -103,23 +106,25 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
84EA2DE11F7CCE640071F3F0 /* CoreLocation.framework in Frameworks */,
8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */,
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */,
844544B81EFA5EE7004BDC50 /* YouaiSDK.framework in Frameworks */,
8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */,
8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */,
8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */,
84EA2DDE1F7CCDDF0071F3F0 /* libDataEyeTracking_v1.7.0.a in Frameworks */,
8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */,
8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */,
8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */,
8484E5081EE7E25600B402D1 /* CoreText.framework in Frameworks */,
8484E50E1EE7E28000B402D1 /* QuartzCore.framework in Frameworks */,
8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */,
84EA2DDF1F7CCDDF0071F3F0 /* ReYunTrack.a in Frameworks */,
8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */,
8484E5041EE7E24400B402D1 /* StoreKit.framework in Frameworks */,
8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework in Frameworks */,
8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework in Frameworks */,
84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -144,14 +149,15 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
84A090AC1F174E21003D23FB /* TrackingIO.h */,
84A090AA1F160A69003D23FB /* TrackingIO.a */,
844544B71EFA5EE7004BDC50 /* YouaiSDK.framework */,
846BD21F1EE9342700E89A1D /* pool_setting */,
846BD2221EE9342700E89A1D /* SDKInterface.h */,
846BD2231EE9342700E89A1D /* SDKInterface.m */,
845D181B1C8D778400F27EB9 /* Images.xcassets */,
845D181C1C8D778400F27EB9 /* Info.plist */,
84EA2DDA1F7CCDDF0071F3F0 /* DCTrackingAgent.h */,
84EA2DDB1F7CCDDF0071F3F0 /* libDataEyeTracking_v1.7.0.a */,
84EA2DDC1F7CCDDF0071F3F0 /* ReYunTrack.a */,
84EA2DDD1F7CCDDF0071F3F0 /* ReYunTrack.h */,
);
name = poolsdk;
sourceTree = "<group>";
......@@ -159,6 +165,7 @@
BB5F3C7F1C1811BC00DA339D = {
isa = PBXGroup;
children = (
84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */,
8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */,
8484E5131EE7E2DE00B402D1 /* Foundation.framework */,
8484E5111EE7E2B800B402D1 /* libz.1.dylib */,
......@@ -312,7 +319,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */,
BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */,
BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib in Resources */,
846BD2241EE9342700E89A1D /* pool_setting in Resources */,
......@@ -475,7 +481,7 @@
"$(PROJECT_DIR)/poolsdk_file/poolsdk",
);
INFOPLIST_FILE = poolsdk_file/poolsdk/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.1;
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
......@@ -487,7 +493,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.jian.wuji;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "e6d180fd-5532-4218-bf56-0c1afa8ea0b4";
TARGETED_DEVICE_FAMILY = 2;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 armv7s";
};
name = Debug;
......@@ -505,7 +511,7 @@
"$(PROJECT_DIR)/poolsdk_file/poolsdk",
);
INFOPLIST_FILE = poolsdk_file/poolsdk/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.1;
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
......@@ -517,7 +523,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.jian.wuji;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "e6d180fd-5532-4218-bf56-0c1afa8ea0b4";
TARGETED_DEVICE_FAMILY = 2;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 armv7s";
};
name = Release;
......
......@@ -37,7 +37,11 @@
[[PoolSdk shareSDK]applicationDidEnterBackground:application];
}
- (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.
NSLog(@"applicationWillEnterForeground1111111");
[[PoolSdk shareSDK] applicationWillEnterForeground:application];
}
- (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.
......@@ -54,22 +58,10 @@
return true;
}
-(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options
{
[[PoolSdk shareSDK]application:app openURL:url options:options];
return YES;
}
-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{
[[PoolSdk shareSDK] application:application openURL:url sourceApplication:sourceApplication annotation:annotation];
return YES;
}
- (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.
[[PoolSdk shareSDK] applicationWillEnterForeground:application];
}
@end
......
......@@ -154,36 +154,4 @@
}
}
#pragma mark - 截屏
- (void)screenShot:(UIView *)view{
UIImage* image = nil;
UIGraphicsBeginImageContext(view.bounds.size);
[view.layer renderInContext:UIGraphicsGetCurrentContext()];
image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIGraphicsEndImageContext();
if (image != nil) {
NSLog(@"截图成功!");
UIImageWriteToSavedPhotosAlbum(image,self,@selector(image:didFinishSavingWithError:contextInfo:),NULL);
}
}
#pragma mark - 保存到相册
-(void)image:(UIImage *)image didFinishSavingWithError:(NSError*)error contextInfo:(void*)contextInfo
{
if(!error){
NSLog(@"存到相册");
}else{
NSLog(@"存储失败");
}
}
@end
......
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
15CD4B7E8DB1BE9297192B0A /* libDataEyeTracking_v1.7.0.a */ = {isa = PBXBuildFile; fileRef = EF034C3E85FFDBCCE1D104EE /* libDataEyeTracking_v1.7.0.a */; };
1F8248338B57EDD8196949BB /* pool_setting */ = {isa = PBXBuildFile; fileRef = 9F4E498CA912A1B32C4264F5 /* pool_setting */; };
20FA431BAAC493726F1BB0B0 /* pool_setting */ = {isa = PBXBuildFile; fileRef = 9F4E498CA912A1B32C4264F5 /* pool_setting */; };
3FEE4BC3A8C83BB872F7AEEF /* YouaiSDK.framework */ = {isa = PBXBuildFile; fileRef = 175B4F0F953E95604775D2B4 /* YouaiSDK.framework */; };
700C42E98502A3BED1DB1545 /* YouaiSDK.framework */ = {isa = PBXBuildFile; fileRef = 175B4F0F953E95604775D2B4 /* YouaiSDK.framework */; };
8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXBuildFile; fileRef = 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */; settings = {ASSET_TAGS = (); }; };
847EE5E21EE9007E003A4B7B /* MainViewController.m */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; settings = {ASSET_TAGS = (); }; };
8484E4F51EE7E0DC00B402D1 /* AppDelegate.m */ = {isa = PBXBuildFile; fileRef = 8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */; settings = {ASSET_TAGS = (); }; };
8484E4F61EE7E0DC00B402D1 /* ViewController.m */ = {isa = PBXBuildFile; fileRef = 8484E4F41EE7E0DC00B402D1 /* ViewController.m */; settings = {ASSET_TAGS = (); }; };
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib */ = {isa = PBXBuildFile; fileRef = 8484E4FB1EE7E1D800B402D1 /* libsqlite3.dylib */; };
8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework */ = {isa = PBXBuildFile; fileRef = 8484E4FD1EE7E1F700B402D1 /* CoreTelephony.framework */; };
8484E5001EE7E20C00B402D1 /* CFNetwork.framework */ = {isa = PBXBuildFile; fileRef = 8484E4FF1EE7E20C00B402D1 /* CFNetwork.framework */; };
8484E5021EE7E21F00B402D1 /* UIKit.framework */ = {isa = PBXBuildFile; fileRef = 8484E5011EE7E21F00B402D1 /* UIKit.framework */; };
8484E5041EE7E24400B402D1 /* StoreKit.framework */ = {isa = PBXBuildFile; fileRef = 8484E5031EE7E24400B402D1 /* StoreKit.framework */; };
8484E5061EE7E24A00B402D1 /* CoreMotion.framework */ = {isa = PBXBuildFile; fileRef = 8484E5051EE7E24A00B402D1 /* CoreMotion.framework */; };
8484E5081EE7E25600B402D1 /* CoreText.framework */ = {isa = PBXBuildFile; fileRef = 8484E5071EE7E25600B402D1 /* CoreText.framework */; };
8484E50A1EE7E26200B402D1 /* Security.framework */ = {isa = PBXBuildFile; fileRef = 8484E5091EE7E26200B402D1 /* Security.framework */; };
8484E50C1EE7E27100B402D1 /* CoreGraphics.framework */ = {isa = PBXBuildFile; fileRef = 8484E50B1EE7E27100B402D1 /* CoreGraphics.framework */; };
8484E50E1EE7E28000B402D1 /* QuartzCore.framework */ = {isa = PBXBuildFile; fileRef = 8484E50D1EE7E28000B402D1 /* QuartzCore.framework */; };
8484E5101EE7E29A00B402D1 /* libc++.1.dylib */ = {isa = PBXBuildFile; fileRef = 8484E50F1EE7E29A00B402D1 /* libc++.1.dylib */; };
8484E5121EE7E2B800B402D1 /* libz.1.dylib */ = {isa = PBXBuildFile; fileRef = 8484E5111EE7E2B800B402D1 /* libz.1.dylib */; };
8484E5141EE7E2DE00B402D1 /* Foundation.framework */ = {isa = PBXBuildFile; fileRef = 8484E5131EE7E2DE00B402D1 /* Foundation.framework */; };
8484E5161EE7E36800B402D1 /* SystemConfiguration.framework */ = {isa = PBXBuildFile; fileRef = 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */; };
84EA2DE11F7CCE640071F3F0 /* CoreLocation.framework */ = {isa = PBXBuildFile; fileRef = 84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */; };
929E462F8266A68A6D0B33DC /* ReYunTrack.a */ = {isa = PBXBuildFile; fileRef = 44474C8EB0D3C99B11D5915E /* ReYunTrack.a */; };
96CA459B8254FDCA2285F539 /* libDataEyeTracking_v1.7.0.a */ = {isa = PBXBuildFile; fileRef = EF034C3E85FFDBCCE1D104EE /* libDataEyeTracking_v1.7.0.a */; };
A2F54D89845EF5262A1484A3 /* ReYunTrack.a */ = {isa = PBXBuildFile; fileRef = 44474C8EB0D3C99B11D5915E /* ReYunTrack.a */; };
A7DE4E7A9360CBDB40D4603A /* SDKInterface.m */ = {isa = PBXBuildFile; fileRef = 8B3D4A67BCE87470AA0D18F5 /* SDKInterface.m */; };
B2F54938A185C01CDD116712 /* SDKInterface.m */ = {isa = PBXBuildFile; fileRef = 8B3D4A67BCE87470AA0D18F5 /* SDKInterface.m */; };
BB5F3C8E1C1811BC00DA339D /* main.m */ = {isa = PBXBuildFile; fileRef = BB5F3C8D1C1811BC00DA339D /* main.m */; };
BB5F3C971C1811BC00DA339D /* Main.storyboard */ = {isa = PBXBuildFile; fileRef = BB5F3C951C1811BC00DA339D /* Main.storyboard */; };
BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib */ = {isa = PBXBuildFile; fileRef = BB5F3C9A1C1811BC00DA339D /* LaunchScreen.xib */; };
BB5F3CA81C1811BC00DA339D /* DemoTests.m */ = {isa = PBXBuildFile; fileRef = BB5F3CA71C1811BC00DA339D /* DemoTests.m */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
84398BFB1C4C83EC0082D774 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
175B4F0F953E95604775D2B4 /* YouaiSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = YouaiSDK.framework; path = poolsdk_file/poolsdk_xingwan_login/SDK/YouaiSDK.framework; sourceTree = SOURCE_ROOT; };
44474C8EB0D3C99B11D5915E /* ReYunTrack.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = ReYunTrack.a; path = poolsdk_file/poolsdk_xingwan_login/SDK/ReYunTrack.a; sourceTree = SOURCE_ROOT; };
8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; };
847EE5E01EE9007E003A4B7B /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
847EE5E11EE9007E003A4B7B /* MainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; };
8484E4F11EE7E0DC00B402D1 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
8484E4F31EE7E0DC00B402D1 /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
8484E4F41EE7E0DC00B402D1 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
8484E4FB1EE7E1D800B402D1 /* libsqlite3.dylib */ = {isa = PBXFileReference; lastKnownFileType = compiled.mach-o.dylib; name = libsqlite3.dylib; path = ../../../../../../../../usr/lib/libsqlite3.dylib; sourceTree = "<group>"; };
8484E4FD1EE7E1F700B402D1 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
8484E4FF1EE7E20C00B402D1 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
8484E5011EE7E21F00B402D1 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
8484E5031EE7E24400B402D1 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
8484E5051EE7E24A00B402D1 /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
8484E5071EE7E25600B402D1 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; };
8484E5091EE7E26200B402D1 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
8484E50B1EE7E27100B402D1 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
8484E50D1EE7E28000B402D1 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
8484E50F1EE7E29A00B402D1 /* libc++.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = compiled.mach-o.dylib; name = "libc++.1.dylib"; path = "../../../../../../../../usr/lib/libc++.1.dylib"; sourceTree = "<group>"; };
8484E5111EE7E2B800B402D1 /* libz.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = compiled.mach-o.dylib; name = libz.1.dylib; path = ../../../../../../../../usr/lib/libz.1.dylib; sourceTree = "<group>"; };
8484E5131EE7E2DE00B402D1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
8B3D4A67BCE87470AA0D18F5 /* SDKInterface.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk_xingwan_login/SDK/SDKInterface.m; sourceTree = SOURCE_ROOT; };
9F4E498CA912A1B32C4264F5 /* pool_setting */ = {isa = PBXFileReference; lastKnownFileType = "?"; name = pool_setting; path = poolsdk_file/poolsdk_xingwan_login/SDK/pool_setting; sourceTree = SOURCE_ROOT; };
A3454FB7A08A04DF25CEC25B /* SDKInterface.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk_xingwan_login/SDK/SDKInterface.h; sourceTree = SOURCE_ROOT; };
BB5F3C881C1811BC00DA339D /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; };
BB5F3C8D1C1811BC00DA339D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
BB5F3C961C1811BC00DA339D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
BB5F3C9B1C1811BC00DA339D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
BB5F3CA11C1811BC00DA339D /* DemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
BB5F3CA61C1811BC00DA339D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
BB5F3CA71C1811BC00DA339D /* DemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DemoTests.m; sourceTree = "<group>"; };
E2ED48D580AE5949EDC3F8AC /* ReYunTrack.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = ReYunTrack.h; path = poolsdk_file/poolsdk_xingwan_login/SDK/ReYunTrack.h; sourceTree = SOURCE_ROOT; };
EF034C3E85FFDBCCE1D104EE /* libDataEyeTracking_v1.7.0.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libDataEyeTracking_v1.7.0.a; path = poolsdk_file/poolsdk_xingwan_login/SDK/libDataEyeTracking_v1.7.0.a; sourceTree = SOURCE_ROOT; };
F84E44D3B07513CF38514E74 /* DCTrackingAgent.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = DCTrackingAgent.h; path = poolsdk_file/poolsdk_xingwan_login/SDK/DCTrackingAgent.h; sourceTree = SOURCE_ROOT; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
BB5F3C851C1811BC00DA339D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
84EA2DE11F7CCE640071F3F0 /* CoreLocation.framework */,
8484E5161EE7E36800B402D1 /* SystemConfiguration.framework */,
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib */,
844544B81EFA5EE7004BDC50,
8484E5121EE7E2B800B402D1 /* libz.1.dylib */,
8484E5101EE7E29A00B402D1 /* libc++.1.dylib */,
8484E5001EE7E20C00B402D1 /* CFNetwork.framework */,
84EA2DDE1F7CCDDF0071F3F0,
8484E5061EE7E24A00B402D1 /* CoreMotion.framework */,
8484E5021EE7E21F00B402D1 /* UIKit.framework */,
8484E50C1EE7E27100B402D1 /* CoreGraphics.framework */,
8484E5081EE7E25600B402D1 /* CoreText.framework */,
8484E50E1EE7E28000B402D1 /* QuartzCore.framework */,
8484E5141EE7E2DE00B402D1 /* Foundation.framework */,
84EA2DDF1F7CCDDF0071F3F0,
8484E50A1EE7E26200B402D1 /* Security.framework */,
8484E5041EE7E24400B402D1 /* StoreKit.framework */,
8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework */,
8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework */,
15CD4B7E8DB1BE9297192B0A /* libDataEyeTracking_v1.7.0.a */,
A2F54D89845EF5262A1484A3 /* ReYunTrack.a */,
3FEE4BC3A8C83BB872F7AEEF /* YouaiSDK.framework */,
);
runOnlyForDeploymentPostprocessing = 0;
};
BB5F3C9E1C1811BC00DA339D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
96CA459B8254FDCA2285F539 /* libDataEyeTracking_v1.7.0.a */,
929E462F8266A68A6D0B33DC /* ReYunTrack.a */,
700C42E98502A3BED1DB1545 /* YouaiSDK.framework */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
07A544A1A762513F97803AA5 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
4A5C468ABF453FFAC271052F /* Libraries */ = {
isa = PBXGroup;
children = (
);
name = Libraries;
sourceTree = "<group>";
};
8476DF631C4DD70500EC42BA /* poolsdk_file */ = {
isa = PBXGroup;
children = (
8476DF641C4DD71D00EC42BA,
);
name = poolsdk_file;
sourceTree = "<group>";
};
8DFB4E66B5C345CDCAA49035 /* SDK */ = {
isa = PBXGroup;
children = (
E2ED48D580AE5949EDC3F8AC /* ReYunTrack.h */,
EF034C3E85FFDBCCE1D104EE /* libDataEyeTracking_v1.7.0.a */,
A3454FB7A08A04DF25CEC25B /* SDKInterface.h */,
F84E44D3B07513CF38514E74 /* DCTrackingAgent.h */,
9F4E498CA912A1B32C4264F5 /* pool_setting */,
8B3D4A67BCE87470AA0D18F5 /* SDKInterface.m */,
44474C8EB0D3C99B11D5915E /* ReYunTrack.a */,
175B4F0F953E95604775D2B4 /* YouaiSDK.framework */,
);
name = SDK;
path = poolsdk_file/poolsdk_xingwan_login/SDK;
sourceTree = SOURCE_ROOT;
};
BB5F3C7F1C1811BC00DA339D /* */ = {
isa = PBXGroup;
children = (
84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */,
8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */,
8484E5131EE7E2DE00B402D1 /* Foundation.framework */,
8484E5111EE7E2B800B402D1 /* libz.1.dylib */,
8484E50F1EE7E29A00B402D1 /* libc++.1.dylib */,
8484E50D1EE7E28000B402D1 /* QuartzCore.framework */,
8484E50B1EE7E27100B402D1 /* CoreGraphics.framework */,
8484E5091EE7E26200B402D1 /* Security.framework */,
8484E5071EE7E25600B402D1 /* CoreText.framework */,
8484E5051EE7E24A00B402D1 /* CoreMotion.framework */,
8484E5031EE7E24400B402D1 /* StoreKit.framework */,
8484E5011EE7E21F00B402D1 /* UIKit.framework */,
8484E4FF1EE7E20C00B402D1 /* CFNetwork.framework */,
8484E4FD1EE7E1F700B402D1 /* CoreTelephony.framework */,
8484E4FB1EE7E1D800B402D1 /* libsqlite3.dylib */,
8476DF631C4DD70500EC42BA /* poolsdk_file */,
BB5F3C8A1C1811BC00DA339D /* Demo */,
BB5F3CA41C1811BC00DA339D /* DemoTests */,
BB5F3C891C1811BC00DA339D /* Products */,
8DFB4E66B5C345CDCAA49035 /* SDK */,
07A544A1A762513F97803AA5 /* Frameworks */,
4A5C468ABF453FFAC271052F /* Libraries */,
);
sourceTree = "<group>";
};
BB5F3C891C1811BC00DA339D /* Products */ = {
isa = PBXGroup;
children = (
BB5F3C881C1811BC00DA339D /* Demo.app */,
BB5F3CA11C1811BC00DA339D /* DemoTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
BB5F3C8A1C1811BC00DA339D /* Demo */ = {
isa = PBXGroup;
children = (
8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */,
8484E4F11EE7E0DC00B402D1 /* AppDelegate.h */,
8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */,
8484E4F31EE7E0DC00B402D1 /* ViewController.h */,
8484E4F41EE7E0DC00B402D1 /* ViewController.m */,
847EE5E01EE9007E003A4B7B /* MainViewController.h */,
847EE5E11EE9007E003A4B7B /* MainViewController.m */,
BB5F3C951C1811BC00DA339D /* Main.storyboard */,
BB5F3C9A1C1811BC00DA339D /* LaunchScreen.xib */,
BB5F3C8B1C1811BC00DA339D /* Supporting Files */,
);
path = Demo;
sourceTree = "<group>";
};
BB5F3C8B1C1811BC00DA339D /* Supporting Files */ = {
isa = PBXGroup;
children = (
BB5F3C8D1C1811BC00DA339D /* main.m */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
BB5F3CA41C1811BC00DA339D /* DemoTests */ = {
isa = PBXGroup;
children = (
BB5F3CA71C1811BC00DA339D /* DemoTests.m */,
BB5F3CA51C1811BC00DA339D /* Supporting Files */,
);
path = DemoTests;
sourceTree = "<group>";
};
BB5F3CA51C1811BC00DA339D /* Supporting Files */ = {
isa = PBXGroup;
children = (
BB5F3CA61C1811BC00DA339D /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
BB5F3C871C1811BC00DA339D /* Demo */ = {
isa = PBXNativeTarget;
buildConfigurationList = BB5F3CAB1C1811BC00DA339D /* Build configuration list for PBXNativeTarget "Demo" */;
buildPhases = (
BB5F3C841C1811BC00DA339D /* Sources */,
BB5F3C851C1811BC00DA339D /* Frameworks */,
BB5F3C861C1811BC00DA339D /* Resources */,
84398BFB1C4C83EC0082D774 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = Demo;
productName = Demo;
productReference = BB5F3C881C1811BC00DA339D /* Demo.app */;
productType = com.apple.product-type.application;
};
BB5F3CA01C1811BC00DA339D /* DemoTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = BB5F3CAE1C1811BC00DA339D /* Build configuration list for PBXNativeTarget "DemoTests" */;
buildPhases = (
BB5F3C9D1C1811BC00DA339D /* Sources */,
BB5F3C9E1C1811BC00DA339D /* Frameworks */,
BB5F3C9F1C1811BC00DA339D /* Resources */,
);
buildRules = (
);
dependencies = (
BB5F3CA31C1811BC00DA339D /* Target */,
);
name = DemoTests;
productName = DemoTests;
productReference = BB5F3CA11C1811BC00DA339D /* DemoTests.xctest */;
productType = com.apple.product-type.bundle.unit-test;
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
BB5F3C801C1811BC00DA339D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0640;
ORGANIZATIONNAME = winFan;
TargetAttributes = {
BB5F3C871C1811BC00DA339D = {
CreatedOnToolsVersion = 6.4;
};
BB5F3CA01C1811BC00DA339D = {
CreatedOnToolsVersion = 6.4;
TestTargetID = BB5F3C871C1811BC00DA339D /* Demo */;
};
};
};
buildConfigurationList = BB5F3C831C1811BC00DA339D /* Build configuration list for PBXNativeTarget "TARGET_NAME" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = BB5F3C7F1C1811BC00DA339D /* */;
productRefGroup = BB5F3C891C1811BC00DA339D /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
BB5F3C871C1811BC00DA339D /* Demo */,
BB5F3CA01C1811BC00DA339D /* DemoTests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
BB5F3C861C1811BC00DA339D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
BB5F3C971C1811BC00DA339D /* Main.storyboard */,
BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib */,
20FA431BAAC493726F1BB0B0 /* pool_setting */,
);
runOnlyForDeploymentPostprocessing = 0;
};
BB5F3C9F1C1811BC00DA339D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1F8248338B57EDD8196949BB /* pool_setting */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
BB5F3C841C1811BC00DA339D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8484E4F51EE7E0DC00B402D1 /* AppDelegate.m */,
847EE5E21EE9007E003A4B7B /* MainViewController.m */,
BB5F3C8E1C1811BC00DA339D /* main.m */,
8484E4F61EE7E0DC00B402D1 /* ViewController.m */,
B2F54938A185C01CDD116712 /* SDKInterface.m */,
);
runOnlyForDeploymentPostprocessing = 0;
};
BB5F3C9D1C1811BC00DA339D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
BB5F3CA81C1811BC00DA339D /* DemoTests.m */,
A7DE4E7A9360CBDB40D4603A /* SDKInterface.m */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
BB5F3CA91C1811BC00DA339D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
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 = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
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_SYMBOLS_PRIVATE_EXTERN = NO;
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;
HEADER_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.4;
LIBRARY_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
-ObjC,
);
PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw;
SDKROOT = iphoneos;
};
name = Debug;
};
BB5F3CAA1C1811BC00DA339D /* 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_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
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 = NO;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
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;
HEADER_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.4;
LIBRARY_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_LDFLAGS = (
-ObjC,
);
PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
BB5F3CAC1C1811BC00DA339D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer: Yufeng Wang (N5VLW9NRUG)";
DEAD_CODE_STRIPPING = NO;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Demo",
"$(PROJECT_DIR)/poolsdk_file/poolsdk",
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
HEADER_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Demo",
"$(PROJECT_DIR)/poolsdk_file/poolsdk",
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = (
-ObjC,
);
PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = e6d180fd-5532-4218-bf56-0c1afa8ea0b4;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 armv7s";
};
name = Debug;
};
BB5F3CAD1C1811BC00DA339D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer: Yufeng Wang (N5VLW9NRUG)";
DEAD_CODE_STRIPPING = NO;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Demo",
"$(PROJECT_DIR)/poolsdk_file/poolsdk",
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
HEADER_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Demo",
"$(PROJECT_DIR)/poolsdk_file/poolsdk",
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = (
-ObjC,
);
PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = e6d180fd-5532-4218-bf56-0c1afa8ea0b4;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 armv7s";
};
name = Release;
};
BB5F3CAF1C1811BC00DA339D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
HEADER_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
OTHER_LDFLAGS = (
-ObjC,
);
PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw;
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo.app/Demo";
};
name = Debug;
};
BB5F3CB01C1811BC00DA339D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
HEADER_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
"\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"",
);
OTHER_LDFLAGS = (
-ObjC,
);
PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw;
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo.app/Demo";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
BB5F3C831C1811BC00DA339D /* Build configuration list for PBXNativeTarget "TARGET_NAME" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BB5F3CA91C1811BC00DA339D /* Debug */,
BB5F3CAA1C1811BC00DA339D /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
BB5F3CAB1C1811BC00DA339D /* Build configuration list for PBXNativeTarget "Demo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BB5F3CAC1C1811BC00DA339D /* Debug */,
BB5F3CAD1C1811BC00DA339D /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
BB5F3CAE1C1811BC00DA339D /* Build configuration list for PBXNativeTarget "DemoTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BB5F3CAF1C1811BC00DA339D /* Debug */,
BB5F3CB01C1811BC00DA339D /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
/* Begin PBXTargetDependency section */
BB5F3CA31C1811BC00DA339D /* Target */ = {
isa = PBXTargetDependency;
target = BB5F3C871C1811BC00DA339D /* Demo */;
targetProxy = BB5F3CA21C1811BC00DA339D /* Containe */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
BB5F3C951C1811BC00DA339D /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
BB5F3C961C1811BC00DA339D /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
BB5F3C9A1C1811BC00DA339D /* LaunchScreen.xib */ = {
isa = PBXVariantGroup;
children = (
BB5F3C9B1C1811BC00DA339D /* Base */,
);
name = LaunchScreen.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin PBXContainerItemProxy section */
BB5F3CA21C1811BC00DA339D /* Containe */ = {
isa = PBXContainerItemProxy;
containerPortal = BB5F3C801C1811BC00DA339D /* Project object */;
proxyType = 1;
remoteGlobalIDString = BB5F3C871C1811BC00DA339D /* Demo */;
remoteInfo = Demo;
};
/* End PBXContainerItemProxy section */
};
rootObject = BB5F3C801C1811BC00DA339D /* Project object */;
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:Demo.xcodeproj">
</FileRef>
</Workspace>
{
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "D1584AEF25B5C21395F515B62C90B71E0ACB26B2",
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
"5b13317c-0110-4367-8746-06bc6aadd3cd++2397" : {
}
},
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
"D1584AEF25B5C21395F515B62C90B71E0ACB26B2" : 0,
"5b13317c-0110-4367-8746-06bc6aadd3cd++2397" : 0
},
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "8119CC7B-EDC1-4646-9378-8ECAC2EEB94B",
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
"D1584AEF25B5C21395F515B62C90B71E0ACB26B2" : "public_sdk_ios\/",
"5b13317c-0110-4367-8746-06bc6aadd3cd++2397" : "youai_foolsdk_ios\/"
},
"DVTSourceControlWorkspaceBlueprintNameKey" : "Demo",
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "PoolSdk_Demo\/Demo.xcodeproj",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "svn:\/\/10.21.210.99",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Subversion",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "5b13317c-0110-4367-8746-06bc6aadd3cd++2397"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "ssh:\/\/106.75.192.252:10022\/public_service\/public_sdk_ios.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "D1584AEF25B5C21395F515B62C90B71E0ACB26B2"
}
]
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "../PoolSdk/PoolSdk/SDKInterface.m"
timestampString = "471440051.171901"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "77"
endingLineNumber = "77"
landmarkName = "-receiveLoginMessage:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "../PoolSdk/PoolSdk/SDKInterface.m"
timestampString = "471440051.171901"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "43"
endingLineNumber = "43"
landmarkName = "-SDKloginSDK"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0640"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3C871C1811BC00DA339D"
BuildableName = "Demo.app"
BlueprintName = "Demo"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3CA01C1811BC00DA339D"
BuildableName = "DemoTests.xctest"
BlueprintName = "DemoTests"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3CA01C1811BC00DA339D"
BuildableName = "DemoTests.xctest"
BlueprintName = "DemoTests"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3C871C1811BC00DA339D"
BuildableName = "Demo.app"
BlueprintName = "Demo"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3C871C1811BC00DA339D"
BuildableName = "Demo.app"
BlueprintName = "Demo"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3C871C1811BC00DA339D"
BuildableName = "Demo.app"
BlueprintName = "Demo"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
<?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>BB5F3C871C1811BC00DA339D</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>BB5F3CA01C1811BC00DA339D</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Demo/SDKInterface.h"
timestampString = "474775745.083759"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "9"
endingLineNumber = "9"
landmarkName = "@interface SDKInterface"
landmarkType = "2">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3C871C1811BC00DA339D"
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 = "BB5F3CA01C1811BC00DA339D"
BuildableName = "DemoTests.xctest"
BlueprintName = "DemoTests"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3C871C1811BC00DA339D"
BuildableName = "Demo.app"
BlueprintName = "Demo"
ReferencedContainer = "container:Demo_xingwan_login.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 = "BB5F3C871C1811BC00DA339D"
BuildableName = "Demo.app"
BlueprintName = "Demo"
ReferencedContainer = "container:Demo_xingwan_login.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3C871C1811BC00DA339D"
BuildableName = "Demo.app"
BlueprintName = "Demo"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
<?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>BB5F3C871C1811BC00DA339D</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>BB5F3CA01C1811BC00DA339D</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
No preview for this file type
No preview for this file type
No preview for this file type
//
// DCSdk.h
// DCSdk
//
// Created by xqwang on 13-7-8.
// Copyright (c) 2013年 digitcube. All rights reserved.
//
#import <Foundation/Foundation.h>
//这里提供静态方法
@interface DCTrackingAgent : NSObject
/**
* @brief 初始化接口,程序启动时调用
*
* 一般在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions内调用一次即可
* !!!一定要调用,否则后面无法上报,只能调用一次
* @param appId 在我们网站上创建游戏时分配的appId,用于标识这款游戏. 注意保密!
* @param channelId 渠道id , 方便统计分析你在各渠道的推广效果
*/
+ (void)initWithAppId:(NSString *)appId andChannelId:(NSString*)channelId;
/**
* @brief 设置数据上报间隔时间,该接口需要在onStart接口之前调用,否则无效。如果不调用该接口,SDK默认以1分钟的间隔上报数据
*
**/
+(void)setUploadInterval:(unsigned int)time;
/**
* @brief 设置应用版本号,不调用该接口时SDK默认从配置文件中读取应用版本号
*
* @param version:应用版本号
*/
+(void)setVersion:(NSString*)version;
/**
* @brief 立即上报数据
**/
+(void)uploadNow;
/**
* @brief 获取设备ID
**/
+(NSString*)getUID;
@end
@interface DCTrackingPoint : NSObject
/**
@brief 广告效果追踪设置有效的效果点
@param pointId 广告效果点
@param propDictionary 触发时希望传入的属性字典
**/
+(void)setEffectPoint:(NSString*)pointId propDictionary:(NSDictionary*)dictionary;
/**
@brief 玩家登陆事件
@param accountId 玩家账户ID
**/
+(void)login:(NSString*)accountId;
/**
@brief 玩家注册事件
@param accountId 玩家账户ID
**/
+(void)createAccount:(NSString*)accountId;
/**
@brief 玩家付费事件
@param orderId 订单ID
@param currencyAmount 付费总额
@param currencyType 货币类型
@param paymentType 支付途径
**/
+(void)paymentSuccess:(NSString*)orderId currencyAmount:(double)currencyAmount currencyType:(NSString*)currencyType paymentType:(NSString*)paymentType;
@end
{
"images" : [
{
"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"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
{
"images" : [
{
"orientation" : "portrait",
"idiom" : "iphone",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"minimum-system-version" : "7.0",
"subtype" : "retina4",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
......@@ -33,11 +33,6 @@
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
......
No preview for this file type
......@@ -5,7 +5,7 @@
// Created by yun on 16/1/11.
// Copyright © 2016年 yun. All rights reserved.
//
#define TRACK_VERSION @"1.0.1"
#define TRACK_VERSION @"3.0.1"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
......@@ -15,7 +15,7 @@
热云移动广告效果监测 平台 api 请选择对应的api进行使用
*/
NS_ASSUME_NONNULL_BEGIN
@interface TrackingIO : NSObject
@interface ReYunChannel : NSObject
//开启打印日志 正式上线包请关掉
+(void) setPrintLog :(BOOL)print;
// 开启数据统计
......@@ -29,10 +29,10 @@ NS_ASSUME_NONNULL_BEGIN
// 支付完成,付费分析,记录玩家充值的金额(人民币单位是元)
+(void)setPayment:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount;
//自定义事件
+(void)setEvent:(NSString *)eventName andExtra:(nullable NSDictionary *)extra;
//标准接口
+(void)setProfile:(NSDictionary *)dataDic;
+(void)setEvent:(NSString *)eventName;
//获取设备信息
+(NSString*)getDeviceId;
+(BOOL)RYApplication:(UIApplication *)application openURL:(nonnull NSURL *)url options:(nonnull NSDictionary<NSString *,id> *)options;
@end
NS_ASSUME_NONNULL_END
\ No newline at end of file
......
......@@ -11,7 +11,8 @@
#import "YouaiSDK/YouaiSDKMgr.h"
#import "YouaiSDK/YouaiNotifications.h"
#import "YouaiSDK/YouaiLoginInfo.h"
#import "TrackingIO.h"
#import "ReYunTrack.h"
#import "DCTrackingAgent.h"
//SDK
......@@ -31,18 +32,23 @@ int mExchange;
[super SDKinit:control];
[PoolConfig getInstance];
[[YouaiSDKMgr getInstance]initSDK];
[[YouaiSDKMgr getInstance]setStyleName:@"sdk"];
[[YouaiSDKMgr getInstance]setServerUrl:@"https://sdk.shxingwan.com"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:youaiLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applePayCallBack:) name:@"applePayCallBack" object:nil];
[[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[PoolConfig getInstance] getValueByKey:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
[TrackingIO initWithappKey:[[PoolConfig getInstance] getValueByKey:@"renyunAppKey"] withChannelId:channelId];
NSString* channelId = [[PoolConfig getInstance] getValueByKey:@"sdkSimpleName"];
[ReYunChannel initWithappKey:[[PoolConfig getInstance] getValueByKey:@"renyunAppKey"] withChannelId:channelId];
NSString* dateEyeAppId = [[PoolConfig getInstance] getValueByKey:@"dateEyeAppId"];
[DCTrackingAgent initWithAppId:dateEyeAppId andChannelId:channelId];
}
/**
......@@ -50,11 +56,16 @@ int mExchange;
*/
- (void)SDKloginSDK
{
NSLog(@"no parames login");
[self SDKloginSDK:self.controller];
}
- (void)SDKloginSDK:(UIViewController *)control
{
NSLog(@"调用了LoginSDK");
NSString *appId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
NSString *appKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[YouaiSDKMgr getInstance]openLogin:appId :appKey :self.controller];
[[YouaiSDKMgr getInstance]openLogin:appId :appKey :control];
}
/**
......@@ -67,11 +78,7 @@ int mExchange;
loginInfo.openId = [[YouaiLoginInfo getInstance]openId];
loginInfo.sign = [[YouaiLoginInfo getInstance] token];
loginInfo.timestamp = [YouaiLoginInfo getInstance].timestamp;
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[PoolChecker getInstance] startCheck:loginInfo];
});
}
......@@ -146,13 +153,15 @@ int mExchange;
NSString* reportType = [reportInfo reportType];
if (reportInfo) {
if ([reportType isEqualToString:REPORT_ENTER]) {
[TrackingIO setLoginWithAccountID:[reportInfo playerId]];
[ReYunChannel setLoginWithAccountID:[reportInfo playerId]];//reyun login
[DCTrackingPoint login:[reportInfo playerId]];//dateeye login
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[self handlerLeakOrder];
});
}else if ([reportType isEqualToString:REPORT_CREATEROLE]){
[TrackingIO setRegisterWithAccountID:[reportInfo playerId]];
}else if([reportType isEqualToString:REPORT_CREATEROLE]){
[ReYunChannel setRegisterWithAccountID:[reportInfo playerId]];//reyun reg
[DCTrackingPoint createAccount:[reportInfo playerId]];//reyun reg
}
}
}
......@@ -220,33 +229,28 @@ int mExchange;
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
NSString *roleName = [payInfo playerName];
NSString *queryId = [payInfo queryId];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[self handlerLeakOrder];
});
NSString *isOpenThirdPay = [payInfo isOpenThirdPay];
NSLog(@"custom%@",[payInfo custom]);
if([isOpenThirdPay isEqualToString:@"false"]){
NSString* products = [payInfo products];
//NSLog(@"products:%@",products);
[[YouaiSDKMgr getInstance] openApplePay:self.controller products:products amount:[payInfo postAmount] queryId:queryId];
}else{
//NSString *isOpenThirdPay = [payInfo isOpenThirdPay];
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[YouaiSDKMgr getInstance] openPay:serverId :roleName :amount :[payInfo queryId] :self.controller];
}else{
NSString* products = [payInfo products];
[[YouaiSDKMgr getInstance] openApplePay:self.controller products:products amount:[payInfo postAmount] productName:[payInfo productName] queryId:[payInfo queryId]];
}
int64_t delayInSeconds = 5.0; // 延迟的时间
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC);
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
NSLog(@"chage state");
[[PoolChecker getInstance] setOnlyOneTimePay:false];
});
}
-(void)paymentSuccess:(NSString *)accountId orderId:(NSString *)orderId currencyAmount:(double)amount currencyType:(NSString *)currencyType payType:(NSString *)payType custom:(NSArray *)customArray
{
[TrackingIO setPayment:orderId paymentType:payType currentType:currencyType currencyAmount:amount];
[DCTrackingPoint paymentSuccess:orderId currencyAmount:amount currencyType:currencyType paymentType:payType];
[ReYunChannel setPayment:orderId paymentType:payType currentType:currencyType currencyAmount:amount];
}
@end
\ No newline at end of file
......
{"renyunAppKey": "1", "payorderurl": "https://public.sdk.gzyouai.com/paycheck/create", "usertype": 150, "sdkSimpleName": "apple_youyu", "gamechannelid": "", "APP_KEY": "b06b86b79c25774ec758657a7203bae6", "custom": "{}", "sdkVersionCode": "V1_0", "loginCheckUrl": "https://public.sdk.gzyouai.com/logincheck/check", "appScheme": "com.qyj.ios.xw", "c2": "", "c1": "", "APP_ID": "58fd78a9834e7246b8dc0eac", "paycheckurl": "https://public.sdk.gzyouai.com/paycheck/confirm", "gameSimpleName": "fytx_test"}
\ No newline at end of file
{"renyunAppKey": "d4f6d8e337472e5277634bcdb1ef6cf6", "dateEyeAppId": "", "payorderurl": "https://public.sdk.gzyouai.com/paycheck/create", "usertype": 139, "sdkSimpleName": "apple_xingwan", "gamechannelid": "", "APP_KEY": "f0455d5b7f2e982144b2ac8bc642e453", "custom": "{}", "sdkVersionCode": "V1_0", "loginCheckUrl": "https://public.sdk.gzyouai.com/logincheck/check", "appScheme": "com.ssmyj.ios.xw", "c2": "", "c1": "", "APP_ID": "5936756454c21d629d0c2755", "paycheckurl": "https://public.sdk.gzyouai.com/paycheck/confirm", "gameSimpleName": "qyj4"}
\ No newline at end of file
......
<?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>CFBundleURLSchemes</key>
<array>
<string>i9133public</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>public.sdk.gzyouai.com</key>
<dict>
<key>NSExceptionMinimumTLSVersion</key>
<string>TLSv1.0</string>
</dict>
<key>sdk.shxingwan.com</key>
<dict>
<key>NSExceptionMinimumTLSVersion</key>
<string>TLSv1.0</string>
</dict>
<key>statistic.public.sdk.gzyouai.com</key>
<dict>
<key>NSExceptionMinimumTLSVersion</key>
<string>TLSv1.0</string>
</dict>
</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>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
<?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>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>i9133public</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
</array>
</dict>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>public.sdk.gzyouai.com</key>
<dict>
<key>NSExceptionMinimumTLSVersion</key>
<string>TLSv1.0</string>
</dict>
<key>sdk.shxingwan.com</key>
<dict>
<key>NSExceptionMinimumTLSVersion</key>
<string>TLSv1.0</string>
</dict>
<key>statistic.public.sdk.gzyouai.com</key>
<dict>
<key>NSExceptionMinimumTLSVersion</key>
<string>TLSv1.0</string>
</dict>
</dict>
</dict>
</plist>
\ No newline at end of file
//
// DCSdk.h
// DCSdk
//
// Created by xqwang on 13-7-8.
// Copyright (c) 2013年 digitcube. All rights reserved.
//
#import <Foundation/Foundation.h>
//这里提供静态方法
@interface DCTrackingAgent : NSObject
/**
* @brief 初始化接口,程序启动时调用
*
* 一般在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions内调用一次即可
* !!!一定要调用,否则后面无法上报,只能调用一次
* @param appId 在我们网站上创建游戏时分配的appId,用于标识这款游戏. 注意保密!
* @param channelId 渠道id , 方便统计分析你在各渠道的推广效果
*/
+ (void)initWithAppId:(NSString *)appId andChannelId:(NSString*)channelId;
/**
* @brief 设置数据上报间隔时间,该接口需要在onStart接口之前调用,否则无效。如果不调用该接口,SDK默认以1分钟的间隔上报数据
*
**/
+(void)setUploadInterval:(unsigned int)time;
/**
* @brief 设置应用版本号,不调用该接口时SDK默认从配置文件中读取应用版本号
*
* @param version:应用版本号
*/
+(void)setVersion:(NSString*)version;
/**
* @brief 立即上报数据
**/
+(void)uploadNow;
/**
* @brief 获取设备ID
**/
+(NSString*)getUID;
@end
@interface DCTrackingPoint : NSObject
/**
@brief 广告效果追踪设置有效的效果点
@param pointId 广告效果点
@param propDictionary 触发时希望传入的属性字典
**/
+(void)setEffectPoint:(NSString*)pointId propDictionary:(NSDictionary*)dictionary;
/**
@brief 玩家登陆事件
@param accountId 玩家账户ID
**/
+(void)login:(NSString*)accountId;
/**
@brief 玩家注册事件
@param accountId 玩家账户ID
**/
+(void)createAccount:(NSString*)accountId;
/**
@brief 玩家付费事件
@param orderId 订单ID
@param currencyAmount 付费总额
@param currencyType 货币类型
@param paymentType 支付途径
**/
+(void)paymentSuccess:(NSString*)orderId currencyAmount:(double)currencyAmount currencyType:(NSString*)currencyType paymentType:(NSString*)paymentType;
@end
......@@ -5,7 +5,7 @@
// Created by yun on 16/1/11.
// Copyright © 2016年 yun. All rights reserved.
//
#define TRACK_VERSION @"1.0.1"
#define TRACK_VERSION @"3.0.1"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
......@@ -15,7 +15,7 @@
热云移动广告效果监测 平台 api 请选择对应的api进行使用
*/
NS_ASSUME_NONNULL_BEGIN
@interface TrackingIO : NSObject
@interface ReYunChannel : NSObject
//开启打印日志 正式上线包请关掉
+(void) setPrintLog :(BOOL)print;
// 开启数据统计
......@@ -29,10 +29,10 @@ NS_ASSUME_NONNULL_BEGIN
// 支付完成,付费分析,记录玩家充值的金额(人民币单位是元)
+(void)setPayment:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount;
//自定义事件
+(void)setEvent:(NSString *)eventName andExtra:(nullable NSDictionary *)extra;
//标准接口
+(void)setProfile:(NSDictionary *)dataDic;
+(void)setEvent:(NSString *)eventName;
//获取设备信息
+(NSString*)getDeviceId;
+(BOOL)RYApplication:(UIApplication *)application openURL:(nonnull NSURL *)url options:(nonnull NSDictionary<NSString *,id> *)options;
@end
NS_ASSUME_NONNULL_END
\ No newline at end of file
......
//
// PPInterface.h
// PoolSdk
//
// Created by winFan on 11/23/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import <PoolSdk/PoolSdk2.h>
@interface SDKInterface : Interface
@end
//
// UnionInterface.m
// PoolSdk
//
// Created by winFan on 11/23/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "YouaiSDK/YouaiSDKMgr.h"
#import "YouaiSDK/YouaiNotifications.h"
#import "YouaiSDK/YouaiLoginInfo.h"
//SDK
@implementation SDKInterface : Interface
int mExchange;
/**
初始化SDK
*/
- (void)SDKinit:(UIViewController *) control
{
//必须继承
[super SDKinit:control];
[PoolConfig getInstance];
[[YouaiSDKMgr getInstance]initSDK];
[[YouaiSDKMgr getInstance]setStyleName:@"sdk"];
[[YouaiSDKMgr getInstance]setServerUrl:@"https://sdk.shxingwan.com"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:youaiLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applePayCallBack:) name:@"applePayCallBack" object:nil];
[[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil];
}
/**
登录SDK
*/
- (void)SDKloginSDK
{
NSLog(@"no parames login");
[self SDKloginSDK:self.controller];
}
- (void)SDKloginSDK:(UIViewController *)control
{
NSLog(@"调用了LoginSDK");
NSString *appId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
NSString *appKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[YouaiSDKMgr getInstance]openLogin:appId :appKey :control];
}
/**
loginCheck
*/
- (void)receiveLoginMessage:(NSNotification *)notification
{
NSLog(@"loginchek");
PoolLoginInfo *loginInfo = [PoolLoginInfo alloc];
loginInfo.openId = [[YouaiLoginInfo getInstance]openId];
loginInfo.sign = [[YouaiLoginInfo getInstance] token];
loginInfo.timestamp = [YouaiLoginInfo getInstance].timestamp;
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[PoolChecker getInstance] startCheck:loginInfo];
});
}
-(NSString*)DataTojsonString:(id)object
{
NSString *jsonString = nil;
NSError *error;
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:object
options:NSJSONWritingPrettyPrinted // Pass 0 if you don't care about the readability of the generated string
error:&error];
jsonString = [jsonData base64EncodedStringWithOptions:NSDataBase64Encoding64CharacterLineLength];
return jsonString;
}
/**
苹果支付结果回调
*/
- (void)applePayCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"payResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:[PoolUtils createPayUrl] :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
}else{//失败
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSMutableArray* queryIdArray = [userDefaults objectForKey:@"queryIds"];
NSMutableArray* tempQueryIdArray = [[NSMutableArray alloc] initWithCapacity:10];
if (queryIdArray) {
}else{
queryIdArray = [[NSMutableArray alloc]initWithCapacity:10];
}
for (NSString* arrayQueryId in queryIdArray) {
[tempQueryIdArray addObject:arrayQueryId];
}
[tempQueryIdArray addObject:queryId];
[userDefaults setObject:tempQueryIdArray forKey:@"queryIds"];
[userDefaults setObject:receiptStr forKey:queryId];
[userDefaults synchronize];
}
}
/**
支付 创建订单
*/
- (void)SDKpayWithPaymentInfo:(PoolCreateOrderInfo *)payInfo
{
mExchange = [payInfo exchange].intValue;
[super SDKpayWithPaymentInfo:payInfo];
}
/**
SDK
*/
- (void)SDKgotoUserCenter
{
}
- (void)SDKreport:(PoolReportInfo *)reportInfo
{
NSLog(@"reportInfo");
NSString* reportType = [reportInfo reportType];
if (reportInfo) {
if ([reportType isEqualToString:REPORT_ENTER]) {
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[self handlerLeakOrder];
});
}
}
}
/**
SDK
*/
- (void)SDKexitSDK
{
}
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
}
- (void)handleOpenurl:(NSURL *)url
{
}
- (void)receivePayMessage : (NSNotification *)notification;
{
NSString *order_id = [notification object];
NSLog(@"订单ID:%@", order_id);
}
//补单处理
- (void) handlerLeakOrder{
NSUserDefaults* userDefaults2 = [NSUserDefaults standardUserDefaults];
NSMutableArray* queryIdArray = [userDefaults2 objectForKey:@"queryIds"];
NSLog(@"orderDic%@",queryIdArray);
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSMutableArray* failQueryIdArray = [[NSMutableArray alloc]initWithCapacity:10];//补单失败的queryid集合
if(queryIdArray){
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:[PoolUtils createPayUrl] :receiptDic];
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
}else{//补单失败
[failQueryIdArray addObject:queryId];
}
}
NSLog(@"order count:%lu",(unsigned long)[failQueryIdArray count]);
if([failQueryIdArray count] > 0){//含有补单失败项
[userDefaults setObject:failQueryIdArray forKey:@"queryIds"];
}else{//全部补单成功
[userDefaults removeObjectForKey:@"queryIds"];
}
[userDefaults synchronize];
}
}
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
PoolPayInfo *payInfo = [notification object];
NSString *queryId = [payInfo queryId];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[self handlerLeakOrder];
});
NSString* products = [payInfo products];
[[YouaiSDKMgr getInstance]openApplePay:self.controller products:products amount:[payInfo postAmount] productName:[payInfo productName] queryId:queryId];
int64_t delayInSeconds = 5.0; // 延迟的时间
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC);
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
NSLog(@"chage state");
[[PoolChecker getInstance] setOnlyOneTimePay:false];
});
}
@end
\ No newline at end of file
//
// IapController.h
// mangosanguo
//
// Created by Gino on 12-11-6.
// Copyright (c) 2012年 private. All rights reserved.
//
#if applepay
#import <Foundation/Foundation.h>
#import "StoreKit/StoreKit.h"
@interface IapController : NSObject<SKProductsRequestDelegate,SKPaymentTransactionObserver>
{
bool isRequestedBuy;
SKPaymentTransaction *PayTransaction;
NSMutableArray *payArray;
SKPaymentTransaction *curTransaction;
}
+ (IapController *)sharedController;
- (id)init;
- (void)removeIt;
- (void)requestProductData;
- (void)requestBuyProduct:(NSString *)identifier;
- (void)requestProductInfoById:(NSString *)str;
- (void)comfireTransactions:(bool)isSuessPosted;
- (void)checkReceiptIsFail;
- (void)addItemToPayArray:(SKPaymentTransaction *)transaction;
- (bool)checkPayArrayIsEmpty;
- (void)checkReceiptForArray;
- (void)setAppleCallBack: (NSString*)url;
@end
#endif
\ No newline at end of file
//
// GetWifiMac.h
// mangosanguo
//
// Created by 莫 on 12-9-28.
// Copyright (c) 2012年 private. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface YouaiGetWifiMac : NSObject
+ (NSString *)macaddress;
@end
//
// YouaiLoginInfo.h
// YouaiSDK
//
// Created by 莫 东荣 on 13-4-10.
// Copyright (c) 2013年 莫 东荣. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface YouaiLoginInfo : NSObject //用户uid
{
//
NSString *openId;
//token
NSString *token;
//时间戳
NSString *timestamp;
}
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (YouaiLoginInfo *)getInstance;
@end
\ No newline at end of file
//
// YouaiNotifications.h
// YouaiSDK
//
// Created by 莫 东荣 on 13-4-10.
// Copyright (c) 2013年 莫 东荣. All rights reserved.
//
#import <Foundation/Foundation.h>
extern NSString * const youaiExitNotification; /**< 退出 */
extern NSString * const youaiLoginNotification; /**< 登录完成的通知*/
extern NSString * const youaiPaytNotification; /**< 支付通知 */
extern NSString * const youaiShareNotification; /**< 分享通知 */
extern NSString * const youaiCenterNotification; /**< 用户中心通知 */
extern NSString * const youaiErrorNotification; /**< 出错 */
@interface YouaiNotifications : NSObject
@end
//
// YouaiSDKMgr.h
// YouaiSDK
//
// Created by 莫 东荣 on 13-4-9.
// Copyright (c) 2013年 莫 东荣. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface YouaiSDKMgr : NSObject
{
NSString* appId_;
NSString* appKey_;
NSString* inviterCode_;
// NSString* openId;
// NSString* loginKey;
}
@property bool isApplePaying;
+ (YouaiSDKMgr *)getInstance;
- (void)initSDK;
- (void)initSDK:(NSString *)weixinId;
- (void)setServerUrl:(NSString *)serverUrl;
- (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller;
- (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller : (NSString *) inviterCode;
- (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller : (NSString *) inviterCode : (NSString *)userName : (NSString *)passWord;
- (void)setStyleName:(NSString*)styleName;
- (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller : (NSString *)userName : (NSString *)passWord;
- (void)openCenter: (UIViewController *)controller;
- (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSString *)callBack : (UIViewController *)controller;
- (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSNumber *)payAmount : (NSString *)callBack : (UIViewController *)controller;
- (void)openShare: (UIViewController *)controller;
- (void)openApplePay:(UIViewController*)controll products:(NSString*)products amount:(NSString*)amount productName:(NSString*)productName queryId:(NSString*) queryId;
- (void)applePayCallBack:(NSString *)url :(SKPaymentTransaction *)transaction :(NSString *)resultStr;
@end
//
// YouaiViewController.h
// newYouaiSDK
//
// Created by Mog90 on 14-9-28.
// Copyright (c) 2014年 东荣 莫. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "YouaiLoginInfo.h"
@interface YouaiViewController : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webView_;
UIActivityIndicatorView *activityIndicator;
}
//@property(assign) int webViewWidth;
//@property(assign) int webViewHeight;
//@property(assign) int screenwidth;
//@property(assign) int screenHeight;
@property(assign) BOOL hasCorner;
-(void)setView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)initWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
- (void)receiveIap:(NSNotification *)notification;
@end
{"renyunAppKey": "d4f6d8e337472e5277634bcdb1ef6cf6", "dateEyeAppId": "", "payorderurl": "http://183.57.76.181:9020/paycheck/create", "usertype": 139, "sdkSimpleName": "apple_xingwan", "gamechannelid": "", "APP_KEY": "f0455d5b7f2e982144b2ac8bc642e453", "custom": "{}", "sdkVersionCode": "V1_0", "loginCheckUrl": "http://183.57.76.181:9010/logincheck/check", "appScheme": "com.ssmyj.ios.xw", "c2": "", "c1": "", "APP_ID": "5936756454c21d629d0c2755", "paycheckurl": "http://183.57.76.181:9020/paycheck/confirm", "gameSimpleName": "fytx_test"}
\ No newline at end of file
import shutil
import os
import plistlib
import config
import json
import packageProj
from mod_pbxproj import XcodeProject
gameProjName = config.gameProjName
channelName = "xingwan_login"
#copy dir xcodeproj
copyNewDirName = gameProjName + '_' + channelName + '.xcodeproj'
currentPath = os.path.abspath('.')
currentPath += '/' + copyNewDirName
if os.path.exists(currentPath):
shutil.rmtree(currentPath)
shutil.copytree(gameProjName + '.xcodeproj',currentPath)
project = XcodeProject.Load(copyNewDirName + '/project.pbxproj')
project.add_other_ldflags('-ObjC')
#frameworks = project.add_folder('poolsdk_file/poolsdk_itools')
#print(frameworks);
#add search path
channelRootPath = config.channelRootPath#'poolsdk_file'
frameworksPath = '$(PROJECT_DIR)/' + channelRootPath + '/poolsdk_' + channelName + '/SDK'
print(frameworksPath);
#add header search path
project.add_header_search_paths(frameworksPath, recursive=False)
#add framework search path
project.add_framework_search_paths(frameworksPath, recursive=False)
#add library search path
project.add_library_search_paths(frameworksPath, recursive=False)
#add poolsdk_xy dir all file into project
project.remove_group_by_name('poolsdk')
frameworkRelativePath = project.add_folder(channelRootPath + '/poolsdk_' + channelName + '/SDK')
project.add_file_if_doesnt_exist('pool_setting',parent=frameworkRelativePath, weak=True,ignore_unknown_type=True)
systemFrameworks = project.get_or_create_group('Frameworks')
#add system framework
project.add_file_if_doesnt_exist('System/Library/Frameworks/Security.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/StoreKit.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/Foundation.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/QuartzCore.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreText.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreGraphics.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/UIKit.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreMotion.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/CFNetwork.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreLocation.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreTelephony.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
project.add_file_if_doesnt_exist('System/Library/Frameworks/SystemConfiguration.framework',parent=systemFrameworks, weak=True, tree='SDKROOT')
#add system dylib
systemLibs = project.get_or_create_group('Libraries')
project.add_file_if_doesnt_exist('/usr/lib/libsqlite3.dylib',parent=systemLibs, weak=True, tree='<absolute>')#absolute path
project.add_file_if_doesnt_exist('/usr/lib/libz.1.dylib',parent=systemLibs, weak=True, tree='<absolute>')
project.add_file_if_doesnt_exist('/usr/lib/libc++.1.dylib',parent=systemLibs, weak=True, tree='<absolute>')
#modify info.plist reference path
project.add_single_valued_flag('INFOPLIST_FILE',channelRootPath + '/poolsdk_' + channelName + '/Info.plist')
project.add_single_valued_flag('ENABLE_BITCODE', 'NO')
readInfoPlistFilePath = channelRootPath + '/poolsdk/Info.plist'
writeInfoFilePath = channelRootPath + '/poolsdk_' + channelName + '/Info.plist'
infoContent = plistlib.readPlist(readInfoPlistFilePath)
xyInfoPath = channelRootPath + '/poolsdk_' + channelName + '/Info_' + channelName + '.plist'
xyInfoContent = plistlib.readPlist(xyInfoPath)
#read pool_setting file
settingFile = open(channelRootPath + '/poolsdk_' + channelName + '/SDK/pool_setting','rw')
try:
settingFileContent = settingFile.read( )
finally:
settingFile.close( )
#json op
jsonStr = json.loads(settingFileContent)
#modify bundle id
project.add_single_valued_flag('PRODUCT_BUNDLE_IDENTIFIER',jsonStr["appScheme"])
#update and add info.plist content
infoContent.update(xyInfoContent)
#write
plistlib.writePlist(infoContent,writeInfoFilePath)
project.save()
packageProj.buildProjName = gameProjName + '_' + channelName
packageProj.targetName = gameProjName
packageProj.buildProj()
//
// DCSdk.h
// DCSdk
//
// Created by xqwang on 13-7-8.
// Copyright (c) 2013年 digitcube. All rights reserved.
//
#import <Foundation/Foundation.h>
//这里提供静态方法
@interface DCTrackingAgent : NSObject
/**
* @brief 初始化接口,程序启动时调用
*
* 一般在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions内调用一次即可
* !!!一定要调用,否则后面无法上报,只能调用一次
* @param appId 在我们网站上创建游戏时分配的appId,用于标识这款游戏. 注意保密!
* @param channelId 渠道id , 方便统计分析你在各渠道的推广效果
*/
+ (void)initWithAppId:(NSString *)appId andChannelId:(NSString*)channelId;
/**
* @brief 设置数据上报间隔时间,该接口需要在onStart接口之前调用,否则无效。如果不调用该接口,SDK默认以1分钟的间隔上报数据
*
**/
+(void)setUploadInterval:(unsigned int)time;
/**
* @brief 设置应用版本号,不调用该接口时SDK默认从配置文件中读取应用版本号
*
* @param version:应用版本号
*/
+(void)setVersion:(NSString*)version;
/**
* @brief 立即上报数据
**/
+(void)uploadNow;
/**
* @brief 获取设备ID
**/
+(NSString*)getUID;
@end
@interface DCTrackingPoint : NSObject
/**
@brief 广告效果追踪设置有效的效果点
@param pointId 广告效果点
@param propDictionary 触发时希望传入的属性字典
**/
+(void)setEffectPoint:(NSString*)pointId propDictionary:(NSDictionary*)dictionary;
/**
@brief 玩家登陆事件
@param accountId 玩家账户ID
**/
+(void)login:(NSString*)accountId;
/**
@brief 玩家注册事件
@param accountId 玩家账户ID
**/
+(void)createAccount:(NSString*)accountId;
/**
@brief 玩家付费事件
@param orderId 订单ID
@param currencyAmount 付费总额
@param currencyType 货币类型
@param paymentType 支付途径
**/
+(void)paymentSuccess:(NSString*)orderId currencyAmount:(double)currencyAmount currencyType:(NSString*)currencyType paymentType:(NSString*)paymentType;
@end
No preview for this file type
//
// NewTtack.h
// NewTtack
//
// Created by yun on 16/1/11.
// Copyright © 2016年 yun. All rights reserved.
//
#define TRACK_VERSION @"3.0.1"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
/*
热云移动广告效果监测 平台 api 请选择对应的api进行使用
*/
NS_ASSUME_NONNULL_BEGIN
@interface ReYunChannel : NSObject
//开启打印日志 正式上线包请关掉
+(void) setPrintLog :(BOOL)print;
// 开启数据统计
+ (void)initWithappKey:(NSString *)appKey withChannelId:(NSString *)channelId;
//注册成功后调用
+ (void)setRegisterWithAccountID:(NSString *)account;
//登陆成功后调用
+ (void)setLoginWithAccountID:(NSString *)account;
//开始付费时 调用(人民币单位是元)
+(void)setPaymentStart:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount;
// 支付完成,付费分析,记录玩家充值的金额(人民币单位是元)
+(void)setPayment:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount;
//自定义事件
+(void)setEvent:(NSString *)eventName;
//获取设备信息
+(NSString*)getDeviceId;
+(BOOL)RYApplication:(UIApplication *)application openURL:(nonnull NSURL *)url options:(nonnull NSDictionary<NSString *,id> *)options;
@end
NS_ASSUME_NONNULL_END
\ No newline at end of file
......@@ -11,7 +11,8 @@
#import "YouaiSDK/YouaiSDKMgr.h"
#import "YouaiSDK/YouaiNotifications.h"
#import "YouaiSDK/YouaiLoginInfo.h"
#import "TrackingIO.h"
#import "ReYunTrack.h"
#import "DCTrackingAgent.h"
//SDK
......@@ -31,18 +32,23 @@ int mExchange;
[super SDKinit:control];
[PoolConfig getInstance];
[[YouaiSDKMgr getInstance]initSDK];
[[YouaiSDKMgr getInstance]setStyleName:@"sdk"];
[[YouaiSDKMgr getInstance]setServerUrl:@"https://sdk.shxingwan.com"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:youaiLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applePayCallBack:) name:@"applePayCallBack" object:nil];
[[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[PoolConfig getInstance] getValueByKey:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
[TrackingIO initWithappKey:[[PoolConfig getInstance] getValueByKey:@"renyunAppKey"] withChannelId:channelId];
NSString* channelId = [[PoolConfig getInstance] getValueByKey:@"sdkSimpleName"];
[ReYunChannel initWithappKey:[[PoolConfig getInstance] getValueByKey:@"renyunAppKey"] withChannelId:channelId];
NSString* dateEyeAppId = [[PoolConfig getInstance] getValueByKey:@"dateEyeAppId"];
[DCTrackingAgent initWithAppId:dateEyeAppId andChannelId:channelId];
}
/**
......@@ -50,11 +56,16 @@ int mExchange;
*/
- (void)SDKloginSDK
{
NSLog(@"no parames login");
[self SDKloginSDK:self.controller];
}
- (void)SDKloginSDK:(UIViewController *)control
{
NSLog(@"调用了LoginSDK");
NSString *appId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
NSString *appKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[YouaiSDKMgr getInstance]openLogin:appId :appKey :self.controller];
[[YouaiSDKMgr getInstance]openLogin:appId :appKey :control];
}
/**
......@@ -67,11 +78,7 @@ int mExchange;
loginInfo.openId = [[YouaiLoginInfo getInstance]openId];
loginInfo.sign = [[YouaiLoginInfo getInstance] token];
loginInfo.timestamp = [YouaiLoginInfo getInstance].timestamp;
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[PoolChecker getInstance] startCheck:loginInfo];
});
}
......@@ -146,13 +153,15 @@ int mExchange;
NSString* reportType = [reportInfo reportType];
if (reportInfo) {
if ([reportType isEqualToString:REPORT_ENTER]) {
[TrackingIO setLoginWithAccountID:[reportInfo playerId]];
[ReYunChannel setLoginWithAccountID:[reportInfo playerId]];//reyun login
[DCTrackingPoint login:[reportInfo playerId]];//dateeye login
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[self handlerLeakOrder];
});
}else if ([reportType isEqualToString:REPORT_CREATEROLE]){
[TrackingIO setRegisterWithAccountID:[reportInfo playerId]];
}else if([reportType isEqualToString:REPORT_CREATEROLE]){
[ReYunChannel setRegisterWithAccountID:[reportInfo playerId]];//reyun reg
[DCTrackingPoint createAccount:[reportInfo playerId]];//reyun reg
}
}
}
......@@ -220,33 +229,28 @@ int mExchange;
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
NSString *roleName = [payInfo playerName];
NSString *queryId = [payInfo queryId];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[self handlerLeakOrder];
});
NSString *isOpenThirdPay = [payInfo isOpenThirdPay];
NSLog(@"custom%@",[payInfo custom]);
if([isOpenThirdPay isEqualToString:@"false"]){
NSString* products = [payInfo products];
//NSLog(@"products:%@",products);
[[YouaiSDKMgr getInstance] openApplePay:self.controller products:products amount:[payInfo postAmount] queryId:queryId];
}else{
//NSString *isOpenThirdPay = [payInfo isOpenThirdPay];
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[YouaiSDKMgr getInstance] openPay:serverId :roleName :amount :[payInfo queryId] :self.controller];
}else{
NSString* products = [payInfo products];
[[YouaiSDKMgr getInstance] openApplePay:self.controller products:products amount:[payInfo postAmount] productName:[payInfo productName] queryId:[payInfo queryId]];
}
int64_t delayInSeconds = 5.0; // 延迟的时间
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC);
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
NSLog(@"chage state");
[[PoolChecker getInstance] setOnlyOneTimePay:false];
});
}
-(void)paymentSuccess:(NSString *)accountId orderId:(NSString *)orderId currencyAmount:(double)amount currencyType:(NSString *)currencyType payType:(NSString *)payType custom:(NSArray *)customArray
{
[TrackingIO setPayment:orderId paymentType:payType currentType:currencyType currencyAmount:amount];
[DCTrackingPoint paymentSuccess:orderId currencyAmount:amount currencyType:currencyType paymentType:payType];
[ReYunChannel setPayment:orderId paymentType:payType currentType:currencyType currencyAmount:amount];
}
@end
\ No newline at end of file
......
No preview for this file type
{"renyunAppKey": "1", "payorderurl": "https://public.sdk.gzyouai.com/paycheck/create", "usertype": 150, "sdkSimpleName": "apple_youyu", "gamechannelid": "", "APP_KEY": "b06b86b79c25774ec758657a7203bae6", "custom": "{}", "sdkVersionCode": "V1_0", "loginCheckUrl": "https://public.sdk.gzyouai.com/logincheck/check", "appScheme": "com.qyj.ios.xw", "c2": "", "c1": "", "APP_ID": "58fd78a9834e7246b8dc0eac", "paycheckurl": "https://public.sdk.gzyouai.com/paycheck/confirm", "gameSimpleName": "fytx_test"}
\ No newline at end of file
{"renyunAppKey": "d4f6d8e337472e5277634bcdb1ef6cf6", "dateEyeAppId": "", "payorderurl": "https://public.sdk.gzyouai.com/paycheck/create", "usertype": 139, "sdkSimpleName": "apple_xingwan", "gamechannelid": "", "APP_KEY": "f0455d5b7f2e982144b2ac8bc642e453", "custom": "{}", "sdkVersionCode": "V1_0", "loginCheckUrl": "https://public.sdk.gzyouai.com/logincheck/check", "appScheme": "com.ssmyj.ios.xw", "c2": "", "c1": "", "APP_ID": "5936756454c21d629d0c2755", "paycheckurl": "https://public.sdk.gzyouai.com/paycheck/confirm", "gameSimpleName": "qyj4"}
\ No newline at end of file
......