Open mikkan-39 opened 1 month ago
@mikkan-39 did you manage to fix this? Any workaround?
mark
I found a workaround that can be easily configured in Cocoapods:
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'RNZipArchive'
target.source_build_phase.files.each do |file|
if file.settings && file.settings['COMPILER_FLAGS']
file.settings['COMPILER_FLAGS'] = ''
end
end
end
end
end
Describe the bug Adter updating to the latest MacOS developer beta, when building a project with XCode 16 for iOS 18.0, following error is thrown:
/node_modules/react-native-zip-archive/ios/RNZipArchive.m unsupported option '-G' for target 'arm64-apple-ios14.0-simulator'
To Reproduce Steps to reproduce the behavior:
Expected behavior Builds successfully
Env (please complete the following information):