You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
! do_build tvos //app:app|| fail "Should not build"
239
+
! do_build tvos //app:ipa_app|| fail "Should not build"
228
240
expect_log 'While processing target "@@\?//app:app"; the CFBundleIdentifier of the child target "@@\?//app:ext" should have "my.bundle.id." as its prefix, but found "my.extension.id".'
229
241
}
230
242
231
243
# Tests that if an application contains an extension with different
! do_build tvos //app:app|| fail "Should not build"
321
+
! do_build tvos //app:ipa_app|| fail "Should not build"
304
322
expect_log "While processing target \"@@\?//app:app\"; the CFBundleShortVersionString of the child target \"@@\?//app:ext\" should be the same as its parent's version string \"1.0\", but found \"1.1\"."
305
323
}
306
324
307
325
# Tests that if an application contains an extension with different
! do_build tvos //app:app|| fail "Should not build"
403
+
! do_build tvos //app:ipa_app|| fail "Should not build"
380
404
expect_log "While processing target \"@@\?//app:app\"; the CFBundleVersion of the child target \"@@\?//app:ext\" should be the same as its parent's version string \"1.0\", but found \"1.1\"."
381
405
}
382
406
383
407
# Tests that an extension with legacy_entry_point=True builds successfully.
# The fact that multiple things are tried is left as an impl detail and
328
334
# only the final message is looked for.
329
335
expect_log 'While processing target "@@\?//app:watch_ext", failed to extract from the provisioning profile "app/bogus.mobileprovision".'
@@ -373,7 +379,7 @@ EOF
373
379
}
374
380
EOF
375
381
376
-
! do_build watchos //app:app|| fail "Should not build"
382
+
! do_build watchos //app:ipa_app|| fail "Should not build"
377
383
expect_log 'While processing target "@@\?//app:app"; the CFBundleIdentifier of the child target "@@\?//app:watch_app" should have "my.bundle.id." as its prefix, but found "my.bundle2.id.watch-app".'
378
384
}
379
385
@@ -404,7 +410,7 @@ watchos_extension(
404
410
)
405
411
EOF
406
412
407
-
! do_build watchos //app:app|| fail "Should not build"
413
+
! do_build watchos //app:ipa_app|| fail "Should not build"
408
414
expect_log 'While processing target "@@\?//app:watch_app"; the CFBundleIdentifier of the child target "@@\?//app:watch_ext" should have "my.bundle.id.watch-app." as its prefix, but found "my.bundle2.id.watch-app.watch-ext".'
409
415
}
410
416
@@ -464,7 +470,7 @@ EOF
464
470
}
465
471
EOF
466
472
467
-
! do_build watchos //app:app|| fail "Should not build"
473
+
! do_build watchos //app:ipa_app|| fail "Should not build"
468
474
expect_log "While processing target \"@@\?//app:app\"; the CFBundleShortVersionString of the child target \"@@\?//app:watch_app\" should be the same as its parent's version string \"1\", but found \"1.1\"."
469
475
}
470
476
@@ -511,7 +517,7 @@ EOF
511
517
}
512
518
EOF
513
519
514
-
! do_build watchos //app:app|| fail "Should not build"
520
+
! do_build watchos //app:ipa_app|| fail "Should not build"
515
521
expect_log "While processing target \"@@\?//app:watch_app\"; the CFBundleShortVersionString of the child target \"@@\?//app:watch_ext\" should be the same as its parent's version string \"1\", but found \"1.1\"."
516
522
}
517
523
@@ -571,7 +577,7 @@ EOF
571
577
}
572
578
EOF
573
579
574
-
! do_build watchos //app:app|| fail "Should not build"
580
+
! do_build watchos //app:ipa_app|| fail "Should not build"
575
581
expect_log "While processing target \"@@\?//app:app\"; the CFBundleVersion of the child target \"@@\?//app:watch_app\" should be the same as its parent's version string \"1\", but found \"1.1\"."
576
582
}
577
583
@@ -618,7 +624,7 @@ EOF
618
624
}
619
625
EOF
620
626
621
-
! do_build watchos //app:app|| fail "Should not build"
627
+
! do_build watchos //app:ipa_app|| fail "Should not build"
622
628
expect_log "While processing target \"@@\?//app:watch_app\"; the CFBundleVersion of the child target \"@@\?//app:watch_ext\" should be the same as its parent's version string \"1\", but found \"1.1\"."
623
629
}
624
630
@@ -661,7 +667,7 @@ EOF
661
667
}
662
668
EOF
663
669
664
-
! do_build watchos //app:app|| fail "Should not build"
670
+
! do_build watchos //app:ipa_app|| fail "Should not build"
665
671
expect_log "While processing target \"@@\?//app:app\"; the Info.plist for child target \"@@\?//app:watch_app\" has the wrong value for \"WKCompanionAppBundleIdentifier\"; expected u\?'my.bundle.id', but found 'my.bundle2.id'."
666
672
}
667
673
@@ -708,7 +714,7 @@ EOF
708
714
}
709
715
EOF
710
716
711
-
! do_build watchos //app:app|| fail "Should not build"
717
+
! do_build watchos //app:ipa_app|| fail "Should not build"
712
718
expect_log "While processing target \"@@\?//app:watch_app\"; the Info.plist for child target \"@@\?//app:watch_ext\" has the wrong value for \"NSExtension:NSExtensionAttributes:WKAppBundleIdentifier\"; expected u\?'my.bundle.id.watch-app', but found 'my.bundle2.id.watch-app'."
0 commit comments