Post

Replies

Boosts

Views

Activity

XCUITest Screen Recording
In WWDC23: Fix failures faster with Xcode test reports, the presenter showed off an Xcode feature called Automation Explorer, that allows playback of a screen recording corresponding to an XCUITest. For the life of me, I have not been able to find out how to enable/use this feature in Xcode 16. I am using Test Plans and have set the UI Testing configuration settings for Automatic Screen Capture to On, and keep all and Preferred Capture Format to Video, but am not seeing any screen recordings being produced after running the tests. Am I doing something wrong?
1
0
121
4d
ControlWidget with Image from file URL
Hi all, it seems that the new Controls API introduced at WWDC 2024 does not support custom images stored on disk? I’m trying to create a configurable ControlWidget whose icon will change based on the user’s selection, but it only seems to be able to render system images and image assets. I store the necessary image files to disk on the first launch. I checked that the files are indeed saved correctly, as my Home Screen widgets are able to fetch and display the images. Has anyone tried out the new APIs and is able to confirm/deny what I’ve experienced?
0
0
213
Aug ’24
XCode 16 Explicitly Built Modules Not Affecting SPM Package
Hi all, XCode 16 introduced a new build system that seeks to improve build times and reliability. Following the WWDC 24 talk “Demystify Explicitly Built Modules”, I installed XCode 16 Beta 1 and opted in to the new build system for my project by enabling the Explicitly Built Modules build setting for all targets (just to be sure). However, when inspecting the build logs, it seems that the new system is not taking effect as, for example, there are no Scanning Dependency tasks. I have already tried cleaning the build folder and derived data, restarting XCode, and restarting my computer. For reference, my app’s code is wrapped in an SPM package, very similar to the set-up used in the isowords project. I was expecting that the new build system would explicitly build the modules within the package. Could anyone clarify if what I’m observing is the expected behaviour, i.e the new build system does not apply to modules in an SPM package? Otherwise, are there any steps I can take to get the new build system to take effect? Thank you!
1
4
490
Jun ’24