Is it possible to upload a patch for an older app version?
This is the use case:
The latest app version on store is 2.0
App Version 1.9 supported all devices until iOS 12
App Version 2.0 supports devices with iOS >= 13
A critical bug was found that should be patched on all devices
No problem to patch devices with iOS >= 13 with a release 2.0.1
But is it somehow possible to additionally deliver a patch 1.9.1 für the older devices?
Post
Replies
Boosts
Views
Activity
Hi all
When running the following code on macOS Ventura, I get the error below:
(At least in a Catalyst app running on macOS.)
Code to reproduce:
NSString *message = @"1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20";
UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"My Alert" message:message preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* yesAction = [UIAlertAction actionWithTitle:@"Yes" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) {}];
[alert addAction:yesAction];
UIAlertAction* noAction = [UIAlertAction actionWithTitle:@"No" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) {}];
[alert addAction:noAction];
[self presentViewController:alert animated:YES completion:nil];
Error:
[Layout] Unable to simultaneously satisfy constraints:
(
"<NSLayoutConstraint:0x60000265caa0 _NSAlertContentView:0x7fc0600390a0.trailingMargin == NSTextField:0x7fc06003a900.trailing (active)>",
"<NSLayoutConstraint:0x60000265c9b0 _NSAlertImageView:0x7fc06003a460.leading == _NSAlertContentView:0x7fc0600390a0.leadingMargin (active)>",
"<NSLayoutConstraint:0x60000265ca50 H:[_NSAlertImageView:0x7fc06003a460]-(10)-[NSTextField:0x7fc06003a900] (active)>",
"<NSLayoutConstraint:0x60000265ca00 _NSAlertImageView:0x7fc06003a460.width == 64 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000265ca50 H:[_NSAlertImageView:0x7fc06003a460]-(10)-[NSTextField:0x7fc06003a900] (active)>
It looks like the error happens as soon as the message is displayed with scrollbar on older macOS versions.