All Questions
2,521 questions
-1
votes
1
answer
150
views
Why is iOS26 placing the detail view under the tableview in this splitview?
[![[3][After installing Xcode26 there is a new icon on the right side of the navigation controller in the storyboard that flows to the tableview right bar button. In the simulator it slides the ...
0
votes
0
answers
67
views
How can I hide all system library calls in Xcode 16 Instruments
Prior to Xcode 16, when I use Activity Monitor or Time Profiler, and select Hide System Libraries (and Invert Call Tree) under Call Tree, then I could see only calls from my app. In v16 though, with ...
1
vote
1
answer
97
views
How to reliably handle "Allow Paste" system alert in iOS UITests? (Alert sometimes blocks interaction)
I'm trying to stabilize a flaky UI test that deals with the "Allow Paste" system alert in iOS (see screenshot below).
Sometimes it works, sometimes the test hangs or fails. I'd appreciate ...
0
votes
1
answer
46
views
Fastlane Screenshots: Remove "iPhone disconnected" icon on watchOS
I'm using Fastlane to make promo screens on watchOS simulator. The problem is that Fastlane starts watchOS simulator alone, without the paired iPhone. So the screenshots have "iPhone disconnected&...
2
votes
1
answer
278
views
Using .Net 8 for iOS [NOT MAUI], add a LaunchScreen with logo image and background color
Goal:
Create a splash screen ("LaunchScreen") for a ".Net 8 for iOS" C# app (successor to "Xamarin Native / iOS").
The splash screen contains an image (a logo) scaled to ...
9
votes
0
answers
872
views
Failed to generate memory graph for pid 73918: failed to create a VMUTaskMemoryScanner, probably because the target's libmalloc hasn't been initialize
I'm trying to use Instruments (with Xcode 16.1) to analyze memory usage of my iOS app running on the simulator. However, when I try to attach Instruments to the app, I get the above error. I am not ...
1
vote
0
answers
32
views
Switching Storyboard-Based Contextual Menus for NSOutlineView Based on Selection
I like to build contextual menus in the storyboard, as opposed to doing it programmatically.
Typically, in an NSOutlineView, I want to display a particular context menu based on the current selection.
...
-1
votes
1
answer
71
views
UIButton setBackgroundImage doesn't work?! Swift UIKit
I have a UIButton in my UIViewController in my storyboard, and I'm trying to change it's background image, using transition animation:
extension UIButton {
func setBackgroundImageWithFade(_ image: ...
0
votes
0
answers
19
views
SwiftData - What are Data / Relationship Faults? [duplicate]
New to data persistence and I'm trying to improve the performance of an app that uses SwiftData. I profiled the app in Instruments, and I saw a lot of data / relationship faults.
What are they and how ...
-1
votes
1
answer
122
views
How to use storyboard instead of SwiftUI? [duplicate]
I created a new project and Xcode has me using SwiftUI. Can I change that to using storyboard? How can I set it to use storyboards instead of SwiftUI?
0
votes
0
answers
82
views
How can I transfer data between the application target and the UI test target?
I have an application that needs to be tested (UI). The application uses different feature configurations, and I'm looking for a convenient way to turn features on/off for proper testing. What are ...
-1
votes
1
answer
51
views
Snapshot testing for texture nodes - Swift
I am writing UI tests for a view that was implemented in textures. We are using swift-snapshot-testing module by pointfreeco. This is my first time writing tests as well.
The issue is that when I ...
1
vote
1
answer
129
views
Swift UI testing: simulating left/right swipe when a list item is clickable
I have an app where clicking on a row toggles state, and doing a left swipe performs a delete of the item.
My problem is that UI test calls like swipeRight() do not engage the swipe action. Rather, ...
0
votes
1
answer
91
views
Swift UI testing: staticTexts is not being updated when I go to a new view
I have a simple app with two views, a home page and a main page. I have a button on the home page that goes to the main page via logic like this:
.fullScreenCover(isPresented: $showingMain) {
...
2
votes
0
answers
310
views
XCode 15.4 keeps crashing when trying to "Record UI Tests"
I'm using Xcode Version 15.4 (15F31d) and when I click the Record UI Tests icon, as soon as it finishes building, Xcode crashes. I'm not 100% sure why this is happening, but I've seen multiple bug ...