rules_xcodeproj icon indicating copy to clipboard operation
rules_xcodeproj copied to clipboard

Bug: "Information from info.plist not available. File may not exist at specified path." for multi-platform targets

Open brentleyjones opened this issue 3 years ago • 0 comments

Describe the bug

From a freshly generated project, that contains multiple platforms for a top-level target that has an Info.plist (like Simulator and Device), Xcode can still show this error after building:

Information from info.plist not available. File may not exist at specified path.

This is because Xcode needs every variation to have the Info.plist generated.

Expected behavior

I'm not exactly sure what we should do here, if anything. The primary issue is that generating the Bazel based Info.plist might generate a lot of other stuff, such as bundling associated .xcassets. So it's not as simple as saying "generate all of the Info.plists for a project when generating the project". Similar thing for a single target, as we don't want to have to generate too much extra stuff from an "unimportant" platform.

brentleyjones avatar Jul 29 '22 17:07 brentleyjones