xingcheng02 2 rokov pred
rodič
commit
afa77ac34a

+ 8 - 0
Podfile

@@ -8,5 +8,13 @@ target 'XCBCTreeLangDemo' do
   # Pods for XCBCTreeLangDemo
   pod 'XCTreeLang', :path => './Modules/XCTreeLang', :modular_headers => true
   pod 'XCBaseContainer', :path => './Modules/XCBaseContainer', :modular_headers => true
+  
+  post_install do |installer|
+      installer.pods_project.targets.each do |target|
+          target.build_configurations.each do |config|
+        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
+          end
+      end
+  end
 
 end

+ 1 - 1
Podfile.lock

@@ -24,6 +24,6 @@ SPEC CHECKSUMS:
   XCBaseContainer: 07584f86e574c28324b8c97ae59d0a807eaf4421
   XCTreeLang: 130d2e94429c1bf86dcafd72eadc21ceec68035b
 
-PODFILE CHECKSUM: 78a89bc5e8a711f25c9d7bcc4264e326a3da7ea5
+PODFILE CHECKSUM: 9899b1b9b65bbdfd5b93fde9ce809f5c35eacb08
 
 COCOAPODS: 1.11.3

+ 2 - 0
XCBCTreeLangDemo.xcodeproj/project.pbxproj

@@ -370,6 +370,7 @@
 				INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
 				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
+				IPHONEOS_DEPLOYMENT_TARGET = 13.6;
 				LD_RUNPATH_SEARCH_PATHS = (
 					"$(inherited)",
 					"@executable_path/Frameworks",
@@ -403,6 +404,7 @@
 				INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
 				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
+				IPHONEOS_DEPLOYMENT_TARGET = 13.6;
 				LD_RUNPATH_SEARCH_PATHS = (
 					"$(inherited)",
 					"@executable_path/Frameworks",

+ 1 - 0
XCBCTreeLangDemo/TabItemVCViewController.m

@@ -18,6 +18,7 @@
 
 - (void)viewDidLoad {
     [super viewDidLoad];
+    self.view.backgroundColor = UIColor.systemBackgroundColor;
     [self.view addSubview:self.testLabel];
     [self.testLabel mas_makeConstraints:^(MASConstraintMaker *make) {
         make.top.equalTo(self.view.mas_safeAreaLayoutGuideTop).with.offset(10);