[英]Xcode: Missing arm64 Symbols from MagTek iOS Library
I am having an issue adding the MagTek library and header. 我在添加MagTek库和标题时遇到了问题。 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.
我正在使用Xcode 5.任何帮助将不胜感激。
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. MagTek库不能64位,你试图在iPhone 64位模拟器和/或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. 在“体系结构”下的“构建设置”中,尝试更改为
$(ARCHS_STANDARD_32_BIT)
或$(ARCHS_STANDARD)
以不构建64位版本作为变通方法。
It worked for me with following changes ( In your "Build Settings," under "Architectures"), 通过以下更改为我工作(在“构建设置”中,在“架构”下),
From iOS 11 onwards all apps should be in 64-bit, so you can get the latest iOS MagTek library at.. 从iOS 11开始,所有应用程序都应该是64位,因此您可以在...获取最新的iOS MagTek库。
https://www.magtek.com/support/idynamo?tab=software https://www.magtek.com/support/idynamo?tab=software
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.