Xcode 14.3 compilation error

After updating to Xcode14.3 today, I found two compilation errors, as follows:

1、/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

2、Initializer does not override a designated initializer from it

After searching, it can be summed up in one sentence:Xcode14.3最低适配到iOS11

Then just modify the project configuration. It seems that there is really no need to do extra work. For example, someone said to copy a file from Xcode14.2.

The most important thing is to Podfilemodify, Podfilejust add the following two sentences at the top:

platform :ios, '11.0'

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
    end
  end
end

at last

XcodeFor the original project, there will be such an error every time it is updated Error: ld: library not found for "-lstdc++.6", or follow the previous operation to download the file and put it in the corresponding directory, refer to the address

Guess you like

Origin blog.csdn.net/king6188/article/details/131263620