Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
11.3.15.1 (if issue is Swift related)1.8.45.15.0What do you want to achieve?
_Integrate the FBSDK without build errors or warnings._
What do you expect to happen?
_Build after integrating the FBSDK without build errors or warnings._
What actually happened? Can you provide a stack trace?
_Found the following warnings when building to a device:_
warning: /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/Foundation-1QUL043V10AT7.pcm: No such file or directory
note: while processing /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/Foundation-1QUL043V10AT7.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.
warning: /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/UIKit-HWV4L6XRVBUZ.pcm: No such file or directory
note: while processing /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/UIKit-HWV4L6XRVBUZ.pcm
warning: /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/FBSDKCoreKit-28B9JFVI8GLTI.pcm: No such file or directory
note: while processing /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/FBSDKCoreKit-28B9JFVI8GLTI.pcm
warning: /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/Darwin-MCQCCTWUE75U.pcm: No such file or directory
note: while processing /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/Darwin-MCQCCTWUE75U.pcm
warning: /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/AudioToolbox-3DT0KD50MMF00.pcm: No such file or directory
note: while processing /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/AudioToolbox-3DT0KD50MMF00.pcm
warning: /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/QuartzCore-89HL8EAOP4HX.pcm: No such file or directory
note: while processing /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/QuartzCore-89HL8EAOP4HX.pcm
warning: /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/CoreGraphics-1NN3OG1WTZTHF.pcm: No such file or directory
note: while processing /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/CoreGraphics-1NN3OG1WTZTHF.pcm
warning: /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/ObjectiveC-IRM8WCWFLXB6.pcm: No such file or directory
note: while processing /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/ObjectiveC-IRM8WCWFLXB6.pcm
warning: /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/CommonCrypto-36H2196YH4W7Q.pcm: No such file or directory
note: while processing /Users/joesusnick/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3OKIDRHISYIQA/CommonCrypto-36H2196YH4W7Q.pcm
What are the steps necessary to reproduce this issue?
_Integrate the FBSDK_
_Build to a device_
_None should be required._
This is interesting.
Couple questions:
Are you able to share the Podfile?
Are you seeing this output in the developer console of Xcode?
@joesus Here is the relevant section of my Podfile with the target name obscured:
source 'https://cdn.cocoapods.org/'
platform :ios, '10.0'
use_frameworks!
inhibit_all_warnings!
target 'TargetName' do
#integrate a lot of non-Facebook pods here
pod 'FacebookSDK'
end
Here is the relevant section of my Podfile.lock:
- FacebookSDK (5.15.0):
- FacebookSDK/CoreKit (= 5.15.0)
- FacebookSDK/MarketingKit (= 5.15.0)
- FacebookSDK/CoreKit (5.15.0):
- FBSDKCoreKit (~> 5.0)
- FacebookSDK/MarketingKit (5.15.0):
- FacebookSDK/CoreKit
- FBSDKMarketingKit (~> 5.0)
- FBSDKCoreKit (5.13.1):
- FBSDKCoreKit/Basics (= 5.13.1)
- FBSDKCoreKit/Core (= 5.13.1)
- FBSDKCoreKit/Basics (5.13.1)
- FBSDKCoreKit/Core (5.13.1):
- FBSDKCoreKit/Basics
- FBSDKMarketingKit (5.14.0):
- FBSDKCoreKit (~> 5.5)
Finally, the warnings were produced in the build logs during the "Generate dSYM" step.
I was building on the desktop in the Xcode 11.3.1 IDE using the Build option (command-B).
Configuration for my active scheme's Build action is Debug, target device was a physical 64-bit iOS device.
I'm encountering the exact same issue. Were you able to resolve?
This seems to be only reproducible when:
It turns out the all the FacebookSDKs installed by cocoapods were 5.15. Switched to using Xcode鈥檚 built in Swift Package Manager which installed version 6.0 which solved the issue.
Unfortunately, this is still reproducible in v6.0 when installed using Cocoapods
Same problem as well.
How can I resolve without changing the 'DWARF with dySYM File' to 'DWARF?
Same problem as well.
How can I resolve without changing the 'DWARF with dySYM File' to 'DWARF?
I solved by using Swift Package Manager (SPM) to install the FacebookSDK v6.0. However as @kjen93 mentioned, what may actually have fixed the issue is the fact that cocoapods may have been installing Facebooks MarketingKit (which I wasn鈥檛 actually using) whereas SPM didn鈥檛 - and this the issue may exist in MarketingKit rather than being an issue with v5.15 itself.
I didn't need all functionality, just CoreKit, so I change:
pod 'FacebookSDK'
for
pod 'FBSDKCoreKit'
And every warning disappeared.
@KylinChang After you release the last facebookSDK for CocoaPods https://github.com/facebook/facebook-ios-sdk/issues/1298 , now the warning show up your name path. Could you help to take a look?

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
Most helpful comment
Unfortunately, this is still reproducible in v6.0 when installed using Cocoapods