veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

233
active users

#xcode

4 posts4 participants0 posts today
Replied in thread

@danielsaidi

Thank you for posting. The solution identified in that forum thread worked for me: unpairing all devices, but still able to have all simulator platforms installed.

I guess that explains why we didn't have multiple reports from CIs hitting this bug - they generally only ever had simulators not devices connected.

Hopefully to be fixed in #Xcode 16.4

mastodon.social/@danielsaidi/1

MastodonDaniel Saidi (@danielsaidi@mastodon.social)I try to build an XCFramework from a Swift Package with no Xcode project as needed before. It crashes with "INTERNAL ERROR: Unable to load workspace" errors. I now found a thread that indicates that it's Xcode 16.3, which adds yet another SPM problem to the list. https://developer.apple.com/forums/thread/779744

Three things I’m hoping for in #Xcode 17:

1- reliably showing diamond buttons to run tests. They appear about 5% of the time for me and I know others have similar issues.

2- when navigating away from the test navigator and back again, the navigator should retain the previous view structure. For example, expansion or not of targets and grouped tests should retain the previous organisation.

3- a tool to clean / regenerate project files of the thousands of lines of cruft they can accumulate.

What happens when you select the Enable Priority Inversion Detection checkbox with the Hangs instrument in Instruments and there's a priority inversion problem during profiling?

I profiled an app with the checkbox selected and deselected and noticed no difference in the results. It's possible that I don't have a priority inversion problem. Searching online provides many explanations of priority inversion but nothing about the Hangs instrument option.

As always, the #developer documentation from #Apple for new features in the now almost one year old #macOS 15 is completely amazing, full of detail, hints, and usage recommendations.

/s

NOT!

Seriously, how does Apple expect us to write insanely great apps with that complete dummy of a documentation?

Anyhow, you add that new method to any custom NSView you have, so that invoking the contextual menu in macOS "Sequoia" with the keyboard, using the new hotkey Alt-Return, knows !where! in your view the current selection is being displayed, and the context menu thus shall appear.

Replied in thread

@danielsaidi
It's curious. This consistently affected my laptop (M2) and desktop (M1), so I assumed it was widespread, but there was little commentary. It did not affect my beta-testing old laptop (Intel). So I kept my CI server on macOS 15.3 & Xcode 16.2.

But now setting up a new laptop all worked perfectly. And a new user account on the main laptop also worked. So I bit the bullet and updated the CI (M4) and it was also unaffected.

I've tried clearing #SwiftPackageManager and #Xcode caches but no effect. Not sure if it could be third party software? There are a couple of posts on Developer Forums and I filed FB16928021 during the beta.

Have there been other blogs/comments?

Instruments tip: to keep Instruments in the Dock, take the following steps:

1. In Xcode choose Xcode > Launch Developer Tool > Instruments to launch Instruments.
2. Right-click on Instruments in the Dock and choose Options > Keep in Dock.

If you want to learn more about Instruments, I’m writing a book on Instruments that shows you how to interpret the data and find the code causing problems. Learn more about the book at the following link:

swift-dev-journal.kit.com/inst

swift-dev-journal.kit.com