UIFoundation 2片用于建筑arm64错误的Xcode 7.3

问题描述:

我收到以下错误UIFoundation 2片用于建筑arm64错误的Xcode 7.3

ld: warning: directory not found for option '-L/Avijit/Dogra/App/EZMCOM_LATEST 5.31.56 PM/EZMCOM_LATEST/Connect/Library/iphoneos' ld: warning: ignoring file Connect/Library/libPods.a, file was built for archive which is not the architecture being linked (arm64): Connect/Library/libPods.a ld: in '/System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation', missing required architecture arm64 in file /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation (2 slices) for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

enter image description here

如何解决这个问题?

+0

@rmaddy。如何解决这个问题,请帮助我。 –

+0

通过从目录ex.Avifoundation中除去syetem框架来修复,Xc.test –

我有同样的问题,我通过从自动导入的build phases中删除系统库UIKit.framework(对于其他人可能不同)来修复它。

因为我导入的是旧的,我用otool来检查它的链接库,它里面有UIFoundation.framework

我没有检查旧的UIKit和新的UIKit有什么区别,但我发现这改正了这个问题。

我希望这会帮助其他人有同样的问题。

+0

好的。那是伟大的罗杰。 –