I'm using cocoapods with my KMP library to pull in a dependency. I'm finding that it will intermittently fail when building on our Jenkins server. Is there a way to tweak the Podfile that gets built automatically based on the gradle settings? I want to add to the build settings block. The error is "ld: building for iOS Simulator, but linking in object file built for iOS, for architecture arm64".
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["ONLY_ACTIVE_ARCH"] = "YES"
end
end
end