Fah*_*kar 3 iphone objective-c ios ios6
我在我的iPhone应用程序中使用FastPDFKit来显示PDF.当我在模拟器上运行项目时,它工作正常.但是,当我在iPhone上运行该项目时,它给我以下错误.
duplicate symbol _value_map in:
/Users/alkandari/Desktop/iPhone Apps/MyTest002/MyTest002/FastPdfKit.embeddedframework/FastPdfKit.framework/FastPdfKit(FastPdfKit)
duplicate symbol _writeUnicodeToUTF8Buffer in:
/Users/alkandari/Desktop/iPhone Apps/MyTest002/MyTest002/FastPdfKit.embeddedframework/FastPdfKit.framework/FastPdfKit(FastPdfKit)
ld: 871 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: 871 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
知道为什么会这样吗?
当我在Debug and Release部分的Configuration中添加FastPDFFramework时出现错误.
这是我发现的解决方案,即使在弄乱了标题/框架搜索路径,重建等之后:
我在项目中删除了-all_load链接器标志并成功编译.作为警告,请确保删除此标志适合您的项目.它可能放在那里是有原因的
| 归档时间: |
|
| 查看次数: |
9985 次 |
| 最近记录: |