Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode: Missing arm64 Symbols from MagTek iOS Library

I am having an issue adding the MagTek library and header. After they are added (I followed all the information I could find) I get this error:

    Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_MTSCRA", referenced from:
      objc-class-ref in CONAppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have wasted so much time figuring this out. I am using Xcode 5. Any Help would be appreciated.

like image 402
dsuma Avatar asked Nov 22 '25 02:11

dsuma


1 Answers

The MagTek library must not 64-bit and you are trying to run against the iPhone 64-bit simulator and/or on the iPhone 5s. In your "Build Settings," under "Architectures," try changing to $(ARCHS_STANDARD_32_BIT) or $(ARCHS_STANDARD) to not build the 64-bit version as a workaround.

like image 115
greg Avatar answered Nov 24 '25 23:11

greg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!