You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the latest Xcode 12 and Carthage (v0.36.0) to build framework and have the further issue while compiling.
/Carthage/Checkouts/ZXingObjC/ZXingObjC/datamatrix/decoder/ZXDataMatrixDecodedBitStreamParser.m:224:57: error:
expression does not compute the number of elements in this array;
element type is 'const unichar' (aka 'const unsigned short'), not 'char' [-Werror,-Wsizeof-array-div]
} else if (cValue < sizeof(C40_BASIC_SET_CHARS) / sizeof(char)) {
Compilation itself fails without creating a framework.
Now, the only workaround I see is to get ZXingObjC framework that was built with previous Xcode 11 and put it outside the Carthage folder.
The text was updated successfully, but these errors were encountered:
@Streetmage I'm hitting the same issue but it appears that it was already fixed on master as part of this commit by 5267eb7 by @benjohnde.
As a temporary solution I'm pointing my Cartfile to use the latest hash on master. The downside is that it won't automatically pick up the next minor/patch release but at least you will have a stable build, even when master gets updated
I'm using the latest Xcode 12 and Carthage (v0.36.0) to build framework and have the further issue while compiling.
Compilation itself fails without creating a framework.
Now, the only workaround I see is to get ZXingObjC framework that was built with previous Xcode 11 and put it outside the Carthage folder.
The text was updated successfully, but these errors were encountered: