Hello,
I'm trying to change the destination of a test action in a xcode cloud workflow.
For some reason, after I choose a specific device and save, I see that it went back to the defaults: Recommended iPhones.
Did anyone have the same problem? I found that I can set the destination through the portal, but also there it sometimes changes back.
Any ideas?
In the attached screenshot: This is what I do, I press save and it goes back to the defaults.
Post
Replies
Boosts
Views
Activity
I run my tests on xcode cloud and I want to change different configurations when the tests run on the cloud as opposed to when the run locally. I thought environmental variables should be the way, but I'm not sure how to access them. I tried:
ProcessInfo.processInfo.environment["CI"]
But didn't get any result. Any ideas how can it be done?
In my xcode cloud workflow I run UI tests that check the way things are rendered. In some cases, visual effects like blur (see this for example. The UI test produces a screenshot, see in the text results) I see that xcode cloud doesn't render at all (results attached). It seems like xcode cloud doesn't run with GPU by default. Is there a way to see beautiful visual effects like translucent navigation and toolbars, blur effects and vibrancy in UI tests screenshots?
Attached the rendered results (actual first, expected below).
Hi,
I'm writing a code with a UIPickerView that has 3 components. I want each component to have a different row height. Obviously I tried to use pickerView(_:rowHeightForComponent:), but it turns out that rowHeightForComponent sometimes equals to the number of components, i.e. in my case is sometimes equals 3. So I actually get a component index that is not valid. Did anyone have the same problem? Is it a known bug?
This is the code of the method:
func pickerView(_ pickerView: UIPickerView, rowHeightForComponent component: Int) -> CGFloat {
componentsRowHeight[component]
}
Because I have 3 components, which are held in an array, the valid indices are 0, 1, 2. But the delegate function is sometimes called with 3.