Podfile
943 Bytes
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'metaCode' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod 'Alamofire'
pod 'Moya'
pod 'SwiftyJSON'
pod 'YYCategories'
# Pods for metaCode
target 'metaCodeTests' do
inherit! :search_paths
# Pods for testing
end
target 'metaCodeUITests' do
# Pods for testing
end
end
#解决第三方最低版本过低,Xcode14.3 异常了arc文件 ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
#clang: error: linker command failed with exit code 1 (use -v to see invocation)
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
end
end
end