targets
Add Xcode application target names, for example targets("iosApp").
The exact Xcode application targets whose build configurations may change.
This scopes the project.pbxproj app settings only. Project-level locales and the file-based plist, Podfile, and Swift work use their own paths.
Default: empty. An empty list can still select a sole application target when an enabled update needs one.
Throws
Gradle Exception
at task time when a named target is missing, or when the list is empty and the project holds more than one application target, which would make the choice a guess.