这两个lib是AFNetworking和libcomScore.a。中的extern NSString * const AFNetworkingReachabilityDidChangeNotification;
中的NSString * const AFNetworkingReachabilityDidChangeNotification = @"***";
在comScore静态库中的某个类中,AFNetworkingReachabilityDidChangeNotification被重新定义,从而导致错误。
重复符号_AFNetworkingReachabilityDidChangeNotification in: comScore-iOS-ARMV7_ARMV7S_ARM64-2.1403.14/comScore-iOS-ARMV7_ARMV7S_ARM64-2.1403.14/comScore/libcomScore.a(CSReachabilityManager.o) /Users/comScore-iOS-ARMV7_ARMV7S_ARM64-2.1403.14/comScore-iOS-ARMV7_ARMV7S_ARM64-2.1403.14/comScore/libcomScore.a(CSReachabilityManager.o)/lib*.a(AFHTTPClient.o)
我不想接触AFNetworking中的代码(尽管我可以很容易地通过重命名const来修复它)。有谁知道吗?
发布于 2014-04-03 08:54:25
检查文件的导入,您可能要导入.m文件而不是.h文件,如
#import "myClassName.m"https://stackoverflow.com/questions/22832434
复制相似问题