在查看Honeywell Captuvo指南时,它提到在调用SDK之前,info.plist文件应该包括com.honeywell.scansled.protocol.decoder、com.honeywell.scansled.protocol.msr和com.honeywell.scansled.protocol.pm
由于我使用的是ObjectiveC桥,我如何做到这/我需要这样做吗?
发布于 2018-01-27 05:19:53
你似乎指的是:
使用Xamarin.iOS连接到霍尼韦尔卡普托沃滑轮。确保您在您的info.plist中有以下内容,否则附件将无法工作。
<key>UISupportedExternalAccessoryProtocols</key>
<array>
<string>com.honeywell.scansled.protocol.decoder</string>
<string>com.honeywell.scansled.protocol.msr</string>
<string>com.honeywell.scansled.protocol.pm</string>
</array>您可以通过使用构建提示部分中的构建提示ios.plistInject向代码名一个plist添加信息:
ios.plistInject=<key>UISupportedExternalAccessoryProtocols</key> <array><string>com.honeywell.scansled.protocol.decoder</string><string>com.honeywell.scansled.protocol.msr</string><string>com.honeywell.scansled.protocol.pm</string></array>https://stackoverflow.com/questions/48465734
复制相似问题