@mattiem iOS development is frozen on time and everything smell Enterprise Decision.
I am so tired of it. Other languages and tools are much nicer and simple to live with.
@finestructure hmmmm ok so I have tried this years ago, but cannot recall. I just gave it a shot and am encountering this:
"xcodebuild: error: Failed to build workspace XYZ with scheme XYZ.: Cannot test target “XYZTests” on “Any iOS Device”: Tests must be run on a concrete device"
Perhaps this works only for builds but not for running tests?
@mattiem @finestructure I updated my ActionBuilderPlugin recently to pick a device at CI-runtime, as it was getting on my nerves. Especially annoying when baked into a CI script and then Xcode is updated and the old device no longer exists.
Not sure if I've actually pushed that code into a release yet, but it ends up generating this sort of thing:
Which is ugly, but works. Boiling all that down into something cleaner is on my to do list!
@samdeane @finestructure I have not tried it yet but I *think* that is basically what this is doing internally:
@mattiem @finestructure ah, cool!
I’ve been thinking that I should try to turn my plugin into an action as it makes a lot more sense in some ways.
@mattiem i found a fun similar scenario the other day when i launched 26.3 after having moved to 26.4: since i had deleted the highest available iOS SDK for 26.3, thinking that i no longer needed it, i could not build against any SDK, not even lower ones also supported by 26.3 (which was my objective anyway) — i had to download 26.3’s default SDK again before i could choose to build against the lower SDK that i still had.
now it’s just going to take up space on my machine until i’m confident i can delete Xcode 26.3