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.51k forks source link

Missing local directory .pcm files from joesusnick on latest FacebookSDK #2091

Closed jakesquareone closed 1 year ago

jakesquareone commented 1 year ago

Checklist before submitting a bug report

Xcode version

13.4.1

Facebook iOS SDK version

14.1.0

Dependency Manager

SPM

SDK Framework

Core

Goals

Not to have warnings in my local build and CI

Expected results

No warnings when I compile my project with the FacebookSDK

Actual results

/Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/FBSDKCoreKit-3D3JA1F3KLL0X.pcm: No such file or directory /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/Foundation-1WNHHKZMYIHTY.pcm: No such file or directory /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/FBSDKCoreKit_Basics-91J2MY4HXLCF.pcm: No such file or directory /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/UIKit-WCPHL3VVNKME.pcm: No such file or directory /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/SwiftShims-FFJMKQ44QOWK.pcm: No such file or directory /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/FBAEMKit-2SLX2GSKWBGNP.pcm: No such file or directory /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/FBSDKCoreKit_Basics-1N7EQ6S6YGZTK.pcm: No such file or directory /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/CommonCrypto-2K3I0ABSS54XF.pcm: No such file or directory /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/ObjectiveC-2J1HDE7VRLV6I.pcm: No such file or directory

Steps to reproduce

No response

Code samples & details

No response

jakesquareone commented 1 year ago

@joesus these warnings started showing after I updated my SPM libraries, and it pulled the latest FacebookSDK

lionhylra commented 1 year ago

I have same issue

lionhylra commented 1 year ago

I didn't see the warning in Xcode 13.4, but Xcode 14 beta start showing this.

dantish commented 1 year ago

+1, Xcode: 13.4.1

jakesquareone commented 1 year ago

@joesus any update on this? Really would like all these warnings gone from my project...

ghost commented 1 year ago

+1

zeusent commented 1 year ago

Same here... Again :)

thomasdelgado commented 1 year ago

+1

AlexNsbmr commented 1 year ago

+1

jakesquareone commented 1 year ago

@joesus

joesus commented 1 year ago

Fixed and will be in the next release. Digging into this we found additional hardcoded paths in the binary related to debug symbols. For anyone interested, fixing this involved a couple build flags.

Under OTHER_CFLAGS: -ffile-prefix-map=/PathToSourceCode=

Under OTHER_SWIFT_FLAGS: -debug-prefix-map /PathToSourceCode= -Xfrontend -no-clang-module-breadcrumbs

Now when you run dwarfdump binary | grep /Users it will not find any paths.

Thank you for the feedback! 😃

jakesquareone commented 1 year ago

Thanks @joesus! When can we expect the next release?

samodom commented 1 year ago

We made some updates in the v15.0.0 release that we're hoping will fix this issue. Can anyone currently experiencing this please try that version to see if is solved for them?

jakesquareone commented 1 year ago

Yes all good for me, thanks team.

ingconti commented 2 months ago

I see them again in march 2024. Am I missing some version / update?

janakmshah commented 1 month ago

Same, they are back again

CezaryCiosek commented 3 weeks ago

+1

iramons commented 2 weeks ago

Same here, the problem back! +1 jakesquareone @joesus

Can you re-open ?