Search results for

xcode github

94,701 results found

Post

Replies

Boosts

Views

Activity

Is it possible for Xcode to display warnings from package dependencies?
I have quite a few in-door local packages that I do not really develop outside of the context of Xcode projects - meaning that I add local references to these libraries (and other content) to my Xcode project - and I update the libraries directly in Xcode within the project. I very rarely open up the library package on its own and work on it just like that. The unfortunate thing is that Xcode seems to be silencing warnings from all the packages during the build phase, resulting in me not seeing warnings from those libraries. I then need to open them separately in Xcode and review whether they contain any warnings and fix them. Using treat warnings as errors is, of course, one solution, but it doesn't help in cases where it's impossible to avoid them (e.g. https://github.com/swiftlang/swift/issues/86650) as there's no #pragma push; or in case of user-defined #warning which I often use to mark parts of code that need revisiting. I've gone through various settings, bu
0
0
74
2w
Confirmation Items Regarding the Mandatory UIScene Lifecycle Support in iOS 27
After reviewing the following Apple Technote, I have confirmed the statement below: https://developer.apple.com/documentation/technotes/tn3187-migrating-to-the-uikit-scene-based-life-cycle In the next major release following iOS 26, UIScene lifecycle will be required when building with the latest SDK; otherwise, your app won’t launch. While supporting multiple scenes is encouraged, only adoption of scene life-cycle is required. Based on the above, I would appreciate it if you could confirm the following points: Is my understanding correct that the term “latest SDK” refers to Xcode 27? Is it correct that an app built with the latest SDK (Xcode 27, assuming the above understanding is correct) will not launch without adopting the UIScene lifecycle, with no exceptions? Is it correct that an app built with Xcode 26 without UIScene lifecycle support will still launch without issues on an iPhone updated to iOS 27?
Topic: UI Frameworks SubTopic: General Tags:
2
0
213
2w
Reply to Local Network permission appears to be ignored after reboot, even though it was granted
Hello Quinn, Thank you for the response. I previously filed a feedback ticket and the app's and macOs .tar.gz and a System_Profile_full.spx. I believe the ticket was FB20989430. This was running 26.2 (25C56). I've had the issue on machines in the field running on 26.0, 26.1, and 26.2. That said, I have found that the bug doesn't reproduce on the 26.3 (a) beta build. I've put this on another mac mini and results so far are positive. I have been testing across three different programs to look for problems. These are the NetworkIssueTest app that I sent you the github project and compiled .app for, our internal software product, and Dan Nagle's Packet Sender (https://github.com/dannagle/PacketSender) I'll work on getting you github link to our internal software. I've been testing this by either creating a persistent netcat listening port ($ nc -l -k PORTNUM) on another mac with a fixed IP or by trying to reach a fixed IP device (usually an ethernet to serial converter or programmable logic cont
2w
Reply to Hardware Memory Tag (MIE) enforcement outside of debugger
So, I have three bits of good news: My boss got me an iPhone 17 so that I can test this properly. Thanks boss! It was a public holiday in the US yesterday, which allowed me to catch up a bit, so I had some time to play with MIE today. I figured out the sequence to get soft mode crash reports (-: Here’s what I did: Using Xcode 26.2 on macOS 26.2 [1], I created a new project from the iOS > App template, choosing Objective-C as the language. In the view controller, I added this code: - (IBAction)testAction:(id)sender { char * buf = malloc(32); buf[16] += 1; free(buf); buf[16] += 1; } I added a Test button and wired it up to that action. In Signing & Capabilities, I added the Enhanced Security capability and checked all the boxes (-: In the scheme editor, I enabled Diagnostics > Hardware Memory Tagging. I selected an iPhone 17 running iOS 26.2 as my run destination and chose Product > Run. On the device, I tapped the Test button. It trapped, with Xcode highlighting the second increm
Topic: Privacy & Security SubTopic: General Tags:
2w
Reply to Foundation Model Framework
I started seeing this after I updated my Mac (and XCode) to 26.2. To clarify, are you saying that I must use iOS version 26.2 with in Simulator if I am developing with Foundation Models now? I have been developing my app for iOS 26.0 and above and all of my calls to Foundation Models now give this error. I can't develop for 26.0 now? That doesn't seem right. That's correct, and here's why: The underlying problem is that Simulator doesn't actually have a copy of the model. When you make calls to the SystemLanguageModel, simulator is actually popping out to call the model on your Mac. ...But the model on your Mac is for 26.2. So unfortunately, you'll get these weird errors unless your Simulator and Mac are targeting matching versions.
2w
Reply to VPN profile corruption
I've since gone and uploaded yet another sysdiagnose where we seemingly see the same thing happens, this time, on every reinstall from Xcode. In this case, once the newly installed packet tunnel starts, all networking on the device is broken, and seemingly this reliably reproduces. However, it doesn't happen by default, usually after a day of not restarting the device and developing does this start happening again. I've barely had time to look at the sysdiagnose, but from the cursory look there's plenty of No route to host errors, which would explain why the packet tunnel is not able to connect. Why is there no route to host? Who knows. At the time of installation, the VPN profile of the app I'm developing is set to be used on-demand, and it is set to include all routes (0.0.0.0/0 and ::0/0). We are not using enforceRoutes or includeAllNetworks due to bugs. It seems that there is a discrepancy between the two packet tunnel instances (the old one and new one), and one of them is desperately trying to
2w
App crashes on click NEXT to next View
I am developing an app in Swift Playground (No Xcode). All my Views respond to the navigation call when I click NEXT except one. When I click NEXT the app hangs then crashes. The error message does not identify the cause of the crash. I have research every possible lead with no success. I would like to get some ideas on how to resolve this issue.
Topic: Design SubTopic: General Tags:
0
0
184
2w
Reply to Custom @Observable RandomAcccessCollection List/ForEach issues
I learned my lesson to not color outside the lines with pure SwiftUI. I've not tried it again since April, so maybe something changed with the Xcode releases since then, but I just export pure arrays from my view models instead of trying to be clever with custom collections. It would be cool if it were predictably extensible, but there's too much goddamn magic going on to waste time with it in my opinion.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
Create ML fails to train a text classifier using the BERT transfer learning algorithm
I'm trying to train a text classifier model in Create ML. The Create ML app/framework offers five algorithms. I can successfully train the model with all of the algorithms except the BERT transfer learning option. When I select this algorithm, Create ML simply stops the training process immediately after the initial feature extraction phase (with no reported error). What I've tried: I tried simplifying the dataset to just a few classes and short examples in case there was a problem with the data. I tried experimenting with the number of iterations and language/script options. I checked Console.app for logged errors and found the following for the Create ML app: error 10:38:28.385778+0000 Create ML Couldn't read event column - category is invalid. Format string is : error 10:38:30.902724+0000 Create ML Could not encode the entity . Error: I'm not sure if these errors are normal or indicative of a problem. I don't know what it means by the event column – I don't have an event column in my data and I don't bel
8
0
1.5k
2w
Reply to Apple watch Xcode pairing & connection issues
Same issues here. What (somewhat) worked for me was to enable the personal hotspot on the iPhone that the Watch is connected to. Then connect the Mac and the Watch to that hotspot. Do not connect the iPhone via USB to the Mac. Restart Xcode and maybe have a look into Window > Devices and Simulators. However, copying shared cache symbols from the Watch literally takes forever and is usually stuck at 0% or 1%. This is definitely NOT the developer experience you would expect from Apple.
2w