Hello,
I am building a React Native application and it has both the Facebook SDK and OneSignal SDK included. When I try to distribute the app, there are multiple "Asset validation failed" errors.
Signing is set to "Automatically manage signing", there are no build errors.
I have searched around the internet and forums, tried some possible solutions, but ran into the same issue.
This is what I added to the Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings["CODE_SIGN_IDENTITY[sdk=macosx*]"] = "-"
end
end
end
end
But it didn't work, so I removed this block.
Do you have any ideas how to resolve this issue?