Source:
<code>public void init(Config config) { super.init(config); if (config.getArch() == null) { arch = Arch.thumbv7; } else { if (!isSimulatorArch(config.getArch()) && !isDeviceArch(config.getArch())) { throw new IllegalArgumentException("Arch '" + config.getArch() + "' is unsupported for iOS target"); } arch = config.getArch(); } if (isDeviceArch(arch)) { if (!config.isIosSkipSigning()) { signIdentity = config.getIosSignIdentity(); if (signIdentity == null) { signIdentity = SigningIdentity.find(SigningIdentity.list(), "/(?i)iPhone Developer|iOS Development/"); } } } if (config.getIosInfoPList() != null) { config.getIosInfoPList().parse(config.getProperties()); } if (isDeviceArch(arch)) { if (!config.isIosSkipSigning()) { provisioningProfile = config.getIosProvisioningProfile(); if (provisioningProfile == null) { <START> String bundleId = config.getIosInfoPList().getBundleIdentifier(); <END> if (bundleId == null) { bundleId = "*"; } provisioningProfile = ProvisioningProfile.find(ProvisioningProfile.list(), signIdentity, bundleId); } } } String sdkVersion = config.getIosSdkVersion(); List<SDK> sdks = getSDKs(); if (sdkVersion == null) { if (sdks.isEmpty()) { throw new IllegalArgumentException("No " + (isDeviceArch(arch) ? "device" : "simulator") + " SDKs installed"); } Collections.sort(sdks); this.sdk = sdks.get(sdks.size() - 1); } else { for (SDK sdk : sdks) { if (sdk.getVersion().equals(sdkVersion)) { this.sdk = sdk; break; } } if (sdk == null) { throw new IllegalArgumentException("No SDK found matching version string " + sdkVersion); } } entitlementsPList = config.getIosEntitlementsPList(); }</code><technical_language>this check if config.getIosInfoPList() != null</technical_language>

Target:
public void init(Config config) { super.init(config); if (config.getArch() == null) { arch = Arch.thumbv7; } else { if (!isSimulatorArch(config.getArch()) && !isDeviceArch(config.getArch())) { throw new IllegalArgumentException("Arch '" + config.getArch() + "' is unsupported for iOS target"); } arch = config.getArch(); } if (isDeviceArch(arch)) { if (!config.isIosSkipSigning()) { signIdentity = config.getIosSignIdentity(); if (signIdentity == null) { signIdentity = SigningIdentity.find(SigningIdentity.list(), "/(?i)iPhone Developer|iOS Development/"); } } } if (config.getIosInfoPList() != null) { config.getIosInfoPList().parse(config.getProperties()); } if (isDeviceArch(arch)) { if (!config.isIosSkipSigning()) { provisioningProfile = config.getIosProvisioningProfile(); if (provisioningProfile == null) { String bundleId = "*"; if (config.getIosInfoPList() != null && config.getIosInfoPList().getBundleIdentifier() != null) { bundleId = config.getIosInfoPList().getBundleIdentifier(); } provisioningProfile = ProvisioningProfile.find(ProvisioningProfile.list(), signIdentity, bundleId); } } } String sdkVersion = config.getIosSdkVersion(); List<SDK> sdks = getSDKs(); if (sdkVersion == null) { if (sdks.isEmpty()) { throw new IllegalArgumentException("No " + (isDeviceArch(arch) ? "device" : "simulator") + " SDKs installed"); } Collections.sort(sdks); this.sdk = sdks.get(sdks.size() - 1); } else { for (SDK sdk : sdks) { if (sdk.getVersion().equals(sdkVersion)) { this.sdk = sdk; break; } } if (sdk == null) { throw new IllegalArgumentException("No SDK found matching version string " + sdkVersion); } } entitlementsPList = config.getIosEntitlementsPList(); }