CDN: trunk URL couldn't be downloaded in certain React Native project when running "pod install"?

You could try update the repos because it might not contain what you want. More info

pod repo update && pod install

If that fails, an example of the usage of pod 'Google-Mobile-Ads-SDK' adds a source explicitly,

source 'https://github.com/CocoaPods/Specs.git'

OLD Answer:

Have you tried pod repo remove trunk; pod install as taken from this SO question. It would be useful if you shared your Podfile.

This removes a repo called `trunk' from cocoapods, then re-adds it.

Here is a gist of my Podfile, which also uses Firebase.


Thank you all for the support, after multiple efforts of solving this, I found the solution was related to my network making IPV6 requests instead of IPV4, I don't filly understand this but this is how I solved:

System Preferences > Network > Advanced > TCP/IP > Configure IPv6: Link-local only

Source