Search results for

“xcode github”

96,031 results found

Post

Replies

Boosts

Views

Activity

`URLSessionConfiguration.connectionProxyDictionary` Fails to Disable HTTP(s) Proxy on iOS 26.2
Our business interface requests require disabling HTTP(s) proxies. We configured URLSessionConfiguration.connectionProxyDictionary as before, but found that it does not work on iOS 16.2 and 16.3.1. 1.Core code: let configuration = URLSessionConfiguration.default configuration.connectionProxyDictionary = [ HTTPEnable: false, HTTPSEnable: false, SOCKSEnable: false, ] let session = URLSession(configuration: configuration) let request = URLRequest(url: URL(string: https://www.baidu.com)!,timeoutInterval: Double.infinity) // 发送请求 let task = session.dataTask(with: request) { data, response, error in if let error = error { print(网络请求失败: (error)) } if let data = data { print(网络请求成功,返回数据长度: (data.count)) if let responseString = String(data: data, encoding: .utf8) { print(返回数据: (responseString.prefix(100))...) } } } task.resume() 2.Specific steps: We captured traffic using Proxyman and Charles. With the same code, requests cannot be captured on iOS 18 and iOS 16.1, but can be captured on iOS 26.2 and
2
0
138
1w
Reply to Can CLI apps not use SecItemAdd?
Let’s start with some terminology. On Apple platforms we typically use the terms app and application to refer to things with a GUI that the user launches from the Finder (on macOS), Home screen (on iOS), and so on. If you’re building a program that you expect the user to run in Terminal, that’s a command-line tool. Using the keychain from a command-line tool is a bit tricky because: We generally recommend that folks using the data protection keychain rather than the file-base keychain. Access to the data protection keychain is mediated by restricted entitlements, that is, entitlements that must be authorised by a provisioning profile. It’s hard to sign a command-line tool with such entitlements because there’s no obvious place to put said provisioning profile. Now, all of that is gonna sound like word salad if you’re new to the Mac, so lemme drop in some links: TN3127 Inside Code Signing: Requirements explains the different keychain implementations on macOS. TN3125 Inside Code Signing: Provisioning Profiles e
Topic: Privacy & Security SubTopic: General Tags:
1w
Reply to 409 ENTITY_ERROR.RELATIONSHIP.INVALID — Cannot attach build or create version, affecting 2 separate accounts for 1 week
Hi App Store Connect Engineer, Thanks for the help! You were right — once I changed my Xcode Cloud workflow so it wasn't internal-only, the build attached to 1.0.4 on the first try and the version is now waiting for review. Two things I wanted to share while I'm here: The error I was getting really didn't help me figure out what was wrong. It just said something like invalid relationship with no real details. I spent a few days thinking the version record itself was somehow broken before I realized it was actually about the build's audience type. Even a short hint like this build can't be attached because it's internal-only would have saved a lot of time. It would also be great if this was visible somewhere in App Store Connect — right now you can only see it through the API. The other thing is the support ticket. I opened Case #102865399563 on April 10 — the auto-reply said someone would get back within 2 business days. As of today that's 13 business days, with two follow-ups from me, and still no r
1w
Core Spotlight Semantic Search - still non-functional for 1+ year after WWDC24?
After more than a year since the announcement, I'm still unable to get this feature working properly and wondering if there are known issues or missing implementation details. Current Setup: Device: iPhone 16 Pro Max iOS: 26 beta 3 Development: Tested on both Xcode 16 and Xcode 26 Implementation: Following the official documentation examples The Problem: Semantic search simply doesn't work. Lexical search functions normally, but enabling semantic search produces identical results to having it disabled. It's as if the feature isn't actually processing. Error Output (Xcode 26): [QPNLU][qid=5] Error Domain=com.apple.SpotlightEmbedding.EmbeddingModelError Code=-8007 Text embedding generation timeout (timeout=100ms) [CSUserQuery][qid=5] got a nil / empty embedding data dictionary [CSUserQuery][qid=5] semanticQuery failed to generate, using (false) In Xcode 16, there are no error messages at all - the semantic search just silently fails. Missing Resources: The sample application
6
0
2.8k
1w
TimePicker numeric pad popover renders as a narrow bar on iPadOS 26.4.1
When tapping the currently selected time in a TimePicker (wheel style) component to invoke the inline numeric pad popover, the popover renders incorrectly on iPadOS 26.4.1 — it appears as a very narrow single-line/bar rather than the full numeric keypad layout. Steps to Reproduce: Run Reminder, create a new reminder and add a custom time Tap the currently selected time value to trigger the numeric pad popover Observe the popover layout Expected Result: A properly sized popover appears containing a full numeric keypad, allowing direct numeric input of the time value — consistent with behavior on iPadOS 18.x Actual Result: The popover appears as an extremely narrow horizontal bar (single line height), making the numeric pad unusable Regression: Works correctly on iPadOS 18.x through iPadOS 26.3. Broken on iPadOS 26.4.1 (Xcode 26.x simulator and/or physical device). https://www.youtube.com/shorts/bd3pYA3B-iI https://www.youtube.com/shorts/wSHzepHBwEY Feedback: FB22517457
Topic: UI Frameworks SubTopic: UIKit
2
0
352
1w
Reply to Add for review 'save" btn is not working when select build
Hi there, thank you for reporting this! Can you please verify that the builds you're attempting to attach to your version aren't internal only builds. Internal only builds can't be attached to app versions. https://developer.apple.com/help/app-store-connect/manage-builds/choose-a-build-to-submit/ https://developer.apple.com/documentation/xcode/distributing-your-app-for-beta-testing-and-releases
2w
Does your Canvas in Xcode crash all the time due to AXRemoteElement-BackgroundFetch?
Hi everyone, yesterday I updated my macOS and Xcode to the latest versions and today I have the strangest thing: Canvas is always crashing whenever I click it, in any and all my Projects. The full Simulator works just fine; only the Preview Canvas crashes. All the crash reports say it's because of AXRemoteElement-BackgroundFetch, and ChatGPT says it's not because of my code. These are very simple Projects, just for experimentation. Nothing complex, just native code while I follow examples in a SwiftUI book. Anyone else having this issue? Translated Report (Full Report Below) ------------------------------------- Process: PreviewShell [2179] Path: /Volumes/VOLUME/*/PreviewShell.app/PreviewShell Identifier: com.apple.PreviewShell Version: 16.0 (23.40.29) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd_sim [1405] Coalition: com.apple.CoreSimulator.SimDevice.E9525D59-3C07-43F9-ACC9-18CF5DD0DAA1 [1516] Responsible Process: SimulatorTrampoline [1120] User ID: 501 Date/Time: 2026-03-26 1
8
0
518
2w
Reply to Distributing In House Apps via my OWN website
[quote='885785022, AmbritSoftware3, /thread/823398?answerId=885785022#885785022, /profile/AmbritSoftware3'] As for Mac I think I will forget that. It's yet another can of worms. [/quote] I don’t understand this comment. The Mac is the one platform where the rules for direct distribution are really clear. To pass Gatekeeper: You must sign your code with a Developer ID Application signing identity. If you distribute a disk image, you should sign it with the same. If you distribute an installer package, you must sign it with a Developer ID Installer signing identity. You must notarise your product. All of the above is available to all paid teams. Xcode can take care of the code signing side of this. If you’re not using Xcode, or you want to automate things, see Creating distribution-signed code for macOS. And for advice on the packaging, see Packaging Mac software for distribution. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.c
2w
Can the same widget in an Xcode project support multiple targets?
Hello everyone, my app A now supports iOS Widget C under the same Xcode project. Now I have another app B under this project, and I hope it can also support this Widget C. What should be done? How should the app group be configured? I have found some solutions: for example, add this key under the info.plist corresponding to app B: NSExtension NSExtensionPointIdentifier com.apple.widgetkit-extension NSExtensionPrincipalClass $(PRODUCT_MODULE_NAME).WidgetEntryView However, when I configured it and started running, not only could I not see the support Widget C, but the screen also went black. Thank you all.
1
0
180
2w
RealityView content disappears when selecting Lock In Place on visionOS
I'm experiencing an issue where all RealityView content disappears when the user selects Lock In Place from the window management menu (long press on close button). Follow Me works correctly and this happens in Testflight builds only not reproducible when I run locally I have reproduced this with a minimal project containing nothing but a simple red cube — no custom anchors, no app state, no dependencies. Steps to Reproduce: Open an ImmersiveSpace A red cube is placed 1m in front of the user via RealityView Long press the X button on any floating window Select Lock In Place The cube disappears immediately Expected: Cube remains visible after window is locked Actual: Cube disappears. Note: Follow Me does NOT reproduce this issue. Minimal reproducible code: struct ImmersiveView: View { var body: some View { RealityView { content in let cube = ModelEntity( mesh: .generateBox(size: 0.3), materials: [SimpleMaterial(color: .red, isMetallic: false)] ) cube.setPosition(SIMD3(0, 1.5, -1), relativeTo:
1
0
1.6k
2w
Reply to RealityView content disappears when selecting Lock In Place on visionOS
Hi @Kunal07 Thanks for the focused repro, that's genuinely helpful. Could selecting Lock In Place be causing the ImmersiveSpace to be dismissed, which is why the RealityView content vanishes? I'm not yet sure why this only reproduces under TestFlight and not when running locally from Xcode. I'd greatly appreciate it if you could open a bug report. Please include a zipped copy of the minimal Xcode project that reproduces the issue and a reference to this forum post, and post the FB number back here once you do. Bug Reporting: How and Why? has tips on creating your bug report.
Topic: Spatial Computing SubTopic: General Tags:
2w
`URLSessionConfiguration.connectionProxyDictionary` Fails to Disable HTTP(s) Proxy on iOS 26.2
Our business interface requests require disabling HTTP(s) proxies. We configured URLSessionConfiguration.connectionProxyDictionary as before, but found that it does not work on iOS 16.2 and 16.3.1. 1.Core code: let configuration = URLSessionConfiguration.default configuration.connectionProxyDictionary = [ HTTPEnable: false, HTTPSEnable: false, SOCKSEnable: false, ] let session = URLSession(configuration: configuration) let request = URLRequest(url: URL(string: https://www.baidu.com)!,timeoutInterval: Double.infinity) // 发送请求 let task = session.dataTask(with: request) { data, response, error in if let error = error { print(网络请求失败: (error)) } if let data = data { print(网络请求成功,返回数据长度: (data.count)) if let responseString = String(data: data, encoding: .utf8) { print(返回数据: (responseString.prefix(100))...) } } } task.resume() 2.Specific steps: We captured traffic using Proxyman and Charles. With the same code, requests cannot be captured on iOS 18 and iOS 16.1, but can be captured on iOS 26.2 and
Replies
2
Boosts
0
Views
138
Activity
1w
Reply to Can CLI apps not use SecItemAdd?
Let’s start with some terminology. On Apple platforms we typically use the terms app and application to refer to things with a GUI that the user launches from the Finder (on macOS), Home screen (on iOS), and so on. If you’re building a program that you expect the user to run in Terminal, that’s a command-line tool. Using the keychain from a command-line tool is a bit tricky because: We generally recommend that folks using the data protection keychain rather than the file-base keychain. Access to the data protection keychain is mediated by restricted entitlements, that is, entitlements that must be authorised by a provisioning profile. It’s hard to sign a command-line tool with such entitlements because there’s no obvious place to put said provisioning profile. Now, all of that is gonna sound like word salad if you’re new to the Mac, so lemme drop in some links: TN3127 Inside Code Signing: Requirements explains the different keychain implementations on macOS. TN3125 Inside Code Signing: Provisioning Profiles e
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to 409 ENTITY_ERROR.RELATIONSHIP.INVALID — Cannot attach build or create version, affecting 2 separate accounts for 1 week
Hi App Store Connect Engineer, Thanks for the help! You were right — once I changed my Xcode Cloud workflow so it wasn't internal-only, the build attached to 1.0.4 on the first try and the version is now waiting for review. Two things I wanted to share while I'm here: The error I was getting really didn't help me figure out what was wrong. It just said something like invalid relationship with no real details. I spent a few days thinking the version record itself was somehow broken before I realized it was actually about the build's audience type. Even a short hint like this build can't be attached because it's internal-only would have saved a lot of time. It would also be great if this was visible somewhere in App Store Connect — right now you can only see it through the API. The other thing is the support ticket. I opened Case #102865399563 on April 10 — the auto-reply said someone would get back within 2 business days. As of today that's 13 business days, with two follow-ups from me, and still no r
Replies
Boosts
Views
Activity
1w
Reply to Xcode 26.4.1 Crashes on Launch with Code Signature Invalid on macOS 26.4.1 and All Higher Versions (26.5 / 26.6 beta)
Xcode 26.4.1 Crashes on Launch with Code Signature Invalid on macOS 26.4.1 and All Higher Versions (26.5 / 26.6 beta)
Replies
Boosts
Views
Activity
1w
Core Spotlight Semantic Search - still non-functional for 1+ year after WWDC24?
After more than a year since the announcement, I'm still unable to get this feature working properly and wondering if there are known issues or missing implementation details. Current Setup: Device: iPhone 16 Pro Max iOS: 26 beta 3 Development: Tested on both Xcode 16 and Xcode 26 Implementation: Following the official documentation examples The Problem: Semantic search simply doesn't work. Lexical search functions normally, but enabling semantic search produces identical results to having it disabled. It's as if the feature isn't actually processing. Error Output (Xcode 26): [QPNLU][qid=5] Error Domain=com.apple.SpotlightEmbedding.EmbeddingModelError Code=-8007 Text embedding generation timeout (timeout=100ms) [CSUserQuery][qid=5] got a nil / empty embedding data dictionary [CSUserQuery][qid=5] semanticQuery failed to generate, using (false) In Xcode 16, there are no error messages at all - the semantic search just silently fails. Missing Resources: The sample application
Replies
6
Boosts
0
Views
2.8k
Activity
1w
Reply to How to delete iOS simulator runtimes?
If anyone is still looking for solution all you have to do is literally just delete it using xcode in the components tab. Click on the question mark circle icon and then click delete.
Replies
Boosts
Views
Activity
1w
TimePicker numeric pad popover renders as a narrow bar on iPadOS 26.4.1
When tapping the currently selected time in a TimePicker (wheel style) component to invoke the inline numeric pad popover, the popover renders incorrectly on iPadOS 26.4.1 — it appears as a very narrow single-line/bar rather than the full numeric keypad layout. Steps to Reproduce: Run Reminder, create a new reminder and add a custom time Tap the currently selected time value to trigger the numeric pad popover Observe the popover layout Expected Result: A properly sized popover appears containing a full numeric keypad, allowing direct numeric input of the time value — consistent with behavior on iPadOS 18.x Actual Result: The popover appears as an extremely narrow horizontal bar (single line height), making the numeric pad unusable Regression: Works correctly on iPadOS 18.x through iPadOS 26.3. Broken on iPadOS 26.4.1 (Xcode 26.x simulator and/or physical device). https://www.youtube.com/shorts/bd3pYA3B-iI https://www.youtube.com/shorts/wSHzepHBwEY Feedback: FB22517457
Topic: UI Frameworks SubTopic: UIKit
Replies
2
Boosts
0
Views
352
Activity
1w
Stuck on "Sending analysis to App Store Connect
Hey, im running a MacBook Pro m2 26.4.1 and Xcode 26.4. I'm trying to upload to App Store Connect and it's getting stuck on Sending analysis to App Store Connect.... now what's interesting my Mac mini m4. same iOS works fine? Any ideas
Replies
2
Boosts
0
Views
176
Activity
1w
Reply to Stuck on "Sending analysis to App Store Connect
Hit that as well on Xcode 26.2, progress bar didn't move for the past hour. Did you ever solve this?
Replies
Boosts
Views
Activity
2w
Reply to Add for review 'save" btn is not working when select build
Hi there, thank you for reporting this! Can you please verify that the builds you're attempting to attach to your version aren't internal only builds. Internal only builds can't be attached to app versions. https://developer.apple.com/help/app-store-connect/manage-builds/choose-a-build-to-submit/ https://developer.apple.com/documentation/xcode/distributing-your-app-for-beta-testing-and-releases
Replies
Boosts
Views
Activity
2w
Does your Canvas in Xcode crash all the time due to AXRemoteElement-BackgroundFetch?
Hi everyone, yesterday I updated my macOS and Xcode to the latest versions and today I have the strangest thing: Canvas is always crashing whenever I click it, in any and all my Projects. The full Simulator works just fine; only the Preview Canvas crashes. All the crash reports say it's because of AXRemoteElement-BackgroundFetch, and ChatGPT says it's not because of my code. These are very simple Projects, just for experimentation. Nothing complex, just native code while I follow examples in a SwiftUI book. Anyone else having this issue? Translated Report (Full Report Below) ------------------------------------- Process: PreviewShell [2179] Path: /Volumes/VOLUME/*/PreviewShell.app/PreviewShell Identifier: com.apple.PreviewShell Version: 16.0 (23.40.29) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd_sim [1405] Coalition: com.apple.CoreSimulator.SimDevice.E9525D59-3C07-43F9-ACC9-18CF5DD0DAA1 [1516] Responsible Process: SimulatorTrampoline [1120] User ID: 501 Date/Time: 2026-03-26 1
Replies
8
Boosts
0
Views
518
Activity
2w
Reply to Distributing In House Apps via my OWN website
[quote='885785022, AmbritSoftware3, /thread/823398?answerId=885785022#885785022, /profile/AmbritSoftware3'] As for Mac I think I will forget that. It's yet another can of worms. [/quote] I don’t understand this comment. The Mac is the one platform where the rules for direct distribution are really clear. To pass Gatekeeper: You must sign your code with a Developer ID Application signing identity. If you distribute a disk image, you should sign it with the same. If you distribute an installer package, you must sign it with a Developer ID Installer signing identity. You must notarise your product. All of the above is available to all paid teams. Xcode can take care of the code signing side of this. If you’re not using Xcode, or you want to automate things, see Creating distribution-signed code for macOS. And for advice on the packaging, see Packaging Mac software for distribution. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.c
Replies
Boosts
Views
Activity
2w
Can the same widget in an Xcode project support multiple targets?
Hello everyone, my app A now supports iOS Widget C under the same Xcode project. Now I have another app B under this project, and I hope it can also support this Widget C. What should be done? How should the app group be configured? I have found some solutions: for example, add this key under the info.plist corresponding to app B: NSExtension NSExtensionPointIdentifier com.apple.widgetkit-extension NSExtensionPrincipalClass $(PRODUCT_MODULE_NAME).WidgetEntryView However, when I configured it and started running, not only could I not see the support Widget C, but the screen also went black. Thank you all.
Replies
1
Boosts
0
Views
180
Activity
2w
RealityView content disappears when selecting Lock In Place on visionOS
I'm experiencing an issue where all RealityView content disappears when the user selects Lock In Place from the window management menu (long press on close button). Follow Me works correctly and this happens in Testflight builds only not reproducible when I run locally I have reproduced this with a minimal project containing nothing but a simple red cube — no custom anchors, no app state, no dependencies. Steps to Reproduce: Open an ImmersiveSpace A red cube is placed 1m in front of the user via RealityView Long press the X button on any floating window Select Lock In Place The cube disappears immediately Expected: Cube remains visible after window is locked Actual: Cube disappears. Note: Follow Me does NOT reproduce this issue. Minimal reproducible code: struct ImmersiveView: View { var body: some View { RealityView { content in let cube = ModelEntity( mesh: .generateBox(size: 0.3), materials: [SimpleMaterial(color: .red, isMetallic: false)] ) cube.setPosition(SIMD3(0, 1.5, -1), relativeTo:
Replies
1
Boosts
0
Views
1.6k
Activity
2w
Reply to RealityView content disappears when selecting Lock In Place on visionOS
Hi @Kunal07 Thanks for the focused repro, that's genuinely helpful. Could selecting Lock In Place be causing the ImmersiveSpace to be dismissed, which is why the RealityView content vanishes? I'm not yet sure why this only reproduces under TestFlight and not when running locally from Xcode. I'd greatly appreciate it if you could open a bug report. Please include a zipped copy of the minimal Xcode project that reproduces the issue and a reference to this forum post, and post the FB number back here once you do. Bug Reporting: How and Why? has tips on creating your bug report.
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w