ios - 架构 x86_64 的重复符号

标签 ios objective-c xcode6 core-plot esri-arc-engine

在使用 Core plot API 和 ESRI map Arc GIS API 期间,我面临重复符号问题。
在我的应用程序中,我使用的是 Core plot 和 ArcGIS API。为了提供对 64 位设备的支持,我下载了 ArcGI(ESRI map )的新 API,并相应地更新了 64 位的 CorePlot API。进行更改后,我面临问题:

错误描述在这里:

duplicate symbol _squareOfDistanceBetweenPoints in:
    /Users/xxxx/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(AGSCPTUtilities.o)
    /Users/xxxx/Desktop/18 Nov/SCM_iPad/SCM/CorePlot/coreplot_new.a(CPTUtilities.o)
duplicate symbol _niceNum in:
    /Users/xxxx/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(AGSCPTAxis.o)
    /Users/xxxx/Desktop/18 Nov/SCM_iPad/SCM/CorePlot/coreplot_new.a(CPTAxis.o)
duplicate symbol _CreateRoundedRectPath in:
    /Users/xxxx/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(AGSCPTPathExtensions.o)
    /Users/xxxx/Desktop/18 Nov/SCM_iPad/SCM/CorePlot/coreplot_new.a(CPTPathExtensions.o)
duplicate symbol _AddRoundedRectPath in:
    /Users/xxxx/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(AGSCPTPathExtensions.o)
    /Users/xxxx/Desktop/18 Nov/SCM_iPad/SCM/CorePlot/coreplot_new.a(CPTPathExtensions.o)
duplicate symbol _MyCGPathApplierFunc in:
    /Users/xxxx/Library/SDKs/ArcGIS/iOS/ArcGIS.framework/ArcGIS(NSCoderExtensions.o)
    /Users/xxxx/Desktop/18 Nov/SCM_iPad/SCM/CorePlot/coreplot_new.a(NSCoderExtensions.o)
ld: 5 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

如果有人遇到问题,请提出建议。我无法弄清楚这些 API 中的重复内容 之前这两个工作正常(没有 64 位支持的旧 api)

最佳答案

您可能导入了 .m 而不是 .h 文件

关于ios - 架构 x86_64 的重复符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27104946/

相关文章:

ios - 如何在 NSUserDefaults 中存储 UILabel 的 NSMutableArray

ipad - 是否有 UIWebView 的替代方案来动态显示格式化文本?

ios - 如何删除 CocoaPods 安装的库?

ios - Xcode 6 自动布局灵活宽度

objective-c - "ProductModuleName-Swift.h"未导出所有 Swift 类

ios - 找到多个匹配的代码签名身份(即证书和私钥对)

ios - Swift 中的可选 ("nil") 是什么意思?

iphone - 如何在 iOS 中计算对数?

ios - LocationManager不一致

iOS : How to add drop shadow and stroke shadow on UIView?