반응형
XCode 16으로 빌드했을때 에러가 발생할 경우
PodFile 수정하여 해결
source 'https://cdn.cocoapods.org/'
platform :ios, '14.0'
target 'UnityFramework' do
//여기에 기존 info파일에 있던 거 넣으면 됨
end
target 'Unity-iPhone' do
end
use_frameworks! :linkage => :static
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
end
end
installer.pods_project.targets.each do |target|
if target.name == 'BoringSSL-GRPC'
target.source_build_phase.files.each do |file|
if file.settings && file.settings['COMPILER_FLAGS']
flags = file.settings['COMPILER_FLAGS'].split
flags.reject! { |flag| flag == '-GCC_WARN_INHIBIT_ALL_WARNINGS' }
file.settings['COMPILER_FLAGS'] = flags.join(' ')
end
end
end
end
end
- 추가 후 터미널을 켜고 pod install 입력
반응형