Search results for

“build disappears”

51,316 results found

Post

Replies

Boosts

Views

Activity

Reply to NSFileManager getRelationship:ofDirectoryAtURL:toItemAtURL:error: returning NSURLRelationshipSame for Different Directories
I guess my wish would be for NSURL to either cache forever until explicitly cleared values or not cache at all because if we're caching on a cache that may not be a cache but sometimes it seems like a cache it's hard to cache. So, the first issue here is that not caching at all isn't really an option. Most of the data you retrieve from NSURL all came from the same API (getattrlist) and, much of the time, that data is ALWAYS retrieved in every call. getattrlist() is a bulk fetch API (it's designed to return a bunch of data at once) and the vast majority of the performance cost here is the cost of the syscall itself, NOT the retrieval of the data itself or the copy out of the kernel. Putting that in concrete terms, let’s say you ask for all of the times for a file (ATTR_CMN_CRTIME, ATTR_CMN_MODTIME, ATTR_CMN_CHGTIME, ATTR_CMN_ACCTIME, ATTR_CMN_BKUPTIME): Basically every file system is going to end up storing all of those values inside some kind of file system-specific structure, so the only cost here is the act
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’26
Using Metal compute for scientific simulation (lattice QCD gauge theory)
I've been using Metal compute shaders for lattice quantum chromodynamics simulations and wanted to share the experience in case others are doing scientific computing on Metal. The workload involves SU(2) matrix operations on 4D lattice grids — lots of 2x2 and 3x3 complex matrix multiplies, reductions over lattice sites, and nearest-neighbor stencil operations. The implementation bridges a C++ scientific framework (Grid) to Metal via Objective-C++ .mm files, with MSL kernels compiled into .metallib archives during the build. Things that work well: Shared memory on M-series eliminates the CPU↔GPU copy overhead that dominates in CUDA workflows The .metallib compilation integrates cleanly with autotools builds using xcrun Float4 packing for SU(2) matrices maps naturally to MSL vector types Things I'm still figuring out: Optimal threadgroup sizes for stencil operations on 4D grids Whether to use MTLHeap for gauge field storage or stick with individual buffers Best practices for double precision —
0
0
125
Feb ’26
Reply to CoreText crash on iOS 26.0 Simulator (Xcode 26.2) when rendering string with zero-width non-joiner and combining marks
Hi, Thank you for your reply. It is important work within the exact same environment. I am currently using Xcode 26.2 with the iOS 26.0 simulator iPhone 17 or iPhone17 pro (should happen of any of them), and I was able to reproduce the issue on other MacBooks as well with same environment. During our investigation of crash reports, we found that this issue occurs in production on certain iOS versions. Reproducing it locally in the simulator has been the only reliable way to validate the behavior. I would greatly appreciate your assistance with this matter. The problem does not appear to be related to UIKit. I can reproduce it in SwiftUI using Text as well. Unfortunately, the stack trace is not very informative. The crash also occurs when simply passing this specific character to Safari within the simulator. In most cases, the crash can be reproduced by adding the character to a project and building it with the iOS 26.0 simulator using iPhone 17. When running the same project on iOS 26.0.1, the issue
Topic: UI Frameworks SubTopic: General
Feb ’26
Mini Apps & Advanced App Clip Experiences
We deployed our Augmented Reality (AR) app on the app store and our build was approved and is working – all except our Advanced App Clip Experiences. All of the Advanced App Clip Experiences continue to show a status of Received and seem to be stuck in this status. Also, when scanning a QR code linked to one of the App Clip Experiences, nothing happens. We checked and double checked to make sure everything is set up properly. We even had an outside developer look at our code and they confirmed that our code looks correct and it likely like an Apple Issue. We have submitted two claim tickets over the past 3 months and the person currently handling our case keeps sending emails (in response to ours) saying that they still have not heard back from their internal team about our case. At this point, we don't know what to do and we are extremely worried because this starting to financially impact our business. We are not able to take new orders and we may need to start refunding clients for projects that w
0
0
34
Feb ’26
Reply to LaunchAgent (Mac) as peripheral doesn't show a pairing request.
I chatted with my Core Bluetooth colleague about this, and we’re not entirely sure how the failure you’re seeing can be caused by your execution context. Which isn’t to say that it’s not the case, just that the connection isn’t obvious. I usually debug problems like this in small steps. For example, in your case: I would build my agent as an app, with a menu bar and everything. I’d run that from the Finder (or Xcode) and see if Bluetooth behaves in that case. I’d then set it to run as a launchd agent, but still with the menu bar. And re-test Bluetooth. If that works, you know that the launchd agent context isn’t the cause of your issue. Finally, I’d then switch it to run without a menu bar by setting LSUIElement. And re-test Bluetooth again. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Feb ’26
Reply to Can NWConnection.receive(minimumIncompleteLength:maximumLength:) return nil data for UDP while connection remains .ready?
[quote='877018022, vishalsehgal, /thread/815465?answerId=877018022#877018022, /profile/vishalsehgal'] We wanted to reduce the kernel overhead of assembling bytes that receiveMessage(completion:) does. [/quote] I have two things to note about this. First, there’s no guarantee that your network connections are being run by the kernel. Our platforms have a user-space networking stack and Network framework will choose that over the in-kernel stack in many common cases. Second, I’m concerned about this concept of “assembling bytes”. In general, UDP datagrams shouldn’t be fragmented and thus there’s no assembling of data at all. A packet arrives, it contains the full UDP datagram, and the content of that datagram is delivered to you. If you’re building something that does fragment UDP datagrams — that is, it sends datagrams that are larger than the path MTU and thus are subject to IP fragmentation — then it’d be better to work on not doing that rather than trying to worry about optimising this path. Moreov
Feb ’26
Reply to Assets duplicating on Xcode 26.1 Beta 3
This is still an issue on 26.3. @SubvertDev What I ended up doing was extracting the Icon Composer rendered icon variants from an Assets.car built with Xcode 26.0.1 and adding those back to the project as pre-rendered icons to the assets catalog. Updating the icons in the future will be a pain, but at least for now the app's compressed thinned size hasn't gone up by >20MB when building with Xcode 26.1 and later.
Feb ’26
Xcode 26.3: Simulators incorrectly shown as "build only device" — Run (Cmd+R) fails while Build (Cmd+B) and command-line build/deploy succeed
Product Xcode Version 26.3 (26C5131e) Platform macOS / iOS Simulator / iOS Device Classification Bug / Incorrect UI Behaviour Reproducibility Always (persists across restarts, scheme recreation, DerivedData clearing) Date Encountered February 20, 2026 Hardware Mac mini (M2) running macOS Test Device iPhone SE (2nd generation), iOS 26.3 Summary In Xcode 26.3, attempting to run an iOS app on any simulator destination using Cmd+R fails with the error: A build only device cannot be used to run this target. Please select an available device or choose a simulated device as the destination. This occurs despite the selected destination being a valid iOS Simulator (not a build only device). The same project builds successfully using Cmd+B within Xcode and builds, installs, and runs correctly via the command line using xcodebuild, xcrun simctl, and xcrun devicectl. Steps to Reproduce Open a valid iOS project in Xcode 26.3. The project in question has target name h, product name Diabe
0
0
166
Feb ’26
Live Activity appears briefly then disappears with "Content load failed: unable to find or unarchive file" error
Hi everyone, I’m implementing Live Activities in my iOS app and encountering an issue when starting a Live Activity via an APNS push. The Live Activity card appears on the Lock Screen / Dynamic Island for a moment, then immediately disappears. In the console, I see the following error: Content load failed: unable to find or unarchive file for key: [com.meituan.imeituan-beta::com.meituan.imeituan-beta.liveactivity:Attributes type: SAKUniversalReminderAttributes:6DBCC2DC-E613-48F5-B97F-3EF72AA0877B]:[w:fix-374.00-h:dyn-64.00-160.00-cr:23.5-s:1.0.fam:medium]. The session may still produce one shortly. Error: Using url file:///private/var/mobile/Containers/Data/PluginKitPlugin/04F7B437-3C41-4823-8559-42E18F82B283/SystemData/com.apple.chrono/activities/6DBCC2DC-E613-48F5-B97F-3EF72AA0877B-w:fix-374.00-h:dyn-64.00-160.00-cr:23.5-s:1.0.fam:medium.activity-archive ... Error Domain=NSCocoaErrorDomain Code=4 文件“6DBCC2DC-E613-48F5-B97F-3EF72AA0877B-w/fix-374.00-h/dyn-64.00-160.00-cr/23.5-s/1.0.fam/medium.activi
0
0
103
Feb ’26
Reply to Xcode is compiling all Swift files one at a time?
I found it! I searched the build settings for build in both apps and just went down the list, comparing every setting. The only difference was User Script Sandboxing, which was Yes in the smaller app and No in the larger app. When I turned that on in the larger app, it built files in batches like the smaller app, and finished in 38 seconds -- that's 21 times faster than before. This is going to make release days so much easier.
Feb ’26
What should I validate before starting development of a new iOS app?
I take a lot of screenshots such as tickets, ideas, chats, and receipts, but I often forget about them later, so I am considering building an iOS app that asks the purpose of a screenshot as soon as it is taken, lets you assign it to a category, and reminds you after a set number of days to turn screenshots into actions instead of clutter. Before starting development, I would love to know if this feels genuinely useful, whether you would consider paying around $2 per month for it, and what features you would like to see, as I truly appreciate any honest feedback.
1
0
40
Feb ’26
PKAddPaymentPassViewController cannot be created in TestFlight build despite entitlement being present
We are integrating Apple Pay In-App Provisioning in our banking application using an external SDK. The provisioning flow works on the iOS Simulator (mock sheet appears), but fails on real devices via TestFlight with the error: internalInconsistency: PKAddPaymentPassViewController can not be created Environment: Xcode 16 iOS 18 Real device: iPhone (tested via TestFlight / Distribution build) Card network: Mastercard What we've verified: com.apple.developer.payment-pass-provisioning entitlement is set to YES in our .entitlements file The entitlement is confirmed present in our Development provisioning profile via security cms -D -i embedded.mobileprovision | grep payment-pass → returns PKAddPaymentPassViewController.canAddPaymentPass() returns true on the device The card is NOT already in Apple Wallet (0 local/remote Secure Element passes) All provisioning data is present and valid (encryptedPayload, authorizationCode, primaryAccountSuffix, cardholderName) The external SDK is configured successfully a
0
0
112
Feb ’26
Reply to Error loading products on iOS TestFlight app
Hi, can you please confirm if you've already set up the product information in App Store Connect for the products you're looking to show in your app? Make sure that the products are shown as Ready to submit after adding all the required metadata so that you can use them in the TestFlight build. I would also highly suggest to take a look at this article around Testing In-App Purchases with sandbox and follow all the steps around checking the agreements, setting up the products in App Store Connect, and creating a sandbox Apple Account. Other useful resources you can check out from the docs: Submit an In-App Purchase Testing subscriptions and In-App Purchases in TestFlight
Feb ’26
Reply to NSFileManager getRelationship:ofDirectoryAtURL:toItemAtURL:error: returning NSURLRelationshipSame for Different Directories
I guess my wish would be for NSURL to either cache forever until explicitly cleared values or not cache at all because if we're caching on a cache that may not be a cache but sometimes it seems like a cache it's hard to cache. So, the first issue here is that not caching at all isn't really an option. Most of the data you retrieve from NSURL all came from the same API (getattrlist) and, much of the time, that data is ALWAYS retrieved in every call. getattrlist() is a bulk fetch API (it's designed to return a bunch of data at once) and the vast majority of the performance cost here is the cost of the syscall itself, NOT the retrieval of the data itself or the copy out of the kernel. Putting that in concrete terms, let’s say you ask for all of the times for a file (ATTR_CMN_CRTIME, ATTR_CMN_MODTIME, ATTR_CMN_CHGTIME, ATTR_CMN_ACCTIME, ATTR_CMN_BKUPTIME): Basically every file system is going to end up storing all of those values inside some kind of file system-specific structure, so the only cost here is the act
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’26
Using Metal compute for scientific simulation (lattice QCD gauge theory)
I've been using Metal compute shaders for lattice quantum chromodynamics simulations and wanted to share the experience in case others are doing scientific computing on Metal. The workload involves SU(2) matrix operations on 4D lattice grids — lots of 2x2 and 3x3 complex matrix multiplies, reductions over lattice sites, and nearest-neighbor stencil operations. The implementation bridges a C++ scientific framework (Grid) to Metal via Objective-C++ .mm files, with MSL kernels compiled into .metallib archives during the build. Things that work well: Shared memory on M-series eliminates the CPU↔GPU copy overhead that dominates in CUDA workflows The .metallib compilation integrates cleanly with autotools builds using xcrun Float4 packing for SU(2) matrices maps naturally to MSL vector types Things I'm still figuring out: Optimal threadgroup sizes for stencil operations on 4D grids Whether to use MTLHeap for gauge field storage or stick with individual buffers Best practices for double precision —
Replies
0
Boosts
0
Views
125
Activity
Feb ’26
Reply to CoreText crash on iOS 26.0 Simulator (Xcode 26.2) when rendering string with zero-width non-joiner and combining marks
Hi, Thank you for your reply. It is important work within the exact same environment. I am currently using Xcode 26.2 with the iOS 26.0 simulator iPhone 17 or iPhone17 pro (should happen of any of them), and I was able to reproduce the issue on other MacBooks as well with same environment. During our investigation of crash reports, we found that this issue occurs in production on certain iOS versions. Reproducing it locally in the simulator has been the only reliable way to validate the behavior. I would greatly appreciate your assistance with this matter. The problem does not appear to be related to UIKit. I can reproduce it in SwiftUI using Text as well. Unfortunately, the stack trace is not very informative. The crash also occurs when simply passing this specific character to Safari within the simulator. In most cases, the crash can be reproduced by adding the character to a project and building it with the iOS 26.0 simulator using iPhone 17. When running the same project on iOS 26.0.1, the issue
Topic: UI Frameworks SubTopic: General
Replies
Boosts
Views
Activity
Feb ’26
Mini Apps & Advanced App Clip Experiences
We deployed our Augmented Reality (AR) app on the app store and our build was approved and is working – all except our Advanced App Clip Experiences. All of the Advanced App Clip Experiences continue to show a status of Received and seem to be stuck in this status. Also, when scanning a QR code linked to one of the App Clip Experiences, nothing happens. We checked and double checked to make sure everything is set up properly. We even had an outside developer look at our code and they confirmed that our code looks correct and it likely like an Apple Issue. We have submitted two claim tickets over the past 3 months and the person currently handling our case keeps sending emails (in response to ours) saying that they still have not heard back from their internal team about our case. At this point, we don't know what to do and we are extremely worried because this starting to financially impact our business. We are not able to take new orders and we may need to start refunding clients for projects that w
Replies
0
Boosts
0
Views
34
Activity
Feb ’26
Reply to LaunchAgent (Mac) as peripheral doesn't show a pairing request.
I chatted with my Core Bluetooth colleague about this, and we’re not entirely sure how the failure you’re seeing can be caused by your execution context. Which isn’t to say that it’s not the case, just that the connection isn’t obvious. I usually debug problems like this in small steps. For example, in your case: I would build my agent as an app, with a menu bar and everything. I’d run that from the Finder (or Xcode) and see if Bluetooth behaves in that case. I’d then set it to run as a launchd agent, but still with the menu bar. And re-test Bluetooth. If that works, you know that the launchd agent context isn’t the cause of your issue. Finally, I’d then switch it to run without a menu bar by setting LSUIElement. And re-test Bluetooth again. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Feb ’26
Really Long Wait time for review and all testflight expired
gettitng this error and also more than 30day longs wait on build reviews { errors : [ { id : , status : 422, code : ENTITY_UNPROCESSABLE.BETA_CONTRACT_MISSING, title : Beta contract is missing for the app., detail : Beta Contract is missing. } ] }
Replies
3
Boosts
0
Views
130
Activity
Feb ’26
Reply to Can NWConnection.receive(minimumIncompleteLength:maximumLength:) return nil data for UDP while connection remains .ready?
[quote='877018022, vishalsehgal, /thread/815465?answerId=877018022#877018022, /profile/vishalsehgal'] We wanted to reduce the kernel overhead of assembling bytes that receiveMessage(completion:) does. [/quote] I have two things to note about this. First, there’s no guarantee that your network connections are being run by the kernel. Our platforms have a user-space networking stack and Network framework will choose that over the in-kernel stack in many common cases. Second, I’m concerned about this concept of “assembling bytes”. In general, UDP datagrams shouldn’t be fragmented and thus there’s no assembling of data at all. A packet arrives, it contains the full UDP datagram, and the content of that datagram is delivered to you. If you’re building something that does fragment UDP datagrams — that is, it sends datagrams that are larger than the path MTU and thus are subject to IP fragmentation — then it’d be better to work on not doing that rather than trying to worry about optimising this path. Moreov
Replies
Boosts
Views
Activity
Feb ’26
Reply to Issue configuring non-consumable IAP
Thanks a lot for your answer! I'm currently trying to re-create an IAP and submit a new build with it. If that doesn't work, I'll create a feedback assistant ticket. Thanks for the suggestion!
Replies
Boosts
Views
Activity
Feb ’26
Reply to Assets duplicating on Xcode 26.1 Beta 3
This is still an issue on 26.3. @SubvertDev What I ended up doing was extracting the Icon Composer rendered icon variants from an Assets.car built with Xcode 26.0.1 and adding those back to the project as pre-rendered icons to the assets catalog. Updating the icons in the future will be a pain, but at least for now the app's compressed thinned size hasn't gone up by >20MB when building with Xcode 26.1 and later.
Replies
Boosts
Views
Activity
Feb ’26
Xcode 26.3: Simulators incorrectly shown as "build only device" — Run (Cmd+R) fails while Build (Cmd+B) and command-line build/deploy succeed
Product Xcode Version 26.3 (26C5131e) Platform macOS / iOS Simulator / iOS Device Classification Bug / Incorrect UI Behaviour Reproducibility Always (persists across restarts, scheme recreation, DerivedData clearing) Date Encountered February 20, 2026 Hardware Mac mini (M2) running macOS Test Device iPhone SE (2nd generation), iOS 26.3 Summary In Xcode 26.3, attempting to run an iOS app on any simulator destination using Cmd+R fails with the error: A build only device cannot be used to run this target. Please select an available device or choose a simulated device as the destination. This occurs despite the selected destination being a valid iOS Simulator (not a build only device). The same project builds successfully using Cmd+B within Xcode and builds, installs, and runs correctly via the command line using xcodebuild, xcrun simctl, and xcrun devicectl. Steps to Reproduce Open a valid iOS project in Xcode 26.3. The project in question has target name h, product name Diabe
Replies
0
Boosts
0
Views
166
Activity
Feb ’26
Live Activity appears briefly then disappears with "Content load failed: unable to find or unarchive file" error
Hi everyone, I’m implementing Live Activities in my iOS app and encountering an issue when starting a Live Activity via an APNS push. The Live Activity card appears on the Lock Screen / Dynamic Island for a moment, then immediately disappears. In the console, I see the following error: Content load failed: unable to find or unarchive file for key: [com.meituan.imeituan-beta::com.meituan.imeituan-beta.liveactivity:Attributes type: SAKUniversalReminderAttributes:6DBCC2DC-E613-48F5-B97F-3EF72AA0877B]:[w:fix-374.00-h:dyn-64.00-160.00-cr:23.5-s:1.0.fam:medium]. The session may still produce one shortly. Error: Using url file:///private/var/mobile/Containers/Data/PluginKitPlugin/04F7B437-3C41-4823-8559-42E18F82B283/SystemData/com.apple.chrono/activities/6DBCC2DC-E613-48F5-B97F-3EF72AA0877B-w:fix-374.00-h:dyn-64.00-160.00-cr:23.5-s:1.0.fam:medium.activity-archive ... Error Domain=NSCocoaErrorDomain Code=4 文件“6DBCC2DC-E613-48F5-B97F-3EF72AA0877B-w/fix-374.00-h/dyn-64.00-160.00-cr/23.5-s/1.0.fam/medium.activi
Replies
0
Boosts
0
Views
103
Activity
Feb ’26
Reply to Xcode is compiling all Swift files one at a time?
I found it! I searched the build settings for build in both apps and just went down the list, comparing every setting. The only difference was User Script Sandboxing, which was Yes in the smaller app and No in the larger app. When I turned that on in the larger app, it built files in batches like the smaller app, and finished in 38 seconds -- that's 21 times faster than before. This is going to make release days so much easier.
Replies
Boosts
Views
Activity
Feb ’26
What should I validate before starting development of a new iOS app?
I take a lot of screenshots such as tickets, ideas, chats, and receipts, but I often forget about them later, so I am considering building an iOS app that asks the purpose of a screenshot as soon as it is taken, lets you assign it to a category, and reminds you after a set number of days to turn screenshots into actions instead of clutter. Before starting development, I would love to know if this feels genuinely useful, whether you would consider paying around $2 per month for it, and what features you would like to see, as I truly appreciate any honest feedback.
Replies
1
Boosts
0
Views
40
Activity
Feb ’26
PKAddPaymentPassViewController cannot be created in TestFlight build despite entitlement being present
We are integrating Apple Pay In-App Provisioning in our banking application using an external SDK. The provisioning flow works on the iOS Simulator (mock sheet appears), but fails on real devices via TestFlight with the error: internalInconsistency: PKAddPaymentPassViewController can not be created Environment: Xcode 16 iOS 18 Real device: iPhone (tested via TestFlight / Distribution build) Card network: Mastercard What we've verified: com.apple.developer.payment-pass-provisioning entitlement is set to YES in our .entitlements file The entitlement is confirmed present in our Development provisioning profile via security cms -D -i embedded.mobileprovision | grep payment-pass → returns PKAddPaymentPassViewController.canAddPaymentPass() returns true on the device The card is NOT already in Apple Wallet (0 local/remote Secure Element passes) All provisioning data is present and valid (encryptedPayload, authorizationCode, primaryAccountSuffix, cardholderName) The external SDK is configured successfully a
Replies
0
Boosts
0
Views
112
Activity
Feb ’26
Reply to Error loading products on iOS TestFlight app
Hi, can you please confirm if you've already set up the product information in App Store Connect for the products you're looking to show in your app? Make sure that the products are shown as Ready to submit after adding all the required metadata so that you can use them in the TestFlight build. I would also highly suggest to take a look at this article around Testing In-App Purchases with sandbox and follow all the steps around checking the agreements, setting up the products in App Store Connect, and creating a sandbox Apple Account. Other useful resources you can check out from the docs: Submit an In-App Purchase Testing subscriptions and In-App Purchases in TestFlight
Replies
Boosts
Views
Activity
Feb ’26