facebook / facebook-ios-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.
https://developers.facebook.com/docs/ios
Other
7.73k stars 3.5k forks source link

Multiple FBAudienceNetwork pod spec for the same version #2397

Open Cokile opened 3 weeks ago

Cokile commented 3 weeks ago

Checklist before submitting a bug report

Xcode version

15.2

Facebook iOS SDK version

6.15

Dependency Manager

CocoaPods

SDK Framework

Other / I don't know

Goals

Starting from FBAudienceNetwork 6.14, we noticed that the podspec file will go through add -> delete -> add steps

This causes some of our team members are using the wrong version of FBAudienceNetwork due to the cache of pod repo, and the Podfile.lock would be changed even if the version string is the same: image

I'm opening the issue to ask if deleting and re-adding and podsepc is by design, as this is causing confusion.

Currently a workaround is delete the ~/.cocoapods/repos/trunk/Specs/2/1/5/FBAudienceNetwork directory to trigger CocoaPods to download the latest Podfile.

Expected results

Please see goals.

Actual results

Please see goals.

Steps to reproduce

No response

Code samples & details

No response

GyroJoe commented 3 weeks ago

Some context about why pod repo update doesn't pick up this change: https://github.com/CocoaPods/CocoaPods/issues/10229