Commit 9aab1a3218d7c088b03b5a4c33893f9db32ad490
1 parent
f49dc69f
改为测试环境
Showing
3 changed files
with
4 additions
and
4 deletions
metaCode.xcodeproj/project.pbxproj
| @@ -1150,7 +1150,7 @@ | @@ -1150,7 +1150,7 @@ | ||
| 1150 | "@executable_path/Frameworks", | 1150 | "@executable_path/Frameworks", |
| 1151 | ); | 1151 | ); |
| 1152 | MARKETING_VERSION = 1.0.0; | 1152 | MARKETING_VERSION = 1.0.0; |
| 1153 | - PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.metaCode; | 1153 | + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.metaCode.debug; |
| 1154 | PRODUCT_NAME = "$(TARGET_NAME)"; | 1154 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 1155 | SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; | 1155 | SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; |
| 1156 | SUPPORTS_MACCATALYST = NO; | 1156 | SUPPORTS_MACCATALYST = NO; |
| @@ -1194,7 +1194,7 @@ | @@ -1194,7 +1194,7 @@ | ||
| 1194 | "@executable_path/Frameworks", | 1194 | "@executable_path/Frameworks", |
| 1195 | ); | 1195 | ); |
| 1196 | MARKETING_VERSION = 1.0.0; | 1196 | MARKETING_VERSION = 1.0.0; |
| 1197 | - PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.metaCode; | 1197 | + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.metaCode.debug; |
| 1198 | PRODUCT_NAME = "$(TARGET_NAME)"; | 1198 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 1199 | SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; | 1199 | SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; |
| 1200 | SUPPORTS_MACCATALYST = NO; | 1200 | SUPPORTS_MACCATALYST = NO; |
metaCode/Classes/Main/HomePage/View/CNHomePageBackgroupView.swift
| @@ -35,7 +35,7 @@ class CNHomePageBackgroupSubView : UIView | @@ -35,7 +35,7 @@ class CNHomePageBackgroupSubView : UIView | ||
| 35 | lazy var maskLayer: CALayer = { | 35 | lazy var maskLayer: CALayer = { |
| 36 | let maskLayer = CALayer.init() | 36 | let maskLayer = CALayer.init() |
| 37 | maskLayer.frame = self.bounds; | 37 | maskLayer.frame = self.bounds; |
| 38 | - maskLayer.backgroundColor = UIColor.gray.cgColor | 38 | + maskLayer.backgroundColor = HexColor("#F9F9F9")?.cgColor |
| 39 | self.layer.mask = maskLayer | 39 | self.layer.mask = maskLayer |
| 40 | 40 | ||
| 41 | return maskLayer | 41 | return maskLayer |
metaCode/Classes/Other/AppDelegate.swift
| @@ -34,7 +34,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { | @@ -34,7 +34,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { | ||
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | //设置APP环境 | 36 | //设置APP环境 |
| 37 | - CNLiveEnvironmentManager.shared.setupEnvironment(environment: .production) | 37 | + CNLiveEnvironmentManager.shared.setupEnvironment(environment: .development) |
| 38 | 38 | ||
| 39 | window = UIWindow.init(frame: UIScreen.main.bounds) | 39 | window = UIWindow.init(frame: UIScreen.main.bounds) |
| 40 | window?.backgroundColor = KVCBackgroupColor | 40 | window?.backgroundColor = KVCBackgroupColor |