facebook-ios-sdk
facebook-ios-sdk copied to clipboard
Missing local directory .pcm files from joesusnick on latest FacebookSDK
Checklist before submitting a bug report
- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing GitHub issues
- [X] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [X] I've read the Code of Conduct
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
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
@joesus these warnings started showing after I updated my SPM libraries, and it pulled the latest FacebookSDK
I have same issue
I didn't see the warning in Xcode 13.4, but Xcode 14 beta start showing this.
+1, Xcode: 13.4.1
@joesus any update on this? Really would like all these warnings gone from my project...
+1
Same here... Again :)
+1
+1
@joesus
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! 😃
Thanks @joesus! When can we expect the next release?
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?
Yes all good for me, thanks team.