Closed huangzqh closed 4 weeks ago
I tried to add iOS Targets, but eventually no Targets were generated. Here are my Settings: plist_fragment( name = "VPNTunnelInfoPlist", extension = "plist", template = """
<string>en</string> <key>CFBundleIdentifier</key> <string>{bundle_id}.VPNTunnel</string> <key>CFBundleName</key> <string>VPNTunnel</string> <key>CFBundlePackageType</key> <string>XPC!</string> <key>NSExtension</key> <dict> <key>NSExtensionPointIdentifier</key> <string>com.apple.networkextension.packet-tunnel</string> <key>NSExtensionPrincipalClass</key> <string>PacketTunnelProvider</string> </dict> """.format( bundle_id = bundle_id, )
)
ios_extension( name = "VPNTunnel", bundle_id = "{bundle_id}.VPNTunnel".format( bundle_id = bundle_id, ), families = [ "iphone", "ipad", ], infoplists = [ ":VPNTunnelInfoPlist", ":VersionInfoPlist", ":RequiredDeviceCapabilitiesPlist", ":BuildNumberInfoPlist", ":AppNameInfoPlist", ], provisioning_profile = select({ ":disableProvisioningProfilesSetting": None,
}), minimum_os_version = minimum_os_version, entitlements = ":VPNTunnel.entitlements", deps = [ ], tags = ["manual"],
I tried to add iOS Targets, but eventually no Targets were generated. Here are my Settings: plist_fragment( name = "VPNTunnelInfoPlist", extension = "plist", template = """
)
ios_extension( name = "VPNTunnel", bundle_id = "{bundle_id}.VPNTunnel".format( bundle_id = bundle_id, ), families = [ "iphone", "ipad", ], infoplists = [ ":VPNTunnelInfoPlist", ":VersionInfoPlist", ":RequiredDeviceCapabilitiesPlist", ":BuildNumberInfoPlist", ":AppNameInfoPlist", ], provisioning_profile = select({ ":disableProvisioningProfilesSetting": None,
"//conditions:default": ":VPNTunnel",
)