googlesamples / googlesamples/mlkit

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

Open
#822 3 comments 5 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
4.3k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

**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:**
- GoogleMLKit/TextRecognition 6.0.0

**Development Environment:**
- IDE version: Xcode 15.1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.