I updated my app with the new Crashlytics/Fabric SDK and also Facebook SDK and now i am getting hundreds of warnings while generating debug information for crashlytics. I searched around and changed many build settings but still getting warnings. The debug information format is set to "DWARF with dSYM" that i think is required by crashlytcs. I have $(inherited) set in Other Linker Flags. Bit code is set to No. Not sure which other settings I should change to get rid of the warnings and be able to generate the proper dSYM file. I am using Xcode 7.2 and building for iOS 9.2.
Here is a warning sample:
while processing /Users/Yan/Documents/FacebookSDK/FBAudienceNetwork.framework/FBAudienceNetwork(FBCache.o):
warning: /var/folders/h9/zf2xtlkd12z1_ygkj8hplkhh17xrbq/C/org.llvm.clang.dzhuowen/ModuleCache/1VMMO06OSVUBF/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
while processing /Users/Yan/Documents/FacebookSDK/FBAudienceNetwork.framework/FBAudienceNetwork(FBCache.o):
warning: /var/folders/h9/zf2xtlkd12z1_ygkj8hplkhh17xrbq/C/org.llvm.clang.dzhuowen/ModuleCache/1VMMO06OSVUBF/Foundation-3DFYNEBRQSXST.pcm: No object file for requested architecture
while processing /Users/Yan/Documents/FacebookSDK/FBAudienceNetwork.framework/FBAudienceNetwork(FBCache.o):
warning: /var/folders/h9/zf2xtlkd12z1_ygkj8hplkhh17xrbq/C/org.llvm.clang.dzhuowen/ModuleCache/1VMMO06OSVUBF/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
while processing /Users/Yan/Documents/FacebookSDK/FBAudienceNetwork.framework/FBAudienceNetwork(FBCache.o):
warning: /var/folders/h9/zf2xtlkd12z1_ygkj8hplkhh17xrbq/C/org.llvm.clang.dzhuowen/ModuleCache/1VMMO06OSVUBF/UIKit-1V5UHAPTOD24G.pcm: No object file for requested architecture
while processing /Users/Yan/Documents/FacebookSDK/FBAudienceNetwork.framework/FBAudienceNetwork(FBCache.o):
warning: /var/folders/h9/zf2xtlkd12z1_ygkj8hplkhh17xrbq/C/org.llvm.clang.dzhuowen/ModuleCache/1VMMO06OSVUBF/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
while processing /Users/Yan/Documents/FacebookSDK/FBAudienceNetwork.framework/FBAudienceNetwork(FBCache.o):
warning: Could not resolve external type c:objc(cs)NSCache
while processing /Users/Yan/Documents/FacebookSDK/FBAudienceNetwork.framework/FBAudienceNetwork(FBCache.o):
warning: Could not resolve external type c:objc(cs)NSMapTable
while processing /Users/Yan/Documents/FacebookSDK/FBAudienceNetwork.framework/FBAudienceNetwork(FBCache.o):
warning: Could not resolve external type c:objc(cs)NSObject
This mean this SDK need some more files which are missing. Did you update the latest one?
By my experience I too face this issue before. I was add FBSDK alone then it shows this kind of bugs in my log., finally I found some more framework which is bolt need to add.. You can see in every files of header files in framework, search it which are present or not. This is one of the solution I found...
For the errors:
warning: Could not resolve external type c:objc(cs)NSObject
The problem happens when you have a Xcode 6 project updated to 7. The short answer is to change the Debug Information Format to "DWARF", on the target, for the Debug configuration only.
This is safe because you don't need dSYM files for Debug builds
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With