Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
5 tasks done
jakesquareone opened this issue Jul 21, 2022 · 21 comments
Closed
5 tasks done

Comments

@jakesquareone
Copy link

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
Copy link
Author

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

@lionhylra
Copy link

I have same issue

@lionhylra
Copy link

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

@dantish
Copy link

dantish commented Aug 4, 2022

+1, Xcode: 13.4.1

@jakesquareone
Copy link
Author

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

@ghost
Copy link

ghost commented Aug 23, 2022

+1

@zeusent
Copy link

zeusent commented Aug 31, 2022

Same here... Again :)

@thomasdelgado
Copy link

+1

1 similar comment
@AlexNsbmr
Copy link

+1

@jakesquareone
Copy link
Author

@joesus

@joesus
Copy link
Contributor

joesus commented Sep 20, 2022

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
Copy link
Author

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

@samodom
Copy link
Contributor

samodom commented Oct 17, 2022

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
Copy link
Author

Yes all good for me, thanks team.

@ingconti
Copy link

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

@janakmshah
Copy link

Same, they are back again

@CezaryCiosek
Copy link

+1

@iramons
Copy link

iramons commented May 16, 2024

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

Can you re-open ?

@ra9r
Copy link

ra9r commented Jun 16, 2024

I getting the following warnings using 14.1.0

warning: /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/FBAEMKit-2SLX2GSKWBGNP.pcm: No such file or directory
note: while processing /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/35QDORLDX1QGG/FBAEMKit-2SLX2GSKWBGNP.pcm
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.

@eren-celik
Copy link

+1

1 similar comment
@MatticusJee
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

16 participants