[tools]build IPA validation bundle identifier using the default "com.example" prefix (#116430)

* [tools]build IPA validation bundle identifier using default com.example

* rephrase the warning
This commit is contained in:
hellohuanlin
2022-12-02 12:49:30 -08:00
committed by GitHub
parent 22cbef3050
commit 162be5933b
5 changed files with 87 additions and 81 deletions

View File

@@ -53,6 +53,11 @@ Future<void> main() async {
if (!output.contains('Warning: Launch image is set to the default placeholder. Replace with unique launch images.')) {
throw TaskResult.failure('Must validate template launch image.');
}
// The project is still using com.example as bundle identifier prefix.
if (!output.contains('Warning: Your application still contains the default "com.example" bundle identifier.')) {
throw TaskResult.failure('Must validate the default bundle identifier prefix');
}
});
final String archivePath = path.join(