Search results for

xcode github

94,706 results found

Post

Replies

Boosts

Views

Activity

Reply to The Example App for Monitoring Location Changes Doesn't Work
Thanks for this post. And thanks for pointing to the sample and providing the detailed information. It sounds like you've done a thorough job setting up and testing the example app, which is a great start! The fact that you're only seeing Setup Monitor and no entry/exit events, despite moving 500m and granting permissions, indicates something isn't quite right with the region monitoring itself. It appears that your Xcode and iOS versions (26.1.1 and 26.1) do not correspond to the released versions. I recommend testing the same functionality with the latest versions of Xcode and iOS to determine if the results are consistent. Additionally, it is possible that the sample code was migrated to these versions, and I will investigate that matter accordingly. You are also talking to this API correct? https://developer.apple.com/documentation/corelocation/clmonitor-2r51v/circulargeographiccondition If the new versions still exhibit the same issues, we will need to ensure that the sample code is up t
2w
M3 Max won't update past 15.4.1
So I have an M3 Max MBP which I was planning on taking out to use while my son had his 4-hours-long archery class, but I've been using the Studio (running Tahoe) for development, and the version of Xcode running on there is too new for the version running on the MBP. So I try to update the MBP, but Settings thinks it's up to date: This is an M3 Max... so that seems ... unlikely. I've tried rebooting the thing, I've tried clicking any number of times on the 'check for updates' button, but no joy. Anyone got any pointers ?
2
0
151
2w
Failed to download iOS 26.2 (23C53) SDK + iOS 26.2 (23C54) Simulator (Components absent)
for detailed Download failed. Domain: DVTDownloadableErrorDomain Code: 41 User Info: { DVTErrorCreationDateKey = 2026-01-17 08:51:49 +0000; } Download failed. Domain: DVTDownloadableErrorDomain Code: 41 Failed fetching catalog for assetType (com.apple.MobileAsset.iOSSimulatorRuntime), serverParameters ({ RequestedBuild = 23C54; }) Domain: DVTDownloadsUtilitiesErrorDomain Code: -1 Download failed due to not being able to connect to the host. (Catalog download for com.apple.MobileAsset.iOSSimulatorRuntime) Domain: com.apple.MobileAssetError.Download Code: 60 User Info: { checkNetwork = 1; } System Information macOS Version 15.7.3 (Build 24G419) Xcode 26.2 (24553) (Build 17C52) Timestamp: 2026-01-17T16:51:49+08:00
0
0
79
2w
Reply to Unable to download iOS simulator runtime 26.x on Xcode
I am experiencing the same issue as are many others, therefore it's unlikely to be a local network or system issue. It looks more like an Apple network or CDN config issue. Download failed as the server said it was a bad request. (Asset download for com.apple.MobileAsset.iOSSimulatorRuntime e4478b4b9014ff28fe3c265daca488f55a284f4c) Downloading iOS 26.2 Simulator (23C54) (arm64): Error: Error Domain=DVTDownloadsUtilitiesErrorDomain Code=-1 Download failed as the server said it was a bad request. (Asset download for com.apple.MobileAsset.iOSSimulatorRuntime e4478b4b9014ff28fe3c265daca488f55a284f4c) UserInfo={NSUnderlyingError=0x6000014aa580 {Error Domain=com.apple.MobileAssetError.Download Code=40 Download failed as the server said it was a bad request. (Asset download for com.apple.MobileAsset.iOSSimulatorRuntime e4478b4b9014ff28fe3c265daca488f55a284f4c) UserInfo={NSLocalizedDescription=Download failed as the server said it was a bad request. (Asset download for com.apple.MobileAsset.iOSSimulatorRuntime e4478b
2w
Orphaned 9GB Simulator Runtime in /System/Library/AssetsV2 - Cannot Delete (SIP protected)
I have an orphaned asset folder taking up 9.13GB located at: /System/Library/AssetsV2/com_apple_MobileAsset_iOSSimulatorRuntime/c0d3fd05106683ba0b3680d4d1afec65f098d700.asset It contains SimulatorRuntimeAsset version 18.5 (Build 22F77). Active Version: My current Xcode setup is using version 26.2 (Build 23C54). I checked the plist files in the directory and found what seems to be the cause of the issue: The Never Collected Flag: The Info.plist inside the orphaned asset folder explicitly sets the garbage collection behavior to NeverCollected: __AssetDefaultGarbageCollectionBehavior NeverCollected The Catalog Mismatch: The master catalog file (com_apple_MobileAsset_iOSSimulatorRuntime.xml) in the parent directory only lists the new version (26.2). Because the old version (18.5) is missing from this XML, Xcode and mobileassetd seem to have lost track of it entirely. What I Have Tried (All Failed) Xcode Components: The version 18.5 does not appear in Settings -> Components, so I cann
5
0
398
2w
The Example App for Monitoring Location Changes Doesn't Work
Downloaded example app from here Xcode version: Version 26.1.1 (17B100) Simulator iOS Version: 26.1 & 18.5 Set custom location in the simulator to the center of the condition being monitored in the example. The only log entry was Setup Monitor. Tried a custom gpx starting at the same point and moving 500m away. Same logs. Didn't change any of the source code, granted always permissions, allowed notifications, tapped AddCircularGeographicCondition. Let me know if there is something I am missing or more information I can provide.
3
0
127
2w
SwiftUI .task does not update its references on view update
I have this sample code import SwiftUI struct ContentView: View { var body: some View { ParentView() } } struct ParentView: View { @State var id = 0 var body: some View { VStack { Button { id+=1 } label: { Text(update id by 1) } TestView(id: id) } } } struct TestView: View { var sequence = DoubleGenerator() let id: Int var body: some View { VStack { Button { sequence.next() } label: { Text(print next number).background(content: { Color.green }) } Text(current id is (id)) }.task { for await number in sequence.stream { print(next number is (number)) } } } } final class DoubleGenerator { private var current = 1 private let continuation: AsyncStream.Continuation let stream: AsyncStream init() { var cont: AsyncStream.Continuation! self.stream = AsyncStream { cont = $0 } self.continuation = cont } func next() { guard current >= 0 else { continuation.finish() return } continuation.yield(current) current &*= 2 } } the print statement is only ever executed if I don't click on the update id by 1 button. If i cli
1
0
171
2w
Reply to Signing succeeds but validate fails with "Missing code-signing certificate"
In a code signature, the certificates act as a chain of trust [1]. The first certificate is the leaf, the next is the one that issued the leaf, and so on until you get to a root. Ah I see, did not realize this before but it makes perfect sense, thank you. ...the next thing to check is whether this is the right type of profile. Turns out it is not a distribution profile and this was the problem all along. The error message Missing code-signing certificate was a red-herring this whole time. What is interesting is that it appears that it used to work even though it shouldn't have, by virtue of the fact that these app builds are present in Testflight and the profile it was using dates from before those builds. Alas am unable to confirm that for certain as CI history is too shallow and we no longer have a copy of the app bundle to verify. At some point altool has stopped returning non-zero exit codes on failure so CI has been blind to the failures for some months now (probably since Xcode 26 I'm guessing)
2w
Reply to Issue with SwiftPM and multiple targets
OK, so I managed to create a minimal example: https://github.com/charlieMonroe/MultipleCommandsExample There is an Xcode project MultipleCommandsExampleApp which has multiple dependencies and mainly a package MyTools that defines to executables - HelperTool and AdditionalHelperTool which also have multiple dependencies.
2w
Reply to certificates expired, created new certificates and missing Mac App Distribution
Output from my shell script that produces the application and the package installer: /Applications/com.gsequencer.GSequencer.app/Contents/MacOS/com.gsequencer.GSequencer.AudioUnitTest: replacing existing signature /Applications/com.gsequencer.GSequencer.app/Contents/MacOS/com.gsequencer.GSequencer.AudioUnitTest: signed Mach-O universal (x86_64 arm64) [com.gsequencer.GSequencer.AudioUnitTest] /Applications/com.gsequencer.GSequencer.app/Contents/MacOS/com.gsequencer.GSequencer: replacing existing signature /Applications/com.gsequencer.GSequencer.app/Contents/MacOS/com.gsequencer.GSequencer: signed app bundle with Mach-O universal (x86_64 arm64) [com.gsequencer.GSequencer] /Applications/com.gsequencer.GSequencer.app: replacing existing signature /Applications/com.gsequencer.GSequencer.app: signed app bundle with Mach-O universal (x86_64 arm64) [com.gsequencer.GSequencer] productbuild: Adding component at /Applications/com.gsequencer.GSequencer.app productbuild: Signing product with identity 3rd Party Mac Develop
2w
Reply to HELP WITH SUBSCRIPTIONS
@lionelng suggestion is spot on! I haven’t use subscription codes forever, however this usually points to an issue with how the products are set up in App Store Connect, or how they are being requested in your code. Go through Section 1 above meticulously. The Product ID exact match, Ready to Submit status, and complete metadata (localization, screenshot) are the most likely the issue? If you just created the IAPs, it can sometimes take a few hours for them to propagate through Apple's system. Do you have a test harness to request them? I believe, given your products not found error in Xcode, the problem is almost certainly in Section 1 (App Store Connect configuration) or Section 2 (Product IDs in code). The loading forever in production is a symptom of the app not being able to fetch the product details from the subscription? Provide here for other developer to help the response.invalidProductIdentifiers shows when you debug, and what the status of your IAPs is in App Store Connect. That will narro
Topic: App & System Services SubTopic: StoreKit Tags:
2w