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've integrated the Pod "TensorFlowLiteTaskVision" to the app (is needed for iOS 14+).
But as well there is a requirement still for the app to run on iOS 12.
But when I try to run it on iOS 12.5.7 (iPad Mini 2 Retina (WiFi) / 16GB / ME276LL/A) and other iOS 12 devices - I get a crash on start.
Something related to protobuf.
I've experimented a bit - and can see that 0.4.1 version of the pod was not crashing. All newer versions are crashing the app on iOS 12.5.7. Even though the pod is not imported in the code. Just the pod is installed - gets added to the app binary - and that leads to the crash on app start. 7 GB of free memory on device.
Can you please resolve it somehow?
a) can you please fix that, and release the Pod version which won't crash on iOS 12.5 +
b) can you maybe repackage it via SPM, and make sure that the Pod is not crashing the app on iOS 12.5 +
======== Second issue =======
And in another app - while installing versions 0.4.2, 0.4.3 - the app is compiling. But while installing 0.4.1 - the source code is not compiling with the following logs (Related to Undefined Behavior Sanitizer - this thing got overcomed this way https://stackoverflow.com/a/77921194/1847511):
ld: Undefined symbols:
___ubsan_handle_add_overflow, referenced from:
+[TFLClassificationOptions(Helpers) cStringArrayFromNSArray:error:] in TensorFlowLiteTaskVision11
+[TFLClassificationOptions(Helpers) deleteCStringsArray:count:] in TensorFlowLiteTaskVision11
+[TFLClassificationResult(Helpers) classificationResultWithCResult:] in TensorFlowLiteTaskVision13
+[TFLClassificationResult(Helpers) classificationResultWithCResult:] in TensorFlowLiteTaskVision13
+[TFLDetectionResult(Helpers) detectionResultWithCResult:] in TensorFlowLiteTaskVision16
+[TFLDetectionResult(Helpers) detectionResultWithCResult:] in TensorFlowLiteTaskVision16
+[TFLSegmentationResult(Helpers) segmentationResultWithCResult:] in TensorFlowLiteTaskVision21
+[TFLSegmentationResult(Helpers) segmentationResultWithCResult:] in TensorFlowLiteTaskVision21
+[TFLSegmentationResult(Helpers) segmentationResultWithCResult:] in TensorFlowLiteTaskVision21
...
___ubsan_handle_builtin_unreachable, referenced from:
-[TFLClassificationOptions(Helpers) copyToCOptions:error:] in TensorFlowLiteTaskVision11
+[TFLCommonUtils mallocWithSize:error:] in TensorFlowLiteTaskVision14
+[TFLImageSegmenter imageSegmenterWithOptions:error:] in TensorFlowLiteTaskVision18
___ubsan_handle_float_cast_overflow, referenced from:
-[TFLImageClassifier classifyWithGMLImage:regionOfInterest:error:] in TensorFlowLiteTaskVision17
-[TFLImageClassifier classifyWithGMLImage:regionOfInterest:error:] in TensorFlowLiteTaskVision17
-[TFLImageClassifier classifyWithGMLImage:regionOfInterest:error:] in TensorFlowLiteTaskVision17
-[TFLImageClassifier classifyWithGMLImage:regionOfInterest:error:] in TensorFlowLiteTaskVision17
___ubsan_handle_mul_overflow, referenced from:
-[TFLCategoryMask initWithWidth:height:mask:] in TensorFlowLiteTaskVision20
-[TFLCategoryMask initWithWidth:height:mask:] in TensorFlowLiteTaskVision20
-[TFLConfidenceMask initWithWidth:height:mask:] in TensorFlowLiteTaskVision20
-[TFLConfidenceMask initWithWidth:height:mask:] in TensorFlowLiteTaskVision20
___ubsan_handle_nonnull_arg, referenced from:
+[TFLCVPixelBufferUtils createRGBImageDatafromImageData:withWidth:height:stride:pixelBufferFormat:error:] in TensorFlowLiteTaskVision4
+[TFLCVPixelBufferUtils createRGBImageDatafromImageData:withWidth:height:stride:pixelBufferFormat:error:] in TensorFlowLiteTaskVision4
+[TFLCVPixelBufferUtils createRGBImageDatafromImageData:withWidth:height:stride:pixelBufferFormat:error:] in TensorFlowLiteTaskVision4
+[TFLCVPixelBufferUtils createRGBImageDatafromImageData:withWidth:height:stride:pixelBufferFormat:error:] in TensorFlowLiteTaskVision4
___ubsan_handle_pointer_overflow, referenced from:
+[TFLClassificationOptions(Helpers) cStringArrayFromNSArray:error:] in TensorFlowLiteTaskVision11
+[TFLClassificationOptions(Helpers) cStringArrayFromNSArray:error:] in TensorFlowLiteTaskVision11
+[TFLClassificationOptions(Helpers) cStringArrayFromNSArray:error:] in TensorFlowLiteTaskVision11
+[TFLClassificationOptions(Helpers) cStringArrayFromNSArray:error:] in TensorFlowLiteTaskVision11
+[TFLClassificationOptions(Helpers) deleteCStringsArray:count:] in TensorFlowLiteTaskVision11
+[TFLClassificationResult(Helpers) classificationResultWithCResult:] in TensorFlowLiteTaskVision13
+[TFLClassificationResult(Helpers) classificationResultWithCResult:] in TensorFlowLiteTaskVision13
...
___ubsan_handle_type_mismatch_v1, referenced from:
-[GMLImage initWithImage:] in TensorFlowLiteTaskVision3
-[GMLImage initWithImage:] in TensorFlowLiteTaskVision3
-[GMLImage initWithImage:] in TensorFlowLiteTaskVision3
-[GMLImage initWithImage:] in TensorFlowLiteTaskVision3
-[GMLImage initWithImage:] in TensorFlowLiteTaskVision3
-[GMLImage initWithPixelBuffer:] in TensorFlowLiteTaskVision3
-[GMLImage initWithPixelBuffer:] in TensorFlowLiteTaskVision3
-[GMLImage initWithPixelBuffer:] in TensorFlowLiteTaskVision3
-[GMLImage initWithPixelBuffer:] in TensorFlowLiteTaskVision3
-[GMLImage initWithPixelBuffer:] in TensorFlowLiteTaskVision3
...
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
I've integrated the Pod "TensorFlowLiteTaskVision" to the app (is needed for iOS 14+).
But as well there is a requirement still for the app to run on iOS 12.
But when I try to run it on iOS 12.5.7 (iPad Mini 2 Retina (WiFi) / 16GB / ME276LL/A) and other iOS 12 devices - I get a crash on start.
Something related to protobuf.
I've experimented a bit - and can see that 0.4.1 version of the pod was not crashing. All newer versions are crashing the app on iOS 12.5.7. Even though the pod is not imported in the code. Just the pod is installed - gets added to the app binary - and that leads to the crash on app start. 7 GB of free memory on device.
Can you please resolve it somehow?
a) can you please fix that, and release the Pod version which won't crash on iOS 12.5 +
b) can you maybe repackage it via SPM, and make sure that the Pod is not crashing the app on iOS 12.5 +
======== Second issue =======
And in another app - while installing versions 0.4.2, 0.4.3 - the app is compiling. But while installing 0.4.1 - the source code is not compiling with the following logs (Related to Undefined Behavior Sanitizer - this thing got overcomed this way https://stackoverflow.com/a/77921194/1847511):
The text was updated successfully, but these errors were encountered: