Im using react-native and pods in my project and got this error and had added Skiarenderlib to my project unarchiving this and found out that the project is using icucore lib and my pods where also including this in the other_ldflags (inherited) so i simply removed it in post install pod script and now everything is validated.
installer.pods_project.targets.each do |t|
t.build_configurations.each do |config|
if t.name == 'Pods-YourAppName' || t.name == 'Pods-YourAppName-YourAppNameTests'
xcconfig_path = config.base_configuration_reference.real_path
build_settings = Hash[*File.read(xcconfig_path).lines.map{|x| x.split(/\s*=\s*/, 2)}.flatten]
build_settings['OTHER_LDFLAGS'] = build_settings['OTHER_LDFLAGS'].gsub(' -l"icucore"','')
File.open(xcconfig_path, "w") {|file| file.puts ""}
build_settings.each do |key,value|
File.open(xcconfig_path, "a") {|file| file.puts "#{key} = #{value}"}
end
end
end
end
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: