Search results for

“xcode github”

96,036 results found

Post

Replies

Boosts

Views

Activity

Transaction.unfinished not getting unfinished transactions
I am testing auto renewing subscriptions for a macOS program in Xcode with a local Storekit file. I have renewals set to occur every minute for testing. I quit the app, and watch renewals appear in the Debug transaction manager window. Each is marked unfinished. When I start the app, I call a function that is supposed to get unfinished transactions and finish them. In one of those I swore it worked the other day, I am now finding it isn't working. The unfinished transaction remain marked as unfinished. func getUnfinished() async { for await verificationResult in Transaction.unfinished { guard case .verified(let transaction) = verificationResult else { continue } await transaction.finish() } } If I add an AppStore.sync() right before looping on Transaction.unfinished, it works (i.e., cleans up unfinished transactions), but I get an alert I have to click through. do { try await AppStore.sync() } catch { print(DEBUG UNFINISHED: AppStore.sync() failed: (error)) } Any idea why Transaction.unfinished isn't
2
0
195
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
Thank you for your response. Upon reviewing the errors, this should not occur. However, there may be more experienced Apple Watch engineers who have identified this error and can provide a solution. For my understanding an HTTP 400 (Bad Request) means the network request Xcode made to the servers was rejected. If your developer account session has expired in Xcode's settings, the request to download the symbols might be sent with an invalid authentication token, resulting in a 400 error. Open Xcode and go to Xcode > Settings > Accounts. Select your Apple ID on the left. Click the - (minus) button at the bottom to remove it. Click the + (plus) button and sign back in. Restart Xcode and see if it successfully fetches the symbols. If you are using a VPN a corporate proxy, or custom DNS/firewall software, it might be intercepting and modifying Xcode's network request to Apple's servers, causing Apple to reject it as a Bad Request. Let me know if you get
Apr ’26
Safari-only layout regression with ad iframe content: inline wrapper + inline-block ad creates extra vertical spacing
Observed versions: Reproduced on Tahoe / Safari 26 and iOS 26 Safari. Not reproduced on v18 Safari. Not reproduced in Chrome with the same reduced test setup. We are seeing a Safari-only rendering issue affecting an ad creative inside an iframe on both desktop Safari and iOS Safari. What we observe: The issue is reproducible in Safari on OS X and iOS v26. We do not reproduce it in Chrome with the same test setup. We can reproduce it in a minimal test case, outside our site app code. The issue appears tied to the rendered iframe document/layout, not our outer page layout. The problematic rendered structure inside the iframe looks like this: Here is a simplified, local-reproducible version for testing: In Safari, this produces extra vertical spacing / cutoff above the ad. In the test code you will only notice an added top spacing, but when rendered in a live ad, the bottom gets cut off. A few details that may help: If we manually change the inner ins.dcmads from display:inl
1
0
419
Apr ’26
Incorrect FinanceKit Account Balance Data for Apple Cash/Savings (asset accounts)
When I use the FinanceKit API to get the account balance history for my Apple Cash account, the data shows that I have $1 as a debit. The accounts endpoint reveals that the Apple Cash account is an asset account. This means that according to the FinanceKit data my account balance is -$1. However, I know this is incorrect because when I look at my Apple Cash account using the Wallet app I see that I have a balance of $1 (see image below). I believe the issue is the creditDebitIndicator’s value in the Account Balance data. Here are the steps to recreate this. Open new Apple Cash account Send $1 to Apple Cash account Query accountBalanceHistory with a nil history token (to fetch all data) Look at the account balance data and see the $1 and “debit” for creditDebitIndicator Also, the documentation says that an asset account with a balance of $0 will have creditDebitIndicator/Credit, however, I am getting creditDebitIndicator/Debit. See https://developer.apple.com/documentation/financekit/balance/creditdebitindicat
1
0
90
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
I made more progress but the operation is still failing: I unpaired my watch then re-paired it I tried many times to get the watch to show the Developer Mode option - it would just not show it. Finally I restarted the phone, restarted the watch, insured both on the same WiFi network as the Mac, plugged the phone back into the Mac with Xcode running, and voila - I was finally able to enable it. Now, the watch showed up in the Xcode Devices window, but I got the same error as I originally was getting. Now I'm suspecting Bonjour, so I restarted my Mac, and rebooted my TP-Link Archer 8 router (has latest firmware). Now, Xcode can connect to my watch!!! It connects and tries to read the symbols, but fails with an alert in a window. Clicking on the window, I was able to copy the error: Failed with HTTP status 400: bad request Domain: DataGatheringNSURLSessionDelegate Code: 1 User Info: { DVTErrorCreationDateKey = 2026-04-07 13:10:58 +0000; } Failed with HTTP status 400: bad request Domain
Apr ’26
Reply to Xcode 26.x + iOS 26.x MTE Compatibility Feedback
Thank you very much for your valuable guidance on our MTE (Memory Integrity Enforcement) compatibility feedback for Xcode 26.x and iOS 26.x. We will follow your recommendation to split the feedback into multiple reports and file them officially in Feedback Assistant. We will share the bug numbers with you for the record once the reports are filed.
Apr ’26
Reply to Layout recursion error message
[quote='883354022, -dp, /thread/806471?answerId=883354022#883354022, /profile/-dp'] for the app's main module, I have to enter a Library name of this form: myApp.debug.dylib. [/quote] That’s not my experience. When I put this code into an app, the library for each log point is Test806471.debug.dylib but pasting Library:Test806471 into the field still works. If you click on the arrow for that token you can see why. It presents a popup menu with various options, and one of those options lets you select between Equals and Contains, with Contains being the default. [quote='883354022, -dp, /thread/806471?answerId=883354022#883354022, /profile/-dp'] it appears that this section is cleared on each Xcode launch [/quote] Indeed. I’ve seen complaints about that before, and some spelunking turned by the relevant bug (r. 130497236). If you want to be notified if and when that gets fixed, file your own bug and ask that it be marked as a dup of that one. See Bug Reporting: How and Why? for lots more hints and tips
Topic: UI Frameworks SubTopic: AppKit Tags:
Apr ’26
xcodebuild -downloadPlatform does not download via proxy
There's a regression in Xcode 26.x (26.0 ... 26.5 beta) where xcodebuild is not able to download platforms when it is behind proxy. $ env | grep PROXY HTTP_PROXY=..... HTTPS_PROXY=..... $ xcodebuild -version Xcode 26.5 Build version 17F5012f $ xcodebuild -downloadPlatform iOS -buildVersion 23E244 -exportPath ./test Finding content... iOS 23E244 is not available for download. Xcode 26.x GUI is able to download from behind proxy though. The last known Xcode which used to be able to download platforms from behind a proxy was Xcode 16.4. $ xcodebuild -version Xcode 16.4 Build version 16F6 $ xcodebuild -downloadPlatform iOS -buildVersion 23E244 -exportPath ./test Downloading iOS 26.4 Simulator (23E244): 0.0% (66 kB of 10.6 GB) The relevant feedback ID: FB22125784
0
0
82
Apr ’26
The app can be signed successfully, but an error occurs when installing it on an iOS device.
Domain: MIInstallerErrorDomain Code: 13 Recovery Suggestion: Please ensure that the certificates used to sign your app have not expired. If this issue persists, please attach an IPA of your app when sending a report to Apple. User Info: { DVTErrorCreationDateKey = 2026-04-03 11:27:29 +0000; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; } Failed to install the app on the device. Domain: com.apple.dt.CoreDeviceError Code: 3002 User Info: { NSURL = file:///Users/admin/Library/Developer/Xcode/DerivedData/Unity-iPhone-cafeohisbuqbtbfzphrtkslqqokm/Build/Products/ReleaseForRunning-iphoneos/UnitySDK.app; 无法安装“UnitySDK” Domain: IXUserPresentableErrorDomain Code: 14 Failure Reason: 无法安装此App,因为无法验证其完整性。 Recovery Suggestion: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.D7k1ON/extracted/UnitySDK.app : 0xe8008018 (The identity used to sign the executable is no longer valid.) Failed to verify code signature of /var/installd/Library/Caches/com.ap
0
0
137
Apr ’26
CPListItem setImage: causes 29-second main thread hang on iOS 26.4 due to CoreUI performance regression
We're experiencing a severe main thread hang (29 seconds) in our CarPlay audio app when calling [CPListItem setImage:] on iOS 26.4. This issue affects 81% of our reported hang cases, and is concentrated on iOS 26.4. Environment iOS 26.4 CarPlay Audio app Images are downloaded via SDWebImage, resized to appropriate scale, then set via [CPListItem setImage:] on the main thread Problem When multiple list item images finish downloading around the same time, each setImage: call triggers expensive synchronous CoreUI operations on the main thread. The total accumulated time causes a 29-second freeze. The entire hang occurs inside Apple frameworks — no app code is on the hot path after calling setImage:. Call Stack (simplified) [CPListItem setImage:] └─ [CPImageSet initWithImage:treatmentBlock:] (57% + 21% + 18% = 96%) └─ [UIImageAsset imageWithTraitCollection:] └─ [UIImageAsset _withLock_imageWithConfiguration:] └─ [UIImageAsset _performLookUpRegisteredObjectForTraitCollection:] └─ [UITraitCollection _enume
Topic: UI Frameworks SubTopic: UIKit
1
0
68
Apr ’26
Xcode 26.x + iOS 26.x MTE Compatibility Feedback
Xcode 26.x + iOS 26.x MTE Compatibility Feedback Reporter:Third-party App Developer Date:2026 Environments:Xcode 26.2 / 26.4, iOS 26.2 / 26.4 SDK, iPhone 17 Pro, Third-party App (Swift/C++/Python/Boost) Core Issue MTE (Memory Tagging Extension) under Memory Integrity Enforcement generates extensive false positives for valid high-performance memory operations in third-party apps, causing crashes. No official configuration exists to bypass these false positives, severely impacting stability and development costs. Key Problems 1. Widespread False Positives (Valid Code Crashes) After enabling MTE (Soft/Hard Mode), legitimate industrial-standard operations crash: Swift/ C++ containers: Array.append, resize, std::vector reallocation Custom memory pools / Boost lockfree queues:no UAF/corruption Memory reallocation:Legitimate free-reuse patterns are judged as tag mismatches. 2. MTE Hard Mode Incompatibility iOS 26.4 opens MTE Hard Mode for third-party apps, but it immediately crash
2
0
139
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
Thanks for the post. If you look at the table below, Xcode 26.x minimum requirements for the Apple Watch: https://developer.apple.com/xcode/system-requirements/ Shows the minimum is watchOS 8 and you said your Apple Watch is running watchOS 10.6.2. So no need to purchase a new Apple Watch for testing. Also the Apple Watch simulator is really good. Pairing an Apple Watch to Xcode for development actually requires going through the iPhone it is paired with. Also enable the Developer Mode”. All the info taken from here: https://developer.apple.com/documentation/xcode/pairing-your-devices-with-xcode?language=objc On the iPhone: Go to Settings > Privacy & Security. Scroll down to the bottom and tap Developer Mode. Toggle it On. Your iPhone will ask to restart. On the Apple Watch: Go to Settings (on the Watch itself) > Privacy & Security. Scroll to the bottom and tap Developer Mode. Toggle it On. The Watch will ask to restart. Even though the Watch connects
Apr ’26
Transaction.unfinished not getting unfinished transactions
I am testing auto renewing subscriptions for a macOS program in Xcode with a local Storekit file. I have renewals set to occur every minute for testing. I quit the app, and watch renewals appear in the Debug transaction manager window. Each is marked unfinished. When I start the app, I call a function that is supposed to get unfinished transactions and finish them. In one of those I swore it worked the other day, I am now finding it isn't working. The unfinished transaction remain marked as unfinished. func getUnfinished() async { for await verificationResult in Transaction.unfinished { guard case .verified(let transaction) = verificationResult else { continue } await transaction.finish() } } If I add an AppStore.sync() right before looping on Transaction.unfinished, it works (i.e., cleans up unfinished transactions), but I get an alert I have to click through. do { try await AppStore.sync() } catch { print(DEBUG UNFINISHED: AppStore.sync() failed: (error)) } Any idea why Transaction.unfinished isn't
Replies
2
Boosts
0
Views
195
Activity
Apr ’26
Can't access my developer account anymore
I have a bug with Xcode and developer.apple.com, where they both don’t recognise that my Apple ID is part of a development team. My account page at https://developer.apple.com tells me to enrol in the developer programme, whereas before it would show me as having a membership and would let me access profiles and certificates and other stuff.
Replies
0
Boosts
0
Views
46
Activity
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
Thank you for your response. Upon reviewing the errors, this should not occur. However, there may be more experienced Apple Watch engineers who have identified this error and can provide a solution. For my understanding an HTTP 400 (Bad Request) means the network request Xcode made to the servers was rejected. If your developer account session has expired in Xcode's settings, the request to download the symbols might be sent with an invalid authentication token, resulting in a 400 error. Open Xcode and go to Xcode > Settings > Accounts. Select your Apple ID on the left. Click the - (minus) button at the bottom to remove it. Click the + (plus) button and sign back in. Restart Xcode and see if it successfully fetches the symbols. If you are using a VPN a corporate proxy, or custom DNS/firewall software, it might be intercepting and modifying Xcode's network request to Apple's servers, causing Apple to reject it as a Bad Request. Let me know if you get
Replies
Boosts
Views
Activity
Apr ’26
Safari-only layout regression with ad iframe content: inline wrapper + inline-block ad creates extra vertical spacing
Observed versions: Reproduced on Tahoe / Safari 26 and iOS 26 Safari. Not reproduced on v18 Safari. Not reproduced in Chrome with the same reduced test setup. We are seeing a Safari-only rendering issue affecting an ad creative inside an iframe on both desktop Safari and iOS Safari. What we observe: The issue is reproducible in Safari on OS X and iOS v26. We do not reproduce it in Chrome with the same test setup. We can reproduce it in a minimal test case, outside our site app code. The issue appears tied to the rendered iframe document/layout, not our outer page layout. The problematic rendered structure inside the iframe looks like this: Here is a simplified, local-reproducible version for testing: In Safari, this produces extra vertical spacing / cutoff above the ad. In the test code you will only notice an added top spacing, but when rendered in a live ad, the bottom gets cut off. A few details that may help: If we manually change the inner ins.dcmads from display:inl
Replies
1
Boosts
0
Views
419
Activity
Apr ’26
Incorrect FinanceKit Account Balance Data for Apple Cash/Savings (asset accounts)
When I use the FinanceKit API to get the account balance history for my Apple Cash account, the data shows that I have $1 as a debit. The accounts endpoint reveals that the Apple Cash account is an asset account. This means that according to the FinanceKit data my account balance is -$1. However, I know this is incorrect because when I look at my Apple Cash account using the Wallet app I see that I have a balance of $1 (see image below). I believe the issue is the creditDebitIndicator’s value in the Account Balance data. Here are the steps to recreate this. Open new Apple Cash account Send $1 to Apple Cash account Query accountBalanceHistory with a nil history token (to fetch all data) Look at the account balance data and see the $1 and “debit” for creditDebitIndicator Also, the documentation says that an asset account with a balance of $0 will have creditDebitIndicator/Credit, however, I am getting creditDebitIndicator/Debit. See https://developer.apple.com/documentation/financekit/balance/creditdebitindicat
Replies
1
Boosts
0
Views
90
Activity
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
I made more progress but the operation is still failing: I unpaired my watch then re-paired it I tried many times to get the watch to show the Developer Mode option - it would just not show it. Finally I restarted the phone, restarted the watch, insured both on the same WiFi network as the Mac, plugged the phone back into the Mac with Xcode running, and voila - I was finally able to enable it. Now, the watch showed up in the Xcode Devices window, but I got the same error as I originally was getting. Now I'm suspecting Bonjour, so I restarted my Mac, and rebooted my TP-Link Archer 8 router (has latest firmware). Now, Xcode can connect to my watch!!! It connects and tries to read the symbols, but fails with an alert in a window. Clicking on the window, I was able to copy the error: Failed with HTTP status 400: bad request Domain: DataGatheringNSURLSessionDelegate Code: 1 User Info: { DVTErrorCreationDateKey = 2026-04-07 13:10:58 +0000; } Failed with HTTP status 400: bad request Domain
Replies
Boosts
Views
Activity
Apr ’26
Reply to Xcode 26.x + iOS 26.x MTE Compatibility Feedback
Thank you very much for your valuable guidance on our MTE (Memory Integrity Enforcement) compatibility feedback for Xcode 26.x and iOS 26.x. We will follow your recommendation to split the feedback into multiple reports and file them officially in Feedback Assistant. We will share the bug numbers with you for the record once the reports are filed.
Replies
Boosts
Views
Activity
Apr ’26
Reply to Unable to Save my build
Hi I had this exact same issue as yours. I fixed it by releasing the version not for internal testflight but for distribution in XCode.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Apr ’26
Reply to Layout recursion error message
[quote='883354022, -dp, /thread/806471?answerId=883354022#883354022, /profile/-dp'] for the app's main module, I have to enter a Library name of this form: myApp.debug.dylib. [/quote] That’s not my experience. When I put this code into an app, the library for each log point is Test806471.debug.dylib but pasting Library:Test806471 into the field still works. If you click on the arrow for that token you can see why. It presents a popup menu with various options, and one of those options lets you select between Equals and Contains, with Contains being the default. [quote='883354022, -dp, /thread/806471?answerId=883354022#883354022, /profile/-dp'] it appears that this section is cleared on each Xcode launch [/quote] Indeed. I’ve seen complaints about that before, and some spelunking turned by the relevant bug (r. 130497236). If you want to be notified if and when that gets fixed, file your own bug and ask that it be marked as a dup of that one. See Bug Reporting: How and Why? for lots more hints and tips
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Apr ’26
xcodebuild -downloadPlatform does not download via proxy
There's a regression in Xcode 26.x (26.0 ... 26.5 beta) where xcodebuild is not able to download platforms when it is behind proxy. $ env | grep PROXY HTTP_PROXY=..... HTTPS_PROXY=..... $ xcodebuild -version Xcode 26.5 Build version 17F5012f $ xcodebuild -downloadPlatform iOS -buildVersion 23E244 -exportPath ./test Finding content... iOS 23E244 is not available for download. Xcode 26.x GUI is able to download from behind proxy though. The last known Xcode which used to be able to download platforms from behind a proxy was Xcode 16.4. $ xcodebuild -version Xcode 16.4 Build version 16F6 $ xcodebuild -downloadPlatform iOS -buildVersion 23E244 -exportPath ./test Downloading iOS 26.4 Simulator (23E244): 0.0% (66 kB of 10.6 GB) The relevant feedback ID: FB22125784
Replies
0
Boosts
0
Views
82
Activity
Apr ’26
The app can be signed successfully, but an error occurs when installing it on an iOS device.
Domain: MIInstallerErrorDomain Code: 13 Recovery Suggestion: Please ensure that the certificates used to sign your app have not expired. If this issue persists, please attach an IPA of your app when sending a report to Apple. User Info: { DVTErrorCreationDateKey = 2026-04-03 11:27:29 +0000; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; } Failed to install the app on the device. Domain: com.apple.dt.CoreDeviceError Code: 3002 User Info: { NSURL = file:///Users/admin/Library/Developer/Xcode/DerivedData/Unity-iPhone-cafeohisbuqbtbfzphrtkslqqokm/Build/Products/ReleaseForRunning-iphoneos/UnitySDK.app; 无法安装“UnitySDK” Domain: IXUserPresentableErrorDomain Code: 14 Failure Reason: 无法安装此App,因为无法验证其完整性。 Recovery Suggestion: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.D7k1ON/extracted/UnitySDK.app : 0xe8008018 (The identity used to sign the executable is no longer valid.) Failed to verify code signature of /var/installd/Library/Caches/com.ap
Replies
0
Boosts
0
Views
137
Activity
Apr ’26
CPListItem setImage: causes 29-second main thread hang on iOS 26.4 due to CoreUI performance regression
We're experiencing a severe main thread hang (29 seconds) in our CarPlay audio app when calling [CPListItem setImage:] on iOS 26.4. This issue affects 81% of our reported hang cases, and is concentrated on iOS 26.4. Environment iOS 26.4 CarPlay Audio app Images are downloaded via SDWebImage, resized to appropriate scale, then set via [CPListItem setImage:] on the main thread Problem When multiple list item images finish downloading around the same time, each setImage: call triggers expensive synchronous CoreUI operations on the main thread. The total accumulated time causes a 29-second freeze. The entire hang occurs inside Apple frameworks — no app code is on the hot path after calling setImage:. Call Stack (simplified) [CPListItem setImage:] └─ [CPImageSet initWithImage:treatmentBlock:] (57% + 21% + 18% = 96%) └─ [UIImageAsset imageWithTraitCollection:] └─ [UIImageAsset _withLock_imageWithConfiguration:] └─ [UIImageAsset _performLookUpRegisteredObjectForTraitCollection:] └─ [UITraitCollection _enume
Topic: UI Frameworks SubTopic: UIKit
Replies
1
Boosts
0
Views
68
Activity
Apr ’26
Xcode 26.x + iOS 26.x MTE Compatibility Feedback
Xcode 26.x + iOS 26.x MTE Compatibility Feedback Reporter:Third-party App Developer Date:2026 Environments:Xcode 26.2 / 26.4, iOS 26.2 / 26.4 SDK, iPhone 17 Pro, Third-party App (Swift/C++/Python/Boost) Core Issue MTE (Memory Tagging Extension) under Memory Integrity Enforcement generates extensive false positives for valid high-performance memory operations in third-party apps, causing crashes. No official configuration exists to bypass these false positives, severely impacting stability and development costs. Key Problems 1. Widespread False Positives (Valid Code Crashes) After enabling MTE (Soft/Hard Mode), legitimate industrial-standard operations crash: Swift/ C++ containers: Array.append, resize, std::vector reallocation Custom memory pools / Boost lockfree queues:no UAF/corruption Memory reallocation:Legitimate free-reuse patterns are judged as tag mismatches. 2. MTE Hard Mode Incompatibility iOS 26.4 opens MTE Hard Mode for third-party apps, but it immediately crash
Replies
2
Boosts
0
Views
139
Activity
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
Thanks for the post. If you look at the table below, Xcode 26.x minimum requirements for the Apple Watch: https://developer.apple.com/xcode/system-requirements/ Shows the minimum is watchOS 8 and you said your Apple Watch is running watchOS 10.6.2. So no need to purchase a new Apple Watch for testing. Also the Apple Watch simulator is really good. Pairing an Apple Watch to Xcode for development actually requires going through the iPhone it is paired with. Also enable the Developer Mode”. All the info taken from here: https://developer.apple.com/documentation/xcode/pairing-your-devices-with-xcode?language=objc On the iPhone: Go to Settings > Privacy & Security. Scroll down to the bottom and tap Developer Mode. Toggle it On. Your iPhone will ask to restart. On the Apple Watch: Go to Settings (on the Watch itself) > Privacy & Security. Scroll to the bottom and tap Developer Mode. Toggle it On. The Watch will ask to restart. Even though the Watch connects
Replies
Boosts
Views
Activity
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
Now it's even worse - I deleted the watch from the Xcode Devices window, thought I'd add it again, but I can't get it to show up. iPhone connected via wire, all three devices on the same WiFi network.
Replies
Boosts
Views
Activity
Apr ’26