Simon Willison (@simonw)

새 Mac에서 SwiftUI 메뉴바 앱을 바이브 코딩해봤는데, Claude Opus 4.6과 GPT-5.4가 모두 Swift 프로그래밍을 꽤 잘 처리해 Xcode를 직접 열 필요도 없었다는 경험담이다.

https://x.com/simonw/status/2037636041386099172

#claude #gpt5 #swiftui #vibecoding #xcode

Simon Willison (@simonw) on X

I've been vibe coding SwiftUI menu bar apps for my new Mac, turns out Claude Opus 4.6 and GPT-5.4 are both competent at Swift programming, no need to even open Xcode! https://t.co/1Vi0rtlVh1

X (formerly Twitter)

I've also been working on a Python script to pin/reset data. I'll post it in a few days, but here's a few things I've learned so far:

To show the top level of your repo:
git rev-parse --show-toplevel

To get the bundle ID of your project from there:
xcodebuild -showBuildSettings
(Search for PRODUCT_BUNDLE_IDENTIFIER =)

To get the simulator's container:
xcrun simctl get_app_container booted BUNDLE_ID data

From that directory, look in Library/Application Support. #SwiftData #Xcode

And another thing about search! It has irritated me for years that dragging a file around in Xcode's project navigator doesn't work when a filter is active.

I mean, I understand why it doesn't work. Trying to figure out the actual destination with groups in use instead of folders when only some of the files showing is impossible – although maybe it could work if the destination is a folder? But what drives me nuts is it just silently fails, and I need to remember there's a filter. #macOS #Xcode

If you want to find the slow spots in your iOS or Mac app, the following article is for you:

https://swiftdevjournal.com/posts/cpu-profiler/

#Xcode

Find the Slow Spots in Your Code with the CPU Profiler Instrument · Swift Dev Journal

WHAT?! #xcode
Did you know that you can add scope Guides to your code in Xcode 26.4? I didn’t know that until today. #Xcode #Swift

Updated to #Xcode 26.4 and it dumped all of my existing tabs and open files. 😑

#Xcode26

#SwiftUI #Xcode testing and instrumentation oddity resolved. For reasons that are no longer relevant I was using Window instead of WindowGroup in the scene of a #macOS app. I change back to using WindowGroup and the “failed to open main window when running under instruments" issue went away. Also, the XCUITests that ran into a similar (same?) issue started working, too.
TIL that if you add a keyboard shortcut for ‘Close Window’ to #Xcode in System Preferences and map it to something like Cmd+Shift+W, it’ll override Cmd+W so that you can spam Cmd+W to close your open tabs, but it won’t then close the window at the end. SCORE!

#xcode 26.1.1 still seems to be able to compile apps to a iPhone on iOS 26.4!

Thank goodness for small miracles.