在ios6.0 ZxingWidget归档错误(ZxingWidget archive error

2019-07-31 00:26发布

我尝试存档ZxingWedget演示,scanTest。 编译就可以了。 它可以在模拟器中运行。 但它不能完全ios6.0存档。

这是错误:

Stripping /Users/ganguo/Library/Developer/Xcode/DerivedData/ScanTest-gadjcaxemklyqpcxsvmiorzakfhu/Build/Intermediates/ArchiveIntermediates/ScanTest/IntermediateBuildFilesPath/ZXingWidget.build/Release-iphoneos/ZXingWidget.build/Objects-normal/armv7/libZXingWidget.a
    cd /Users/ganguo/objc/lib/zxing/iphone/ZXingWidget
    setenv PATH "/Applications/app/Xcode45-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/app/Xcode45-DP4.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/app/Xcode45-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -S /Users/ganguo/Library/Developer/Xcode/DerivedData/ScanTest-gadjcaxemklyqpcxsvmiorzakfhu/Build/Intermediates/ArchiveIntermediates/ScanTest/IntermediateBuildFilesPath/ZXingWidget.build/Release-iphoneos/ZXingWidget.build/Objects-normal/armv7/libZXingWidget.a

0  0x10eaf75f0  __assert_rtn + 144
1  0x10eb5ed12  ld::tool::FunctionStartsAtom<arm>::encode() const + 594
2  0x10eb4d05b  ld::tool::OutputFile::updateLINKEDITAddresses(ld::Internal&) + 251
3  0x10eb483b8  ld::tool::OutputFile::write(ld::Internal&) + 136
4  0x10eaf7c5f  main + 1263
A linker snapshot was created at:
    /tmp/strip.7jH8OR-2012-07-16-113649.ld-snapshot
ld: Assertion failed: (addr != badAddress), function encode, file /SourceCache/ld64/ld64-134.5/src/ld/LinkEdit.hpp, line 1289.
/Applications/app/Xcode45-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: internal link edit command failed
Command /Applications/app/Xcode45-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip failed with exit code 1

Answer 1:

我今天对苹果提起了这个错误(12176840)针对此问题。



Answer 2:

做一个干净的,然后再试一次。 如果仍然失败,文件与苹果的错误。 这是一个Xcode /工具链的bug(在预发布软件)。



Answer 3:

我认为,斑马线库不支持的ARMv7架构呢。 我希望是错误的,但...



文章来源: ZxingWidget archive error on ios6.0
标签: zxing ios6