更新了我的第三方SDK(Facebook Audience Network其他人)之后,我在构建时遇到了大量这类警告.
GenerateDSYMFile /Users/stakhar/Library/Developer/Xcode/DerivedData/Weather_-haqumjcbppvcpwareowgymfxekqg/Build/Products/Debug-iphoneos/Weather\ .app.dSYM /Users/stakhar/Library/Developer/Xcode/DerivedData/Weather_-haqumjcbppvcpwareowgymfxekqg/Build/Products/Debug-iphoneos/Weather\ .app/Weather\ cd /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/stakhar/Library/Developer/Xcode/DerivedData/Weather_-haqumjcbppvcpwareowgymfxekqg/Build/Products/Debug-iphoneos/Weather\ .app/Weather\ -o /Users/stakhar/Library/Developer/Xcode/DerivedData/Weather_-haqumjcbppvcpwareowgymfxekqg/Build/Products/Debug-iphoneos/Weather\ .app.dSYM while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/Foundation-A3SOD99KJ0S9.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/Foundation-A3SOD99KJ0S9.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/UIKit-2LM3EQU7VVY4O.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/Darwin-MI6WZSG1PNOM.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/Darwin-MI6WZSG1PNOM.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/AudioToolBox-IDGAMJDSP9Z1.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/AudioToolBox-IDGAMJDSP9Z1.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/CoreMedia-GG7O0RHFFJKF.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/CoreMedia-GG7O0RHFFJKF.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/QuartzCore-3I7S0M4UEAD0U.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/QuartzCore-3I7S0M4UEAD0U.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/SystemConfiguration-2O070L5BFB5B1.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/SystemConfiguration-2O070L5BFB5B1.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/StoreKit-2XFSXANXKLC2A.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCache.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/StoreKit-2XFSXANXKLC2A.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/Foundation-A3SOD99KJ0S9.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/Foundation-A3SOD99KJ0S9.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/StoreKit-2XFSXANXKLC2A.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/StoreKit-2XFSXANXKLC2A.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/Darwin-MI6WZSG1PNOM.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/Darwin-MI6WZSG1PNOM.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/AudioToolBox-IDGAMJDSP9Z1.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/AudioToolBox-IDGAMJDSP9Z1.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/CoreMedia-GG7O0RHFFJKF.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/CoreMedia-GG7O0RHFFJKF.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/QuartzCore-3I7S0M4UEAD0U.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/QuartzCore-3I7S0M4UEAD0U.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/SystemConfiguration-2O070L5BFB5B1.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/SystemConfiguration-2O070L5BFB5B1.pcm: No object file for requested architecture while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory while processing /Users/stakhar/DropBox/WeatherApps/development/iOS/WeatherApps/Pods/FBAudienceNetwork/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o): warning: /var/folders/9j/vw2bf7xn53g9ms_nnp0sct9167gh9d/C/org.llvm.clang.chrisp/ModuleCache/1G1JKM0ZTO8SX/UIKit-2LM3EQU7VVY4O.pcm: No object file for requested architecture
在研究了这个问题后,我发现可以进行一些调整来构建解决了某些人问题的设置:
>预编译前缀(GCC_PRECOMPILE_PREFIX_HEADER)= NO
>调试信息格式(DEBUG_informatION_FORMAT)=带有dSYM的DWARF
>启用模块(C和Objective-C)(CLANG_ENABLE_MODULES)= NO
(在这里找到https://forums.developer.apple.com/thread/17921和其他几个论坛)
这不适合我.我能够删除警告的唯一方法是设置GCC_GENERATE_DEBUGGING_SYMBOLS = NO以便不显示警告或通过设置DEBUG_informatION_FORMAT = DWARF(而不是’DWARF with dSYM’文件)禁用dsym文件的生成. dsym文件对我很重要,因为我使用的所有崩溃报告软件都使用它,因此禁用此过程或通过更改构建设置来抑制警告对我来说不是一个解决方案.
问题:
1.这是我的构建设置的问题,还是Facebook Audience Network SDK和我正在使用的其他第三方SDK有问题?2.如果我提交我的应用程序有很多警告(200)它会被批准吗?
解决方法
我有同样的问题. Facebook表示他们已经意识到这一点并且不是高优先级,因为它不会影响应用程序.我回退到4.7.1警告问题不再存在.
我不认为它会被拒绝但不能确定.