Returns true if any target contains the iOS specific key IPHONEOS_DEPLOYMENT_TARGET.
(targets)
| 1903 | |
| 1904 | |
| 1905 | def _HasIOSTarget(targets): |
| 1906 | """Returns true if any target contains the iOS specific key |
| 1907 | IPHONEOS_DEPLOYMENT_TARGET.""" |
| 1908 | for target_dict in targets.values(): |
| 1909 | for config in target_dict["configurations"].values(): |
| 1910 | if config.get("xcode_settings", {}).get("IPHONEOS_DEPLOYMENT_TARGET"): |
| 1911 | return True |
| 1912 | return False |
| 1913 | |
| 1914 | |
| 1915 | def _AddIOSDeviceConfigurations(targets): |
no test coverage detected