Post

Replies

Boosts

Views

Activity

How can I run XCUITest on real devices with different versions of iOS?
I want to test my app on Firebase Labs, which has different devices running different versions of iOS. In order to do this I need to 'Build for Testing', targeting 'Any iOS Device (arm 64)'. This ends up creating an AppNameUITest-Runner.app to drive the UITest on the device. The problem is the driver app is built with the latest deployment target, while the test devices at Firebase Labs are all on older versions of iOS. So when I upload my package, the iOS 14.7 devices can't run the 15.2 driver app, and the tests fail. Is the any way I can fix or work around this?
0
0
875
Mar ’22
Create Partition for Mac OS Beta
The release notes for Mac OS 11 Beta 11 states that installing the beta in a volume will prevent future updates to other OS versions on that partition. With that in mind, I want to create a new partition, but I'm having problems. First of all, I tried Disk Utility, but it won't let me change the existing partition. In the partition screen, the '+' is disabled, and the screen says: "This container has 236 GB used space. Its minimum size is 449.96 GB. This container can't be split, because the resulting containers would be too small." So I looked into resizing the existing partition. In terminal, I entered: sudo diskutil apfs resizeContainer disk1 450g but it failed with the error message: Aligning shrink delta to 49,963,175,936 bytes and targeting a new physical store size of 449,999,998,976 bytes Determined the minimum size for the targeted physical store of this APFS Container to be 499,963,174,912 bytes Error: -69521: Your APFS Container resize request is below the APFS-system-imposed minimal container size (perhaps caused by APFS Snapshot usage by Time Machine) Does any know why this is failing, and how I can fix it?
1
0
1.4k
Jun ’20