Closed pksa closed 1 week ago
Looks like there is a shared library, DocumentReaderCore:
% file Pods/DocumentReaderFullRFID/DocumentReaderCore.xcframework/ios-arm64_x86_64-simulator/DocumentReaderCore.framework/DocumentReaderCore
Pods/DocumentReaderFullRFID/DocumentReaderCore.xcframework/ios-arm64_x86_64-simulator/DocumentReaderCore.framework/DocumentReaderCore: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [arm64]
Pods/DocumentReaderFullRFID/DocumentReaderCore.xcframework/ios-arm64_x86_64-simulator/DocumentReaderCore.framework/DocumentReaderCore (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
Pods/DocumentReaderFullRFID/DocumentReaderCore.xcframework/ios-arm64_x86_64-simulator/DocumentReaderCore.framework/DocumentReaderCore (for architecture arm64): Mach-O 64-bit dynamically linked shared library arm64
which exports symbol _OrtGetApiBase.
% nm -g Pods/DocumentReaderFullRFID/DocumentReaderCore.xcframework/ios-arm64_x86_64-simulator/DocumentReaderCore.framework/DocumentReaderCore | grep OrtGetApiBase
0000000000b0c550 T _OrtGetApiBase
The static library in onnxruntime-c also has a symbol with the same name.
Hello. Please have a look at the new version - 6.8. The issue was fixed there. Thank you!
Hi @pksa,
Have the issue been solved? Can we close the ticket?
Bug Description
I have downloaded a sample application and added another pod
onnxruntime-objc
from ONNXRuntime in podfile and run the application. After that, I added object detection functionality using onnxruntime pod methods but got EXC_BAD_ACCESS error. For testing purposes I removed theDocumentReaderFullRFID
pod then It was working fine. So I believeDocumentReaderFullRFID
andonnxruntime-objc
pods are conflicting with each other.Steps To Reproduce
Expected behavior
Let me know which version of onnxruntime you are using in DocumentReaderFullRFID, So I can use the same version and maybe an issue will be resolved. I want to use the ONNXRuntime library anyhow because I want to process images as well as Document scans.
Screenshots
Environment:
Let me know if any queries
Thanks!