Search results for

xcode github

94,710 results found

Post

Replies

Boosts

Views

Activity

Reply to DNS Proxy system extension – OSSystemExtensionErrorDomain error 9 “validationFailed” on clean macOS machine
[quote='872931022, Leo_Nagano, /thread/812857?answerId=872931022#872931022, /profile/Leo_Nagano'] this is actually the first time I’m bringing up this NE system extension. [/quote] In that case I recommend that you switch to using Apple Development signing. Using Developer ID for day-to-day development is a bad idea in general, as I explained in that other post, but it causes significant grief in the case of NE system extensions: If you’re using Xcode, you run into the entitlement suffix issue you’ve noticed. For more on that, see Exporting a Developer ID Network Extension. The system requires that Developer ID-signed system extensions be notarised, so you have to notarise your app before each test O-: ps 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. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2w
Asset validation failed Missing Info.plist value. A value for the Info.plist key 'CFBundleIconName' is missing
please help. i've tired every solution i can find online, and believe they may be outdated in most recent version of Xcode: https://forums.developer.apple.com/forums/thread/92638 https://stackoverflow.com/questions/46216718/missing-cfbundleiconname-in-xcode9-ios11-app-release Here is the error when distributing the build to testflight -> Asset validation failed Missing Info.plist value. A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'lucaspfeiffer.sun'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7. (ID: 47b317ae-c06a-425b-9fc7-3c9e6ac9c001) Asset validation failed Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. To support older versions of iOS, the icon may be required in the bundl
2
0
934
2w
Reply to memory leak in dlopen / dlcose, or user error?
Interesting. I decided to focus on LeakTestCtor.c because, frankly, I avoid C++ whenever I can (-: I was able to reproduce the unbounded memory growth you’re seeing. I’m now using Xcode 26.2 on macOS 26.2. I wanted to share some info on how I investigated this, mostly just for the benefit of future folks who stumble across this thread. First up, I ran the program with MallocStackLoggingNoCompact set: % MallocStackLoggingNoCompact=1 ./Test806035 This makes it easier for debugging tools to tell what’s going on. You can learn more about this in the malloc man page. At each did run point I ran leaks to save a memory graph of the process: % mv g1.memorygraph g1.memgraph … In the other window, press Return and wait for the next run to complete … % mv g2.memorygraph g2.memgraph … and so on … I’ve named these gN.memgraph, where g stands for generation. I then diffed these generations using heap: % heap -diffFrom g1.memgraph g2.memgraph … Only showing allocations in (null) that are not in g1.memgraph. … COUNT
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 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
Is it safe to run Xcode from an external drive?
I’m currently facing a disk space limitation on my Mac. I’ve already freed up some storage by following the suggestions shared in a previous post, which helped partially, but the issue is not fully resolved and space is still a bottleneck for my workflow. To move forward, I’d like to ask a very concrete question: 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? Specifically: Are there known issues with performance, stability, or updates? Are there components that must remain on the internal disk to avoid unexpected behavior? Is this a reasonable long-term setup, or just a temporary workaround? I want to make sure I’m not setting myself up for hidden problems down the road. Thanks in advance for any clarification or best practices you can share.
3
0
173
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
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
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