Search results for

“xcode github”

96,031 results found

Post

Replies

Boosts

Views

Activity

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
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)
Description Xcode 26.4.1 crashes immediately on launch with a code signature error. The issue exists on macOS 26.4.1 and persists after upgrading to macOS 26.5 (25F5058e) and attempting 26.6 beta. Crash Details: Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)) Termination Reason: Namespace CODESIGNING, Code 2, Invalid Page Key symbols: dyld3::MachOFile::trieWalk, dyld4::JustInTimeLoader::applyFixups, dyld4::Loader::forEachBindTarget All Steps Tried (All Failed): Fresh reinstall from Mac App Store and .xip from Developer website Multiple sudo xattr -cr + sudo codesign --force --deep --strict --options=runtime --sign - Deleted all Xcode caches, DerivedData, and preferences Tested in a brand new user account (same crash) Downgraded Xcode to older versions macOS remains on 26.4.1 (issue existed here) and upgraded to 26.5 / attempted 26.6 beta — still same crash Refreshed Apple Worldwide Developer Relations certificates Multiple restarts The crash report is identical eve
4
0
282
1w
SKStoreProductViewController causes visual UI corruption on iOS 15/16/17 (works on iOS 18), with valid VC hierarchy and no deallocation
Hi, We are seeing a reproducible issue when presenting SKStoreProductViewController in our production app context. For a quick summary, presenting and dismissing SKStoreProductViewController on iOS 15/16 can leave our app in a visually corrupted state (black/empty/orphaned-looking UI). On iOS 18/26 (presumably every iOS version in between), the same flow works correctly. What we verified dealloc is not called for our affected view controllers. During StoreKit lifecycle, VC hierarchy is logically valid: window.rootViewController remains stable. presented chain remains expected. SKStoreProductViewController becomes top-presented and dismisses normally as logged in the delegate. In the xcode view hieararchy, only the UITransitionView and UIDropShadowView are present. Our app content VCs are no longer attached to the visible hierarchy. This is the code we used: SKStoreProductViewController *storeVC = [SKStoreProductViewController new]; storeVC.delegate = self; [storeVC loadProductWithParameters:@{ SKStor
1
0
161
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
.buttonStyle(.glass) background changes abruptly between 50pt and 51pt in dark mode
[Submitted as FB22612121] A SwiftUI Button using .buttonStyle(.glass) with .buttonBorderShape(.capsule) changes its background abruptly when its size goes from 50×50 to 51×51 points in dark mode. This appears to be a threshold in opacity/material rather than a smooth size-based change. The sample shows identical buttons at 40, 50, 51, and 60 points, with a clear jump between 50 and 51. Measured RGB values shift from 19,19,19 to 30,30,30. The effect also varies with the background, which points to a material/opacity change rather than a fixed fill. ENVIRONMENT iOS 26.4.1 (23E254a) iOS 26.5 (23F5059e) REPRO STEPS Create a new iOS SwiftUI project. Replace ContentView with the sample code below. Run the app or open ContentView in SwiftUI Preview (dark mode). Observe the buttons at 40×40, 50×50, 51×51, and 60×60. Compare the 50pt and 51pt buttons. ACTUAL The background changes abruptly between 50pt and 51pt. The 51pt button uses a noticeably different opacity/material, producing a visible jump in dark mod
Topic: UI Frameworks SubTopic: SwiftUI
1
0
182
2w
Xcode 26.3 MCP xcode-tools: RunSomeTests / RunAllTests response violates tool output schema (missing required errors per test)
Xcode 26.3 MCP xcode-tools: RunSomeTests / RunAllTests response violates tool output schema (missing required errors per test) I’m using the MCP server “xcode-tools” shipped with Xcode 26.3 to run tests. Two tools fail consistently due to a schema mismatch: RunSomeTests RunAllTests Steps Call XcodeListWindows and get a valid tabIdentifier for my workspace. Call GetTestList with that tabIdentifier. This works and returns test identifiers like: ChatKitManagerCreationTests/testInitializesWithDependencies() Call RunSomeTests with tests = [{ targetName, testIdentifier }, …] (or call RunAllTests). Actual result The tool call fails with an MCP schema validation error like: Structured content does not match the tool's output schema: data/results/0 must have required property 'errors', data/results/1 must have required property 'errors', ... Why this looks like an xcode-tools bug According to the tool descriptor JSON for RunSomeTests / RunAllTests, each element of results[]
1
0
87
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
`URLSessionConfiguration.connectionProxyDictionary` Fails to Disable HTTP(s) Proxy on iOS 26.x
Our business interface requests require disabling HTTP(s) proxies. We configured URLSessionConfiguration.connectionProxyDictionary as before, but found that it does not work on iOS 26 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 26.1. Conclusi
4
0
266
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
2
0
138
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
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
Reply to 409 ENTITY_ERROR.RELATIONSHIP.INVALID — Cannot attach build or create version, affecting 2 separate accounts for 1 week
Hi there, thank you all for the reports! 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
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
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)
Description Xcode 26.4.1 crashes immediately on launch with a code signature error. The issue exists on macOS 26.4.1 and persists after upgrading to macOS 26.5 (25F5058e) and attempting 26.6 beta. Crash Details: Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)) Termination Reason: Namespace CODESIGNING, Code 2, Invalid Page Key symbols: dyld3::MachOFile::trieWalk, dyld4::JustInTimeLoader::applyFixups, dyld4::Loader::forEachBindTarget All Steps Tried (All Failed): Fresh reinstall from Mac App Store and .xip from Developer website Multiple sudo xattr -cr + sudo codesign --force --deep --strict --options=runtime --sign - Deleted all Xcode caches, DerivedData, and preferences Tested in a brand new user account (same crash) Downgraded Xcode to older versions macOS remains on 26.4.1 (issue existed here) and upgraded to 26.5 / attempted 26.6 beta — still same crash Refreshed Apple Worldwide Developer Relations certificates Multiple restarts The crash report is identical eve
Replies
4
Boosts
0
Views
282
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
SKStoreProductViewController causes visual UI corruption on iOS 15/16/17 (works on iOS 18), with valid VC hierarchy and no deallocation
Hi, We are seeing a reproducible issue when presenting SKStoreProductViewController in our production app context. For a quick summary, presenting and dismissing SKStoreProductViewController on iOS 15/16 can leave our app in a visually corrupted state (black/empty/orphaned-looking UI). On iOS 18/26 (presumably every iOS version in between), the same flow works correctly. What we verified dealloc is not called for our affected view controllers. During StoreKit lifecycle, VC hierarchy is logically valid: window.rootViewController remains stable. presented chain remains expected. SKStoreProductViewController becomes top-presented and dismisses normally as logged in the delegate. In the xcode view hieararchy, only the UITransitionView and UIDropShadowView are present. Our app content VCs are no longer attached to the visible hierarchy. This is the code we used: SKStoreProductViewController *storeVC = [SKStoreProductViewController new]; storeVC.delegate = self; [storeVC loadProductWithParameters:@{ SKStor
Replies
1
Boosts
0
Views
161
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
.buttonStyle(.glass) background changes abruptly between 50pt and 51pt in dark mode
[Submitted as FB22612121] A SwiftUI Button using .buttonStyle(.glass) with .buttonBorderShape(.capsule) changes its background abruptly when its size goes from 50×50 to 51×51 points in dark mode. This appears to be a threshold in opacity/material rather than a smooth size-based change. The sample shows identical buttons at 40, 50, 51, and 60 points, with a clear jump between 50 and 51. Measured RGB values shift from 19,19,19 to 30,30,30. The effect also varies with the background, which points to a material/opacity change rather than a fixed fill. ENVIRONMENT iOS 26.4.1 (23E254a) iOS 26.5 (23F5059e) REPRO STEPS Create a new iOS SwiftUI project. Replace ContentView with the sample code below. Run the app or open ContentView in SwiftUI Preview (dark mode). Observe the buttons at 40×40, 50×50, 51×51, and 60×60. Compare the 50pt and 51pt buttons. ACTUAL The background changes abruptly between 50pt and 51pt. The 51pt button uses a noticeably different opacity/material, producing a visible jump in dark mod
Topic: UI Frameworks SubTopic: SwiftUI
Replies
1
Boosts
0
Views
182
Activity
2w
Xcode 26.3 MCP xcode-tools: RunSomeTests / RunAllTests response violates tool output schema (missing required errors per test)
Xcode 26.3 MCP xcode-tools: RunSomeTests / RunAllTests response violates tool output schema (missing required errors per test) I’m using the MCP server “xcode-tools” shipped with Xcode 26.3 to run tests. Two tools fail consistently due to a schema mismatch: RunSomeTests RunAllTests Steps Call XcodeListWindows and get a valid tabIdentifier for my workspace. Call GetTestList with that tabIdentifier. This works and returns test identifiers like: ChatKitManagerCreationTests/testInitializesWithDependencies() Call RunSomeTests with tests = [{ targetName, testIdentifier }, …] (or call RunAllTests). Actual result The tool call fails with an MCP schema validation error like: Structured content does not match the tool's output schema: data/results/0 must have required property 'errors', data/results/1 must have required property 'errors', ... Why this looks like an xcode-tools bug According to the tool descriptor JSON for RunSomeTests / RunAllTests, each element of results[]
Replies
1
Boosts
0
Views
87
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
`URLSessionConfiguration.connectionProxyDictionary` Fails to Disable HTTP(s) Proxy on iOS 26.x
Our business interface requests require disabling HTTP(s) proxies. We configured URLSessionConfiguration.connectionProxyDictionary as before, but found that it does not work on iOS 26 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 26.1. Conclusi
Replies
4
Boosts
0
Views
266
Activity
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
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
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
Reply to 409 ENTITY_ERROR.RELATIONSHIP.INVALID — Cannot attach build or create version, affecting 2 separate accounts for 1 week
Hi there, thank you all for the reports! 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