Commit 25d02a57 authored by David黄金龙's avatar David黄金龙

1、修改版本号0.5.0.8

2、启动代码优化
parent efc3225c
...@@ -3009,7 +3009,7 @@ ...@@ -3009,7 +3009,7 @@
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 7; CURRENT_PROJECT_VERSION = 8;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
...@@ -3215,7 +3215,7 @@ ...@@ -3215,7 +3215,7 @@
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 7; CURRENT_PROJECT_VERSION = 8;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
...@@ -3263,7 +3263,7 @@ ...@@ -3263,7 +3263,7 @@
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 7; CURRENT_PROJECT_VERSION = 8;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
......
...@@ -23,10 +23,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { ...@@ -23,10 +23,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
//全局导航栏、返回事件/手势 //全局导航栏、返回事件/手势
setupNavBar() setupNavBar()
//1.设置主窗口
setupRootVC()
//2.通用UI设置 //2.通用UI设置
setupWholeUI() setupWholeUI()
...@@ -36,6 +32,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate { ...@@ -36,6 +32,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
//4.本地用户信息加载 //4.本地用户信息加载
YHLoginManager.shared.loadLocalUserInfoData() YHLoginManager.shared.loadLocalUserInfoData()
YHConfigManager.shared.loadConfigData() YHConfigManager.shared.loadConfigData()
//1.设置主窗口
setupRootVC()
return true return true
} }
...@@ -57,11 +56,13 @@ extension AppDelegate { ...@@ -57,11 +56,13 @@ extension AppDelegate {
// //
private func thirdSetting() -> Void { private func thirdSetting() -> Void {
DispatchQueue.global().async { // DispatchQueue.main.async {
//1.数据解析 //1.数据解析
#if DEBUG #if DEBUG
SmartConfig.debugMode = .none SmartConfig.debugMode = .none
#elseif TESTNEV
SmartConfig.debugMode = .none
#else #else
SmartConfig.debugMode = .none SmartConfig.debugMode = .none
#endif #endif
...@@ -69,23 +70,24 @@ extension AppDelegate { ...@@ -69,23 +70,24 @@ extension AppDelegate {
//2.bugly参数设置 //2.bugly参数设置
#if DEBUG #if DEBUG
Bugly.start(withAppId: "3b10faa43e") Bugly.start(withAppId: "3b10faa43e")
#elseif TESTNEV
Bugly.start(withAppId: "3b10faa43e")
#else #else
Bugly.start(withAppId: "5dc2acc53e") Bugly.start(withAppId: "5dc2acc53e")
#endif #endif
if !Device.current.isSimulator { // if !Device.current.isSimulator {
//3.一键登录 // //3.一键登录
let handler = TXCommonHandler.sharedInstance() // let handler = TXCommonHandler.sharedInstance()
handler.setAuthSDKInfo(YhConstant.Alipay.kAliOnePressPhoneLoginKey) { [weak self] dic in // handler.setAuthSDKInfo(YhConstant.Alipay.kAliOnePressPhoneLoginKey) { [weak self] dic in
//
guard self != nil else { return } // guard self != nil else { return }
print("Ali Cloud login completed : /(dic) " ) // print("Ali Cloud login completed : /(dic) " )
//
} // }
} // }
// }
}
} }
//2.通用全局UI设置相关 //2.通用全局UI设置相关
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment