googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
Apache License 2.0
3.51k stars 2.92k forks source link

[Bug report] Missing platform load command in TextRecognitionCommon iOS framework #822

Open kubajakowski opened 3 months ago

kubajakowski commented 3 months ago

Describe the bug Compiler during the build shows warning No platform load command found in pathToProject/MLKitTextRecognitionCommon, assuming: iOS

AND

It's unable to create xcframework using xcodebuild command - the error says error: unable to determine the platform for the given binary pathToFramework/MLKitTextRecognitionCommon; check your deployment version settings

Only this particular framework has this issue - others are ok.

To Reproduce Build project and see Xcode log OR execute otool command to see that platform info is missing OR try to build xcframework to use in project without cocoapods

Expected behavior No warning in build log and possibility to build xcframework

SDK Info:

Development Environment:

devopsean commented 4 weeks ago

Any update on this???? same trouble here. Thanks!! @kubajakowski

rajasekhar-pasupuleti commented 3 weeks ago

Im also facing same issue No platform load command found in '/Users/MyUsername/Documents/Flutter_Apps/MyProject/ios/Pods/MLKitTextRecognitionCommon/Frameworks/MLKitTextRecognitionCommon.framework/MLKitTextRecognitionCommon', assuming: iOS