Commit 15ac7cbcc35be45a35adde420f6e7dc869480252

Authored by 张旭
1 parent faa52201

no message

VLionADSDKDemo/VLionADSDKDemo.xcodeproj/project.pbxproj
@@ -10,10 +10,10 @@ @@ -10,10 +10,10 @@
10 817BA9941F9606E500599550 /* VLionAdImg.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 817BA9931F9606AB00599550 /* VLionAdImg.bundle */; }; 10 817BA9941F9606E500599550 /* VLionAdImg.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 817BA9931F9606AB00599550 /* VLionAdImg.bundle */; };
11 81DC51D31F95FB7E0060EBE3 /* NativeAdListsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81DC51D01F95FB7D0060EBE3 /* NativeAdListsController.m */; }; 11 81DC51D31F95FB7E0060EBE3 /* NativeAdListsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81DC51D01F95FB7D0060EBE3 /* NativeAdListsController.m */; };
12 81DC51D41F95FB7E0060EBE3 /* BannerADController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */; }; 12 81DC51D41F95FB7E0060EBE3 /* BannerADController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */; };
  13 + D2188EA41F9F1CA8006BF9C8 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2188EA31F9F1CA8006BF9C8 /* ViewController.m */; };
13 D25A58651F9750F200A72605 /* VLionADSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D25A58641F9750F200A72605 /* VLionADSDK.framework */; }; 14 D25A58651F9750F200A72605 /* VLionADSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D25A58641F9750F200A72605 /* VLionADSDK.framework */; };
14 D25A58671F9750F700A72605 /* VLionADSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D25A58641F9750F200A72605 /* VLionADSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 15 D25A58671F9750F700A72605 /* VLionADSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D25A58641F9750F200A72605 /* VLionADSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
15 D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41641F95F3BD00803E9D /* AppDelegate.m */; }; 16 D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41641F95F3BD00803E9D /* AppDelegate.m */; };
16 - D2ED41681F95F3BD00803E9D /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41671F95F3BD00803E9D /* ViewController.m */; };  
17 D2ED416B1F95F3BD00803E9D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED41691F95F3BD00803E9D /* Main.storyboard */; }; 17 D2ED416B1F95F3BD00803E9D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED41691F95F3BD00803E9D /* Main.storyboard */; };
18 D2ED416D1F95F3BD00803E9D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416C1F95F3BD00803E9D /* Assets.xcassets */; }; 18 D2ED416D1F95F3BD00803E9D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416C1F95F3BD00803E9D /* Assets.xcassets */; };
19 D2ED41701F95F3BD00803E9D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416E1F95F3BD00803E9D /* LaunchScreen.storyboard */; }; 19 D2ED41701F95F3BD00803E9D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416E1F95F3BD00803E9D /* LaunchScreen.storyboard */; };
@@ -40,12 +40,13 @@ @@ -40,12 +40,13 @@
40 81DC51D01F95FB7D0060EBE3 /* NativeAdListsController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NativeAdListsController.m; sourceTree = "<group>"; }; 40 81DC51D01F95FB7D0060EBE3 /* NativeAdListsController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NativeAdListsController.m; sourceTree = "<group>"; };
41 81DC51D11F95FB7E0060EBE3 /* BannerADController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BannerADController.h; sourceTree = "<group>"; }; 41 81DC51D11F95FB7E0060EBE3 /* BannerADController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BannerADController.h; sourceTree = "<group>"; };
42 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BannerADController.m; sourceTree = "<group>"; }; 42 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BannerADController.m; sourceTree = "<group>"; };
  43 + D2188D1B1F9EEEC0006BF9C8 /* VLionAdSDKDemo.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = VLionAdSDKDemo.entitlements; sourceTree = "<group>"; };
  44 + D2188EA31F9F1CA8006BF9C8 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
43 D25A58641F9750F200A72605 /* VLionADSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = VLionADSDK.framework; sourceTree = "<group>"; }; 45 D25A58641F9750F200A72605 /* VLionADSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = VLionADSDK.framework; sourceTree = "<group>"; };
44 D2ED41601F95F3BD00803E9D /* VLionAdSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VLionAdSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 46 D2ED41601F95F3BD00803E9D /* VLionAdSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VLionAdSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
45 D2ED41631F95F3BD00803E9D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; 47 D2ED41631F95F3BD00803E9D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
46 D2ED41641F95F3BD00803E9D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; 48 D2ED41641F95F3BD00803E9D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
47 D2ED41661F95F3BD00803E9D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; }; 49 D2ED41661F95F3BD00803E9D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
48 - D2ED41671F95F3BD00803E9D /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };  
49 D2ED416A1F95F3BD00803E9D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; 50 D2ED416A1F95F3BD00803E9D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
50 D2ED416C1F95F3BD00803E9D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; 51 D2ED416C1F95F3BD00803E9D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
51 D2ED416F1F95F3BD00803E9D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; 52 D2ED416F1F95F3BD00803E9D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
@@ -65,12 +66,11 @@ @@ -65,12 +66,11 @@
65 /* End PBXFrameworksBuildPhase section */ 66 /* End PBXFrameworksBuildPhase section */
66 67
67 /* Begin PBXGroup section */ 68 /* Begin PBXGroup section */
68 - D26EE1701F9D81110076873E /* New Group */ = { 69 + D2188D1C1F9EEEC7006BF9C8 /* Frameworks */ = {
69 isa = PBXGroup; 70 isa = PBXGroup;
70 children = ( 71 children = (
71 - D2ED41671F95F3BD00803E9D /* ViewController.m */,  
72 ); 72 );
73 - path = "New Group"; 73 + name = Frameworks;
74 sourceTree = "<group>"; 74 sourceTree = "<group>";
75 }; 75 };
76 D2ED41571F95F3BD00803E9D = { 76 D2ED41571F95F3BD00803E9D = {
@@ -78,6 +78,7 @@ @@ -78,6 +78,7 @@
78 children = ( 78 children = (
79 D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */, 79 D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */,
80 D2ED41611F95F3BD00803E9D /* Products */, 80 D2ED41611F95F3BD00803E9D /* Products */,
  81 + D2188D1C1F9EEEC7006BF9C8 /* Frameworks */,
81 ); 82 );
82 sourceTree = "<group>"; 83 sourceTree = "<group>";
83 }; 84 };
@@ -92,12 +93,13 @@ @@ -92,12 +93,13 @@
92 D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */ = { 93 D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */ = {
93 isa = PBXGroup; 94 isa = PBXGroup;
94 children = ( 95 children = (
  96 + D2188D1B1F9EEEC0006BF9C8 /* VLionAdSDKDemo.entitlements */,
95 D25A58641F9750F200A72605 /* VLionADSDK.framework */, 97 D25A58641F9750F200A72605 /* VLionADSDK.framework */,
96 817BA9931F9606AB00599550 /* VLionAdImg.bundle */, 98 817BA9931F9606AB00599550 /* VLionAdImg.bundle */,
97 D2ED41631F95F3BD00803E9D /* AppDelegate.h */, 99 D2ED41631F95F3BD00803E9D /* AppDelegate.h */,
98 D2ED41641F95F3BD00803E9D /* AppDelegate.m */, 100 D2ED41641F95F3BD00803E9D /* AppDelegate.m */,
99 D2ED41661F95F3BD00803E9D /* ViewController.h */, 101 D2ED41661F95F3BD00803E9D /* ViewController.h */,
100 - D26EE1701F9D81110076873E /* New Group */, 102 + D2188EA31F9F1CA8006BF9C8 /* ViewController.m */,
101 81DC51D11F95FB7E0060EBE3 /* BannerADController.h */, 103 81DC51D11F95FB7E0060EBE3 /* BannerADController.h */,
102 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */, 104 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */,
103 81DC51CF1F95FB7D0060EBE3 /* NativeAdListsController.h */, 105 81DC51CF1F95FB7D0060EBE3 /* NativeAdListsController.h */,
@@ -144,6 +146,14 @@ @@ -144,6 +146,14 @@
144 D2ED415F1F95F3BD00803E9D = { 146 D2ED415F1F95F3BD00803E9D = {
145 CreatedOnToolsVersion = 9.0; 147 CreatedOnToolsVersion = 9.0;
146 ProvisioningStyle = Automatic; 148 ProvisioningStyle = Automatic;
  149 + SystemCapabilities = {
  150 + com.apple.InAppPurchase = {
  151 + enabled = 0;
  152 + };
  153 + com.apple.Push = {
  154 + enabled = 0;
  155 + };
  156 + };
147 }; 157 };
148 }; 158 };
149 }; 159 };
@@ -184,11 +194,11 @@ @@ -184,11 +194,11 @@
184 isa = PBXSourcesBuildPhase; 194 isa = PBXSourcesBuildPhase;
185 buildActionMask = 2147483647; 195 buildActionMask = 2147483647;
186 files = ( 196 files = (
187 - D2ED41681F95F3BD00803E9D /* ViewController.m in Sources */,  
188 D2ED41731F95F3BD00803E9D /* main.m in Sources */, 197 D2ED41731F95F3BD00803E9D /* main.m in Sources */,
189 D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */, 198 D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */,
190 81DC51D41F95FB7E0060EBE3 /* BannerADController.m in Sources */, 199 81DC51D41F95FB7E0060EBE3 /* BannerADController.m in Sources */,
191 81DC51D31F95FB7E0060EBE3 /* NativeAdListsController.m in Sources */, 200 81DC51D31F95FB7E0060EBE3 /* NativeAdListsController.m in Sources */,
  201 + D2188EA41F9F1CA8006BF9C8 /* ViewController.m in Sources */,
192 ); 202 );
193 runOnlyForDeploymentPostprocessing = 0; 203 runOnlyForDeploymentPostprocessing = 0;
194 }; 204 };
@@ -331,11 +341,12 @@ @@ -331,11 +341,12 @@
331 FRAMEWORK_SEARCH_PATHS = ( 341 FRAMEWORK_SEARCH_PATHS = (
332 "$(inherited)", 342 "$(inherited)",
333 "$(PROJECT_DIR)/VLionAdSDKDemo", 343 "$(PROJECT_DIR)/VLionAdSDKDemo",
  344 + "$(PROJECT_DIR)/VLionAdSDKDemo/SDWebImage",
334 ); 345 );
335 INFOPLIST_FILE = VLionAdSDKDemo/Info.plist; 346 INFOPLIST_FILE = VLionAdSDKDemo/Info.plist;
336 IPHONEOS_DEPLOYMENT_TARGET = 8.0; 347 IPHONEOS_DEPLOYMENT_TARGET = 8.0;
337 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 348 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
338 - PRODUCT_BUNDLE_IDENTIFIER = cn.vlion.VLionAdSDKDemo; 349 + PRODUCT_BUNDLE_IDENTIFIER = "shixunzhongguo-cnlive";
339 PRODUCT_NAME = "$(TARGET_NAME)"; 350 PRODUCT_NAME = "$(TARGET_NAME)";
340 PROVISIONING_PROFILE = ""; 351 PROVISIONING_PROFILE = "";
341 PROVISIONING_PROFILE_SPECIFIER = ""; 352 PROVISIONING_PROFILE_SPECIFIER = "";
@@ -356,11 +367,12 @@ @@ -356,11 +367,12 @@
356 FRAMEWORK_SEARCH_PATHS = ( 367 FRAMEWORK_SEARCH_PATHS = (
357 "$(inherited)", 368 "$(inherited)",
358 "$(PROJECT_DIR)/VLionAdSDKDemo", 369 "$(PROJECT_DIR)/VLionAdSDKDemo",
  370 + "$(PROJECT_DIR)/VLionAdSDKDemo/SDWebImage",
359 ); 371 );
360 INFOPLIST_FILE = VLionAdSDKDemo/Info.plist; 372 INFOPLIST_FILE = VLionAdSDKDemo/Info.plist;
361 IPHONEOS_DEPLOYMENT_TARGET = 8.0; 373 IPHONEOS_DEPLOYMENT_TARGET = 8.0;
362 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 374 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
363 - PRODUCT_BUNDLE_IDENTIFIER = cn.vlion.VLionAdSDKDemo; 375 + PRODUCT_BUNDLE_IDENTIFIER = "shixunzhongguo-cnlive";
364 PRODUCT_NAME = "$(TARGET_NAME)"; 376 PRODUCT_NAME = "$(TARGET_NAME)";
365 PROVISIONING_PROFILE = ""; 377 PROVISIONING_PROFILE = "";
366 PROVISIONING_PROFILE_SPECIFIER = ""; 378 PROVISIONING_PROFILE_SPECIFIER = "";
VLionADSDKDemo/VLionADSDKDemo/AppDelegate.m
@@ -21,7 +21,6 @@ @@ -21,7 +21,6 @@
21 [[VLionManager manager] initVLionSDKWithAppId:@"171"]; 21 [[VLionManager manager] initVLionSDKWithAppId:@"171"];
22 22
23 VLionAdConfiguration *configuration = [[VLionAdConfiguration alloc] init]; 23 VLionAdConfiguration *configuration = [[VLionAdConfiguration alloc] init];
24 -  
25 configuration.showFinishAnimate = ShowFinishAnimateFadein; 24 configuration.showFinishAnimate = ShowFinishAnimateFadein;
26 configuration.showFinishAnimateTime = 0.8; 25 configuration.showFinishAnimateTime = 0.8;
27 configuration.contentMode = UIViewContentModeScaleAspectFit; 26 configuration.contentMode = UIViewContentModeScaleAspectFit;
@@ -30,7 +29,6 @@ @@ -30,7 +29,6 @@
30 29
31 //开屏广告占位图建议与启动页LaunchImage相同 30 //开屏广告占位图建议与启动页LaunchImage相同
32 UIImage *image = [UIImage imageNamed:@"placeholderImage"]; 31 UIImage *image = [UIImage imageNamed:@"placeholderImage"];
33 -  
34 NSString *tagId = @"332"; // 广告位Id 32 NSString *tagId = @"332"; // 广告位Id
35 [[VLionManager manager] vl_setupLaunchAdWithTagId:tagId configuration:configuration keyWindow:[[UIApplication sharedApplication].delegate window] placeholderImage:image completeBlock:^(CGFloat w, CGFloat h, UIWindow * _Nonnull window) { 33 [[VLionManager manager] vl_setupLaunchAdWithTagId:tagId configuration:configuration keyWindow:[[UIApplication sharedApplication].delegate window] placeholderImage:image completeBlock:^(CGFloat w, CGFloat h, UIWindow * _Nonnull window) {
36 34
VLionADSDKDemo/VLionADSDKDemo/Info.plist
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 <key>CFBundleDevelopmentRegion</key> 5 <key>CFBundleDevelopmentRegion</key>
6 <string>$(DEVELOPMENT_LANGUAGE)</string> 6 <string>$(DEVELOPMENT_LANGUAGE)</string>
7 <key>CFBundleDisplayName</key> 7 <key>CFBundleDisplayName</key>
8 - <string>瑞狮广告</string> 8 + <string>互动电视</string>
9 <key>CFBundleExecutable</key> 9 <key>CFBundleExecutable</key>
10 <string>$(EXECUTABLE_NAME)</string> 10 <string>$(EXECUTABLE_NAME)</string>
11 <key>CFBundleIdentifier</key> 11 <key>CFBundleIdentifier</key>
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 <key>CFBundlePackageType</key> 17 <key>CFBundlePackageType</key>
18 <string>APPL</string> 18 <string>APPL</string>
19 <key>CFBundleShortVersionString</key> 19 <key>CFBundleShortVersionString</key>
20 - <string>1.0</string> 20 + <string>5.5.5</string>
21 <key>CFBundleURLTypes</key> 21 <key>CFBundleURLTypes</key>
22 <array> 22 <array>
23 <dict> 23 <dict>
@@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
28 </dict> 28 </dict>
29 </array> 29 </array>
30 <key>CFBundleVersion</key> 30 <key>CFBundleVersion</key>
31 - <string>1</string> 31 + <string>5.5.5.091218</string>
32 <key>LSRequiresIPhoneOS</key> 32 <key>LSRequiresIPhoneOS</key>
33 <true/> 33 <true/>
34 <key>NSAppTransportSecurity</key> 34 <key>NSAppTransportSecurity</key>
VLionAdSDKDemo/VLionAdSDKDemo/VLionAdSDKDemo.entitlements 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict/>
  5 +</plist>
VLionAdSDKDemo/VLionAdSDKDemo/New Group/ViewController.m renamed to VLionAdSDKDemo/VLionAdSDKDemo/ViewController.m