Note that there are some explanatory texts on larger screens.

plurals
  1. POUndefined symbols for arch i386 after upgrading older iOS App to XCode 5
    primarykey
    data
    text
    <p>I'm trying to update an older (iOS4,5 era) app to iOS7 and am getting some compile/linker issues I can't figure out.</p> <p>I'm not sure the solution to the small subset of the compile errors pasted below. </p> <p>These issues appear to be from my usage of <a href="http://blog.shopsavvy.com/ios/sdk/documentation/" rel="nofollow">ScannerKit</a>. I was on version 4.2.1 and tried to update to the latest 4.3.0 but the issues remain. I defined have libScannerKit.a in my "Link Binary with Libraries" build phase.</p> <pre><code>Undefined symbols for architecture i386: "std::string::find(char, unsigned long) const", referenced from: zxing::oned::Code39Reader::decodeRow(int, zxing::Ref&lt;zxing::BitArray&gt;) in libScannerKit.a(Code39Reader.o) "std::string::substr(unsigned long, unsigned long) const", referenced from: zxing::oned::ConfigurableMultiFormatUPCEANReader::decodeRow(int, zxing::Ref&lt;zxing::BitArray&gt;) in libScannerKit.a(ConfigurableMultiFormatUPCEANReader.o) zxing::oned::MultiFormatUPCEANReader::decodeRow(int, zxing::Ref&lt;zxing::BitArray&gt;) in libScannerKit.a(MultiFormatUPCEANReader.o) zxing::oned::UPCAReader::maybeReturnResult(zxing::Ref&lt;zxing::Result&gt;) in libScannerKit.a(UPCAReader.o) zxing::oned::UPCEReader::convertUPCEtoUPCA(std::string) in libScannerKit.a(UPCEReader.o) "std::basic_stringbuf&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;::str() const", referenced from: zxing::BitMatrix::description() in libScannerKit.a(BitMatrix.o) zxing::GridSampler::checkAndNudgePoints(zxing::Ref&lt;zxing::BitMatrix&gt;, std::vector&lt;float, std::allocator&lt;float&gt; &gt;&amp;) in libScannerKit.a(GridSampler.o) zxing::GF256Poly::description() const in libScannerKit.a(GF256Poly.o) zxing::datamatrix::DecodedBitStreamParser::decode(zxing::ArrayRef&lt;unsigned char&gt;) in libScannerKit.a(DecodedBitStreamParser-E74816B4CEA9EA3A.o) zxing::oned::Code128Reader::decodeRow(int, zxing::Ref&lt;zxing::BitArray&gt;) in libScannerKit.a(Code128Reader.o) zxing::qrcode::DecodedBitStreamParser::decodeByteSegment(zxing::Ref&lt;zxing::BitSource&gt;, std::string&amp;, int) in libScannerKit.a(DecodedBitStreamParser-B6EF2F7091225D41.o) zxing::qrcode::DecodedBitStreamParser::decodeNumericSegment(zxing::Ref&lt;zxing::BitSource&gt;, std::string&amp;, int) in libScannerKit.a(DecodedBitStreamParser-B6EF2F7091225D41.o) ... "std::ostream::flush()", referenced from: zxing::datamatrix::DataMatrixReader::decode(zxing::Ref&lt;zxing::BinaryBitmap&gt;) in libScannerKit.a(DataMatrixReader.o) </code></pre> <p>I'm trying to just update the app and make this newest release iOS7+ only. This project is old and it was original created in the early versions of XCode 4 so I dont know if there is some kind of vestigial config file issues or something. Or is this something where ScannerKit is built against i386 and I'm not including that arch in my build or something?</p> <p>If anyone is interested, <a href="https://gist.github.com/cpjolicoeur/7708763" rel="nofollow">here is a full gist of the compile errors</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload