Search results for

xcode github

93,978 results found

Post

Replies

Boosts

Views

Activity

Reply to Need Inputs on Which Extension to Use
Hi @DTS Engineer , Thanks a lot for your clarifications again!! I’m working with the NETransparentProxyProvider class for a network extension app in my macOS. However, I’ve encountered an issue where the Transparent Proxy extension does not activate when the system is offline (network disabled). Here are the details: Content Filter extension is active and functioning properly(offline as well) Both the Transparent Proxy and Content Filter extensions are under the same Xcode target. I can see the Transparent Proxy extension listed in Settings → Network → Filters & Proxies, but it shows as Disabled.(offline) My question: Is an active network connection required for the NETransparentProxyProvider extension to be enabled/activated, even temporarily, during installation? Background: The environment where I’m installing the system extension doesn’t have network access (e.g., in sandboxed VMs). Once installed, the extensions are always running, but the main app process (Xcode target 1) is starte
1h
Need Inputs on Which Extension to Use
Hi all, I have a working macOS (Intel) system extension app that currently uses only a Content Filter (NEFilterDataProvider). I need to capture/log HTTP and HTTPS traffic in plain text, and I understand NETransparentProxyProvider is the right extension type for that. For HTTPS I will need TLS inspection / a MITM proxy — I’m new to that and unsure how complex it will be. For DNS data (in plain text), can I use the same extension, or do I need a separate extension type such as NEPacketTunnelProvider, NEFilterPacketProvider, or NEDNSProxyProvider? Current architecture: Two Xcode targets: MainApp and a SystemExtension target. The SystemExtension target contains multiple network extension types. MainApp ↔ SystemExtension communicate via a bidirectional NSXPC connection. I can already enable two extensions (Content Filter and TransparentProxy). With the NETransparentProxy, I still need to implement HTTPS capture. Questions I’d appreciate help with: Can NETransparentProxy capture the DNS fields I need (dns_
4
0
145
1h
In Simulator on status bar red banner with rdar:45025538
Out of nowhere I got some red banner on top of my iPhone 13 mini / iOS 17.5. I cannot pin point the root cause of this. What I can say is that it only happens to Simulators of a certain type, e.g. iPhone 12 and 13 mini, but not iPhone 14 for example. I have installed Xcode 26.1.0 and 26.1.1, out of which 26.1.0 is selected: $ xcode-select -p /Applications/Xcode-26.1.0.app/Contents/Developer And following runtimes: $ xcrun simctl runtime list == Disk Images == -- iOS -- iOS 17.5 (21F79) - CF933623-A258-44F8-B248-C0F25C0C343B (Ready) iOS 26.1 (23B80) - D11C3CDC-EE3D-44CC-8B92-9B7D00B54B0B (Ready) Total Disk Images: 2 (14.6G) Installing the newer 26.1 23B86 runtime doesn't help either.
13
0
688
2h
Reply to In Simulator on status bar red banner with rdar:45025538
Here’s what’s going on and how I fixed it locally. Once you install and run a newer Xcode (for example 26.2), it performs a CoreSimulator migration and writes system-wide frameworks into /Library/Developer/PrivateFrameworks. This migration is global and there’s no rollback mechanism. Even if you delete Xcode 26.2 and keep using Xcode 26.1.1, the older Simulator binary still loads CoreSimulator frameworks from the system location, not from inside the Xcode bundle. So you end up in a situation where Simulator.app is launched from /Applications/Xcode-26.1.1.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator but it’s actually using newer system frameworks like: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator /CoreSimDeviceIO.framework /SimPasteboardPlus.framework /CoreSimulatorUtilities.framework In my case the CoreSimulator version there was already 1051.17.7, which clearly came from Xcode 26.2. Th
2h
Xcode 26.1 re-release?
The developer downloads page now lists an Xcode 26.1 which was released on 11th Dec (the original Xcode 26.1 was posted on 3rd Nov). Strangely, this new Xcode 26.1 has a CFBundleShortVersionString of 26.1.1, and a DTXcodeBuild of 17B55 % ls -ln total 4413136 -rw-r--r--@ 1 503 20 2259523057 16 Dec 19:01 Xcode_26.1_Apple_silicon.xip % xip --expand Xcode_26.1_Apple_silicon.xip xip: signing certificate was Software Update (validation not attempted) xip: expanded items from /Users/me/Downloads/temp/Xcode_26.1_Apple_silicon.xip % plutil -p Xcode.app/Contents/Info.plist | grep CFBundleShort CFBundleShortVersionString => 26.1.1 % plutil -p Xcode.app/Contents/Info.plist | grep DTXcodeBuild DTXcodeBuild => 17B55 17B55 does correspond to the original Xcode 26.1 final release. The Xcode 26.1.1 release that was previously posted had a DTXcodeBuild of 17B100, though. The pairing of 26.1.1 and 17B55 looks new and probably a packaging error?
2
0
101
3h
UIBarButtonItem-The background color of UIBarButtonItem is missing?
UIButton *backBtn = [UIButton buttonWithType:UIButtonTypeCustom]; backBtn.frame = CGRectMake(0, 0, 44, 44); [backBtn setImage:[UIImage imageNamed:@back] forState:UIControlStateNormal]; [backBtn addTarget:self action:@selector(gotoBack) forControlEvents:UIControlEventTouchUpInside]; UIBarButtonItem *backItem = [[UIBarButtonItem alloc] initWithCustomView:backBtn]; // backItem.hidesSharedBackground = YES; // backItem.tintColor = [UIColor redColor]; self.navigationItem.leftBarButtonItem = backItem; I am using Xcode 26, which is compatible with iOS 26. After I set up the back button of the navigation bar, why are the background colors of the back buttons on some pages gray? When I pushed the new page, after popping back to the current page, the buttons with the gray background turned back to the white background. This issue will also affect the rightBarButtonItem.
Topic: UI Frameworks SubTopic: UIKit
1
0
168
8h
Reply to Xcode 26.1 re-release?
There was a release of Xcode 26.2 that was dated December 4th. Then there was a release of Xcode 26.1 on December 16. Which is the most current? Why was there a later release of 26.1 when there was a ralease of that level in November 11 followed by a 26.1.1? This release strategy is somewhat confusing.
9h
Xcode Cloud Export Archive Fails with Xcode 26.2 RC
Export archive step fails in Xcode Cloud when using Xcode 26.2 (17C48) RC. The same project exports successfully when switching back to Xcode 26.1 in Xcode Cloud workflow settings. The same project exports successfully when using Xcode 26.2 RC locally. Projects without Apple Watch app do not encounter this issue (not so sure about this). From Xcode Cloud UI: Exporting for App Store Distribution failed. Please download the logs artifact for more information. Run command: 'xcodebuild -exportArchive ... Command exited with non-zero exit-code: 70 From xcodebuild-export-archive.log: error: exportArchive Automatic signing cannot update bundle identifier io.***.***.watchkitapp. error: exportArchive No profiles for 'io.***.***.watchkitapp' were found error: exportArchive Automatic signing cannot update bundle identifier io.***.***. error: exportArchive No profiles for 'io.***.***' were found ** EXPORT FAILED ** IDEDistribution: App Store Connect request for store
6
0
276
10h
Reply to Xcode Cloud Export Archive Fails with Xcode 26.2 RC
@Gong Thank you for providing the comprehensive post and the bug report number. You made sure to use the release version of Xcode correct? 17C52? Please allow the engineering team ample time to investigate this issue, considering the upcoming holiday season. You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label Resolution. We're unable to share any updates on specific reports on the forums. For more details on when you'll see updates to your report, please see What to expect after submission. Albert Pascual
  Worldwide Developer Relations.
12h
Questions about DeclaredAgeRange's isEligibleForAgeFeatures instance variable
Our team is in the process of updating our apps to comply with Texas's new state law. In order to minimize user confusion and provide the most ideal flow to access the app as possible, we have a few questions we would like answered. Summary of questions: Is isEligibleForAgeFeatures intended to be accurate and accessible before the user has accepted the Age Range permissions prompt? As other US states and/or other countries adopt a similar law going forward, will this instance variable cover those locations? Will the runtime crashes on isEligibleForAgeFeatures and other symbols in the DeclaredAgeRange framework be addressed in a future RC or in the official release? Details and Investigations: With regards to isEligibleForAgeFeatures, our team has noticed that this value is always false before the age range prompt has been accepted. This has been tested on the XCode RC 26.2 (17C48). Assuming the request needs to be accepted first, isEligibleForAgeFeatures does not get updated immediately when the user
1
0
398
12h
Reply to App Review Rejected, Invalid Binary, App Version
Thanks for the post. Have you search the forums for this issue? Are you utilizing any other software besides Xcode? Are you using Objective-C with empty names in the metadata? To identify the binaries with those conditions, you can run the following Terminal command on each binary inside the app: ‘% xcrun dyld_info -objc Payload/YourApp.app/YourApp | grep (null)”’ Can you check the build log in Xcode and provide me with those messages including the warnings are really important and may give us a clue. Can you share those warnings? Additionally, could you please share the Xcode version, the minimum operating system requirements, and any relevant build settings that may be pertinent to this task? I eagerly anticipate your responses to guide you toward a comprehensive resolution for this matter, provided the script yields favorable outcomes. Otherwise if is not the issue I am thinking with Objective-C, please get it touch with App Store Connect support as they’ll have the reason the bi
12h
Reply to Instruments Crash using swiftui instrument
Thanks for the post. It looks like you're encountering a specific crash related to the SwiftUI instrument in Xcode 26.2, which can be quite frustrating, especially when it interrupts a useful workflow. Given that you've already attempted some common troubleshooting steps like removing derived data, reinstalling, updating Xcode, and restarting devices, and that is a crash on the Instruments app let’s go ahead and file a bug: Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Albert Pascual
  Worldwide Developer Relations.
12h
Instruments Crash using swiftui instrument
Instruments is crashing when the swiftui instrument is stopped (the session is finished) and the transfer begins from device to device: Crashed Thread: 11 Dispatch queue: com.apple.swiftuitracingsupport.reading Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4 Terminating Process: exc handler [1633] I've tried removing derived data, reinstalling xcode, updating xcode (I originally thought this might be the issue -- I needed to update to 26.2 from the 26 RC -- the update didn't fix crash or change the crash report), and restarting both devices. I'm running Instruments/Xcode 26.2 on a MacBook Pro 15 (2018) running Mac OS 15.7.2 (24G325) with an iPhone 16 Pro Max running 26.2. Hoping someone else might have seen this or could help me troubleshoot. I find the swiftui instrument be helpful and like to use it :) I can post a complete crash report as well.
1
0
18
12h