Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generate shallow bundle structure for iOS framework to resolve Xcode build errors#28174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
satyam102006 wants to merge1 commit intoopencv:4.x
base:4.x
Choose a base branch
Loading
fromsatyam102006:fix/issue--28170

Conversation

@satyam102006
Copy link
Contributor

Summary

This PR modifies the iOS framework build script (platforms/ios/build_framework.py) to generate aShallow Bundle structure instead of a Deep Bundle structure. This ensures compatibility with modern Xcode versions (Xcode 15/16+) and resolves build errors related toInfo.plist placement.

Problem

Currently, the build script creates a "Deep Bundle" structure (standard for macOS), placing the binary andInfo.plist insideVersions/A/.
When using the generated framework in recent iOS projects, Xcode fails with the error:

expected Info.plist at the root level since the platform uses shallow bundles

Solution

  • Updatedplatforms/ios/build_framework.py to stop creating theVersions/A directory hierarchy.
  • The binary,Info.plist,Headers, andModules are now placed directly at the root of the.framework folder.
  • Removed unneeded symlink creation logic forVersions/Current.

Changes

  • ModifiedmakeFramework method inplatforms/ios/build_framework.py.
  • Changed destination directorydstdir to point to the framework root.
  • UpdatedInfo.plist copy logic to target the root directory.

Related Issue

Fixes#28170

@satyam102006
Copy link
ContributorAuthor

Hi@asmorkalov , it looks like theUbuntu2404-ARM64-Debug check failed due to an infrastructure timeout (403 Forbidden on artifact upload), which seems unrelated to my changes.

Thanks!

asmorkalov reacted with thumbs up emoji

@asmorkalovasmorkalov removed this from the4.13.0 milestoneDec 15, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@VadimLevinVadimLevinAwaiting requested review from VadimLevin

Assignees

@VadimLevinVadimLevin

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[iOS] expected Info.plist at the root level since the platform uses shallow bundles

3 participants

@satyam102006@asmorkalov@VadimLevin

[8]ページ先頭

©2009-2025 Movatter.jp