New Xcode projects don't have an Info.plist, and instead generate one from default values. I've been using this simple version in all my new projects, and we can probably just default our base Info.plist to match it:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
</dict>
</plist>
Instead of this:
ERROR: BUILD.bazel:6:16: //:app: missing value for mandatory attribute 'infoplists' in 'ios_application' rule
New Xcode projects don't have an Info.plist, and instead generate one from default values. I've been using this simple version in all my new projects, and we can probably just default our base Info.plist to match it:
Instead of this: