#xCode

Chris Wu :cwy:MuseumShuffle
2025-07-15

I love that Xcode26 can now generate symbols for manually added strings.

I tried for the first time creating a function that returns one of them and got confused why it wasn't compiling.

I didn't notice that it generates a LocalizedStringResource and I was trying to return a String.

func getChartA11y(
    humidity: Double,
    dewPoint: Measurement<UnitTemperature>?
) -> LocalizedStringResource {
    if let dewPoint {
        return .humidityAndDpVo(
            humidity: humidity.pdrPercentage,
            dewPoint: destroyNegativeZeroTemp(
                temp: dewPoint,
                formatter: tempFormatter,
                unit: unitToUse
            )
        )
    } else {
        return .humidityVo(
            value: humidity.pdrPercentage
        )
    }
}
Christian Tietzectietze
2025-07-15

Ugh.

Restarting again fixed it.

Keith Harrison :clubtwit:kharrison@twit.social
2025-07-14

I'm assuming the new Observations API did not yet make it into Xcode 26 beta3? The release notes suggest the issue with it not being available is fixed? #Xcode #iOSDev

Michael Critzpixelscience
2025-07-13

🤖 AI recommended using `reduce()` on an AsyncThrowingStream.

I don’t recommend that.

Because it looks terse it might feel fast and efficient, but the idiomatic `for try await value in sequence` is better in every way.

Swift code.

Comment: Handling a stream of data in Swift
Code: 
let liveActivites: AsyncThrowingStream<[String : String], any Error> = getLive()

Comment: This is bad. Syntax overload. Does it await until the entire stream is complete?
Code: 
self?.liveData = try await liveActivites.reduce(into: [:]) {
	$0.merge($1) { _, new in new }
}

Comment: This is better. Code is for people. Feels like values get handled as soon as they arrive.

Code:
for try await liveActivity in liveActivites {
    self?.liveData.merge(liveActivity) { _, new in new }
}
Brian Gerfort🇺🇦:shuttersnitch:2ndNatureDev@mastodon.nu
2025-07-13

SpeechTranscriber.supportedLocales returns 30 supported locales on my iPad mini running iPadOS 26b3, but on macOS Tahoe b3 I'm getting nothing? Is there a secret to getting this going? macOS is running in a VM - could that be it? I see no mention of Apple Intelligence in the settings.. (if that's related?) Hm. #Xcode #macOS26 #macOSBeta
Edit: Seems to only work on actual hardware.

Marcel Dierkes💡newmarcel@mastodon.online
2025-07-13

And this concludes my weekend of AppKit. Next week I will look into replacing a settings window with SwiftUI. Ideally it shouldn’t look like System Settings in the end.

#macos #appkit #xcode

Marcel Dierkes💡newmarcel@mastodon.online
2025-07-13

Did the app notarization service take the weekend off? Usually it takes just a few minutes and now I'm waiting for 30min and counting…

#macos #xcode

Adolfofitomad
2025-07-11

Style Transfer project is not supported in Xcode 26 beta 3.

The release notes don't specify whether this is exclusive to the beta phase or if the project has been entirely discontinued.

Adolfofitomad
2025-07-11

Encountering test execution errors in a Swift Package? It might compile but fail during tests.

If command line tests work but not in Xcode, check the Xcode run destination; your package might not be compatible with a certain platform.😜

2025-07-11

Catch us next Monday for insights into the team's progress during our second cycle of the year and a sneak peek at upcoming plans: lu.ma/ir9fkci4
#Swift #Xcode #iOSDev

🇨🇦 Stevetewha@appdot.net
2025-07-11

Can Xcode automatically adding files to git be turned off?

I would prefer to do *all* commit staging by hand. #iosDev #Xcode

Edit: There seems to be a toggle for this in Xcode 26 beta 3. Not sure if it works yet, will have to see.

Claude Code、なんもわからんのでAI縛りでiOSアプリを開発してみた
dev.classmethod.jp/articles/cl

#dev_classmethod #iOS #Xcode #AI #Claude_Code

2025-07-10

Catch us next Monday for insights into the team's progress during our second cycle of the year and a sneak peek at upcoming plans: lu.ma/ir9fkci4
#Swift #Xcode #iOSDev

Gizchina.com | Tech news, reviews, how to's, guides and moregizchina.com@web.brid.gy
2025-07-09
2025-07-10

Anyone have issues uploading builds to testflight when building with Xcode 26? Im getting validation errors surrounding icons. Ive tried removing my new icon composer file and falling back to the Asset catalog but the app store validation fails, requesting an icon for the iPod touch...
#swift #buildinpublic #xcode

Apple NewsroomApple_newsroom
2025-07-09

📢 New Releases at Tue, 08 Jul 2025 10:00:00 PDT:
- Xcode 26 beta 3 (17A5276g): developer.apple.com/news/relea
- TestFlight Update: developer.apple.com/news/relea
- Icon Composer beta 3: developer.apple.com/news/relea

dxzdbdxzdb
2025-07-09

Wow - this looks great! And there’s an app to help on Gumroad.

mastodon.social/@armengrewal/1

Adolfofitomad
2025-07-09

Xcode 26 Beta 3 is available

Take a look to the Release Notes to know what happened in this new beta release.

developer.apple.com/documentat

2025-07-09

Good Morning!

#crashfest #bugOS #crApp

And how is your day? 😂

#Xcode is more than its usual crashy, I guess I need to do something else today.

How I wish that #Apple would finally start to fix the bugs, that would be something.

How I wish I could pay a vendor real money for a stable, well documented, and reliable development platform instead of this embarrassing bugfest.

dxzdbdxzdb
2025-07-09

@atpfm My really rough comparison of spooling up a new simulator and completing a small build:

~37 sec M4 iMac 32GB 6+4 cores
~74 sec M1 iMac 16GB 4+4 cores

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst