链接器命令失败,退出代码为 1(使用 -v 查看调用)

linker command failed with exit code 1 (use -v to see invocation)

我的应用程序在某些设备模拟器上运行,有些会给我这样的错误:

 ld: warning: ignoring file /Users/username/Documents/projectname/libSVGKit-iOS.2.0.0.a, 
  missing required architecture i386 in file /Users/wendy/Documents/projectname/libSVGKit-iOS.2.0.0.a (2 slices)

 Undefined symbols for architecture i386:
    "_OBJC_CLASS_$_SVGKFastImageView", referenced from:
  objc-class-ref in FrontView.o
    "_OBJC_CLASS_$_SVGKImage", referenced from:
  objc-class-ref in FrontView.o
 ld: symbol(s) not found for architecture i386
 clang: error: linker command failed with exit code 1 (use -v to seeinvocation)

我已经搜索了很长时间,但仍然对如何解决这个问题一无所知,有人可以帮我解决这个问题吗?

 Undefined symbols for architecture i386:
    "_OBJC_CLASS_$_SVGKFastImageView", referenced from: 

这告诉我们缺少 i386 架构(模拟器)的实现。如果您非常确定库已正确添加,

1) 在设备中尝试相同的过程。

2) 为模拟器重建你的库并将其添加到运行它在模拟器上。