Search results for

xcode github

94,717 results found

Post

Replies

Boosts

Views

Activity

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
Reply to Is it safe to run Xcode from an external drive?
Is it safe and supported to move Xcode to an external hard drive (SSD), use it from there, and simply connect the drive whenever I need to work with Xcode? Yes. Absolutely. Are there known issues with performance, stability, or updates? Nope. Apps can run from any visible location. Are there components that must remain on the internal disk to avoid unexpected behavior? Nope. Xcode is self-contained. Is this a reasonable long-term setup, or just a temporary workaround? Neither. It can't possibly work. The Xcode app itself is quite small. Moving it will do absolutely nothing to solve any storage problems. The problem with Xcode is the Developer folder. On my computer that's 34 GB for Developer in my home folder. There's another one in Library that's 80 GB. And in the System Library folder, there's an iOS Runtime folder for another 211 GB. And this isn't even my primary development machine. This is my backup and test rig. You need a minimum 1 TB boot drive for Xcode
2w
Reply to M3 Max won't update past 15.4.1
Thanks - there's no profiles, I checked anyway but this is my own machine, and I wouldn't install anything that wanted to enable management like that. Disk Utility couldn't find anything wrong with the disk, so I'm in the middle of triggering a Time Machine backup before going for the nuclear option of reinstalling the OS. As it turns out, I could use the older Xcode (the one the App Store would let me download for 15.4.1) on the MBP to work with the project I'd been working on the Studio with, so no real problem this time around - still not really sure why the MBP OS is being stubborn though. Thanks again :)
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
Reply to Where is macOS server for Sequoia?
Thank you for the information. I understand better why I felt that stupid about not being able to find such a basic software, and wasting half an hour searching. Will this version of macOS server for Monterey permit to manage: bootpd, natpmpd, paquet filter. My core problem is to set correctly all the security settings around /usr/libexec/InternetSharing and paquet filter ( /etc/pf.anchors ). ( I am working on a firewall able to protect against DDOS with 0 impact. ) For the other services I will be able to manage them through usual open sources servers, just the cc inside Xcode + a few hours of basic work.
2w
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
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
SwiftUI Instruments Template doesn't work
I am profiling a simple SwiftUI test app on my new iPhone through my new MacBook Pro and everything is version 26.2 (iOS, macOS, Xcode). I run Instruments with the SwiftUI template using all of the default settings and get absolutely zero data after interacting with the app for about 20 seconds. Using the Time Profiler template yields trace data. Trying the SwiftUI template again with the sample Landmarks app has the same issue as my app.
2
0
145
2w
Icon looks broken on the App Store
Hi, I just had V1.0 of my app approved on the App Store and I immediately noticed that the icon preview is broken. It looks good in Xcode, on-device and also in the App Store link preview. The icon was built with Icon Composer. Here's the difference (left is App store): Has anyone encountered the same issue and found a solution?
1
0
537
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
PhotoKit Background Upload Extension not working on iOS 26.2 iPhone 17 Simulator
Hi, I’m trying to implement the new PhotoKit PHBackgroundResourceUploadExtension. I created the extension, enabled full photo library access in the host app, and registered the extension point using the string: com.apple.photos.background-upload. However, when I attempted to enable the extension with: try library.setUploadJobExtensionEnabled(true) I received the following error: Error Domain=PHPhotosErrorDomain Code=-1 (null) This happens when running the app on Xcode 26.1 and 26.2 Beta, using the iPhone 17 Pro Max simulator (iOS 26.1 and 26.2). My question is: Is this extension supported on the simulator? I’m asking because at the moment it’s difficult for me to test this on a physical device. Also, What's the meaning of the error? Thanks.
2
0
630
2w