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