Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated XCFramework fails on Xcode 15.3 #2456

Open
jagobagascon opened this issue Apr 30, 2024 · 0 comments
Open

Generated XCFramework fails on Xcode 15.3 #2456

jagobagascon opened this issue Apr 30, 2024 · 0 comments

Comments

@jagobagascon
Copy link

I'm using the apple_static_xcframework rule to generate an XCFramework that includes our C code base:

cc_library(
    name = "some_cc_library",
)
apple_static_xcframework(
   deps = [ "some_cc_library" ],
)

And all our users running Xcode 15.3 and above are encountering the following error:

Failed to load Info.plist from bundle at path /<...>/OurLib.Framework/Info.plist: No such file or directory.

The generated XCFramework includes an Info.plist file at the root, but the inner frameworks do not. And if I add that missing Info.plist manually (unzipping the xcframework and zipping it back) then everything works as expected.

I'm not sure if this is a bug on Xcode, the bazel rules or something's missing on our side.

Is there any way to include this Info.plist using the Bazel rules?

@jagobagascon jagobagascon changed the title Generated XCFrameworks fail on Xcode 15.3 Generated XCFramework fails on Xcode 15.3 Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant