Search results for

xcode github

94,702 results found

Post

Replies

Boosts

Views

Activity

Reply to Xcode 26.2 fails building Flutter iOS app – xcode_backend.dart null exception
Thanks for the post. And thank you for providing such a detailed description of your issue, including the exact error message and your environment setup. This is very helpful. Looking at the error and doing some quick research. Please note I do not know anything about Flutter. Unhandled exception: Null check operator used on a null value #0 Context._embedNativeAssets (file:///opt/homebrew/share/flutter/packages/flutter_tools/bin/xcode_backend.dart:341) Command PhaseScriptExecution failed with a nonzero exit code. seems to indicates a problem within Flutter's build script (xcode_backend.dart) when it tries to embed native assets? This type of error often arises when Flutter expects a certain value or environment variable to be present during the Xcode build phase, but it's either missing or null, possibly due to a change in Xcode's build environment or a cached state? You should check with the support resources provided by the 3rd party to get assistance with their software. Unless another de
2w
Xcode 26.2 fails building Flutter iOS app – xcode_backend.dart null exception
Hello, after updating macOS to 26.2 and Xcode to 26.2 (Build 17C52), I am unable to build a Flutter iOS application for the simulator. Environment: macOS 26.2 (darwin-arm64) Xcode 26.2 (17C52) Flutter 3.38.7 (stable) Dart 3.10.7 CocoaPods 1.16.2 Target device: iPhone 16e Simulator (iOS 26.x) Issue: The build fails during the Flutter Xcode build phase with this error: Unhandled exception: Null check operator used on a null value #0 Context._embedNativeAssets (file:///opt/homebrew/share/flutter/packages/flutter_tools/bin/xcode_backend.dart:341) Command PhaseScriptExecution failed with a nonzero exit code. Additional info: Runner target uses Pods-Runner.debug/profile/release.xcconfig correctly SUPPORTED_PLATFORMS = iphoneos iphonesimulator SDKROOT resolves to iPhoneOS26.2.sdk even when building for simulator Build Settings and Run Script phases are default Flutter-generated Issue occurs both via flutter run and directly from Xcode Project worked before macOS/
1
0
54
2w
Reply to Incorrect packet handling in SMBClient MacOS 26.
[quote='872797022, mfh, /thread/809174?answerId=872797022#872797022, /profile/mfh'] We’re no longer seeing the “rpc struct is bad” errors [/quote] OK, that sounds like progress (-: [quote='872797022, mfh, /thread/809174?answerId=872797022#872797022, /profile/mfh'] we’re still able to consistently deadlock the SMBClient [/quote] Bummer )-: I recommend that you file a new bug about that. Make sure to reference FB21249476, confirm that you tested on Xcode 26.3b2 (25D5101c), and that you continue to see problems. Also, attach a sysdiagnose of the problem in action on 26.3b2. Please post your new bug number as well. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to Is it safe to run Xcode from an external drive?
It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits. I can’t move the Developer folder to an external SSD, right? I don’t think you can move the whole thing, but you can move bits via Xcode > Settings > Locations. Oh, one last thing. If you do put Xcode, or any Mac app, an an external drive, it’s a good idea to use a native volume format, so APFS or HFS Plus. While other volume formats, like FAT32, should work, I’ve definitely seen folks bump into problems doing that. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2w
How to make a binary XCFramework self-contained with embedded resource bundles
I’m building an iOS SDK that is distributed as a binary XCFramework and consumed via Swift Package Manager using a binaryTarget. What I’ve done so far: Built the SDK using xcodebuild archive for device and simulator Created the XCFramework using xcodebuild -create-xcframework The SDK contains a resource bundle with JSON/config files The XCFramework is wrapped using SPM (code-only wrapper target) Currently, the resource bundle exists outside the XCFramework, and the host app needs to add it manually during integration. I want to avoid this and make the SDK completely self-contained. What I’m trying to achieve: Embed the resource bundle inside the SDK framework so that each XCFramework slice contains it Ensure the SDK can load its assets internally at runtime without any host app changes Questions: What is the correct way to embed a .bundle inside a framework so it gets packaged into each XCFramework slice during archiving? Which Xcode build phases or build settings are required for this (e.g., Copy Bu
0
0
70
2w
Inconsistent Symbol Linking Behavior for UTType from UniformTypeIdentifiers Framework
In our app, we implement a document picker using FilePickerManager+available.m, selecting different APIs based on the iOS version: if (@available(iOS 14.0, *)) { NSMutableArray *contentTypes = [NSMutableArray array]; for (NSString *uti in documentTypes) { UTType *type = [UTType typeWithIdentifier:uti]; if (type) { [contentTypes addObject:type]; NSLog(@iOS 14+ Adding type: %@, uti); } else { NSLog(@Warning: Unable to create UTI: %@, uti); } } UIDocumentPickerViewController *documentPicker = [[UIDocumentPickerViewController alloc] initForOpeningContentTypes:contentTypes]; documentPicker.delegate = self; documentPicker.allowsMultipleSelection = NO; [self.presentingViewController presentViewController:documentPicker animated:YES completion:nil]; } However, we've observed inconsistent symbol reference types to UTType in the final linked binaries: One build results in a strong reference to UTType. Another demo project (with seemingly identical code and build settings) results in a weak reference. Both obje
1
0
100
2w
Inconsistent Symbol Linking Behavior for UTType from UniformTypeIdentifiers Framework
In our app, we implement a document picker using FilePickerManager+available.m, selecting different APIs based on the iOS version: if (@available(iOS 14.0, *)) { NSMutableArray *contentTypes = [NSMutableArray array]; for (NSString *uti in documentTypes) { UTType *type = [UTType typeWithIdentifier:uti]; if (type) { [contentTypes addObject:type]; NSLog(@iOS 14+ Adding type: %@, uti); } else { NSLog(@Warning: Unable to create UTI: %@, uti); } } UIDocumentPickerViewController *documentPicker = [[UIDocumentPickerViewController alloc] initForOpeningContentTypes:contentTypes]; documentPicker.delegate = self; documentPicker.allowsMultipleSelection = NO; [self.presentingViewController presentViewController:documentPicker animated:YES completion:nil]; } However, we've observed inconsistent symbol reference types to UTType in the final linked binaries: One build results in a strong reference to UTType. Another demo project (with seemingly identical code and build settings) results in a weak reference. Both obje
1
0
80
2w
Reply to DNS Proxy system extension – OSSystemExtensionErrorDomain error 9 “validationFailed” on clean macOS machine
I updated the App ID for the DNS Proxy system extension and noticed that Developer Portal only exposes the legacy dns-proxy value under Network Extensions. There is no option for dns-proxy-systemextension. My extension’s entitlements currently contain: xml com.apple.developer.networking.networkextension dns-proxy-systemextension When I create a Mac App Development provisioning profile for this App ID and try to use it for signing the system extension target, Xcode fails with: Provisioning profile Dev-Mac-App-DNSProxy doesn't match the entitlements file's value for the com.apple.developer.networking.networkextension entitlement. So at this point the entitlements and the Developer Portal capabilities cannot be made to match: the profile only knows about dns-proxy, while my extension needs dns-proxy-systemextension. Is dns-proxy-systemextension the correct entitlement value for a DNS Proxy packaged as a system extension today, and if so, how should this be represented/configured in the Developer Portal
2w
90725: SDK version issue - iOS SDK 26 support
Hi guys, I need some help with an issue. When I submit my testing app to TestFlight, it gets uploaded successfully, but I'm not able to download it from TestFlight. I'm getting this error: SDK version issue: This app was built with the iOS 18.2 SDK. Starting April 2026, all iOS and iPadOS apps must be built with the iOS 26 SDK or later, included in Xcode 26 or later, in order to be uploaded to App Store Connect or submitted for distribution. It’s obvious that we all need to update to the iOS 26 SDK before April 2026, but my question is: Why is TestFlight already blocking builds 3 months before the actual enforcement date? Is anyone else facing this issue, and is there any known resolution or workaround? Your help or suggestions would be appreciated.
1
0
201
2w
macos 26 - socket() syscall causes ENOBUFS "No buffer space available" error
As part of the OpenJDK testing we run several regression tests, including for Java SE networking APIs. These APIs ultimately end up calling BSD socket functions. On macos, starting macos 26, including on recent 26.2 version, we have started seeing some unexplained but consistent exception from one of these BSD socket APIs. We receive a ENOBUFS errno (No buffer space available) when trying to construct a socket(). These exact same tests continue to pass on many other older versions of macos (including 15.7.x). After looking into this more, we have been able to narrow this down to a very trivial C code which is as follows (also attached): #include #include #include #include #include static int create_socket(const int attempt_number) { const int fd = socket(AF_INET6, SOCK_STREAM, 0); if (fd < 0) { fprintf(stderr, socket creation failed on attempt %d, due to: %sn, attempt_number, strerror(errno)); return fd; } return fd; } int main() { const unsigned int num_times = 250000; for (unsigne
4
0
169
2w
Reply to iOS 26 - Identify network switch
What I’ve Done: Previously, I registered the application as a HotspotHelper using NEHotspotHelper.register(options:queue:handler:). 
In the Hotspot Helper app’s command handler block, I identified the relevant network via the NEHotspotHelperCommand and used the didJustJoin API to determine if the network was joined. For migrating this to Xcode 26 , I added a NEHotspotEvaluationProvider extension. I implemented the handleCommand method which receives NEHotspotHelperCmmand parameter. Similarly, I added code to identify the network via the NEHotspotHelperCommand and used didJustJoin to check whether the network was joined. The Issue: While running on Xcode 26/iOS 18, the handleCommand method in my NEHotspotEvaluationProvider extension is not being triggered when switching between networks. I suspect this might be due to incomplete or incorrect configuration for NEHotspotManager in the main app, or missing setup steps for the new extension. My Question: What exact configuration steps are require
2w
Reply to Regarding the deadline for adopting the UIScene life cycle
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: UIKit Tags:
2w
Reply to Git Integration needs serious work.
What's the Repository Up Arrow? I don't see any arrows. The closest thing I can find suggests it may be part of GitHub Desktop, which I don't use. .gitignore is part of git. You'll have to take that up with Linus. However, this is a good use of AI. Forget vibe coding, use AI to explain how to do things in Git. This is probably causing your issue #1. You probably have some IDE data files managed by Git. You don't want that. Try this for a .gitignore file: .DS_Store xcschememanagement.plist **/xcuserdata/ **/xcshareddata/ That's another Git issue. Use Fetch Changes to do things like detect new branched added elsewhere. I forget what Refresh is good for. I have used a couple of times, but only a couple of times. It sounds like most of your complaints are just about Git. Source control system were much easier and straightforward 20 years ago.
2w
Reply to Project xcodeproj file can no longer by iCloud Sync
Update : in fact all files which are packages can no longer be synched with iCloud Drive since the upgrade to macOS 26.2 : local package files are never sent to iCloud, and iCloud package files are never downloaded to the Mac drive. The xcodeproj files are packages files, but also realitycomposerpro, pages, number or bundle files are packages. A new Feedback was created as it is not only Xcode related: FB21663069
2w