Search results for

“translate scheme”

6,670 results found

Post

Replies

Boosts

Views

Activity

BLE audio packet loss on iPhone 17 (Bluetooth 6 / N1) in real-time streaming
Hello Apple Bluetooth team, We are developing a real-time call translation system that streams raw PCM audio over BLE between iPhone and custom earbuds. This works reliably on iPhone 14 / 15 / 16, but on iPhone 17 (Bluetooth 6, N1 chip) we see severe and repeatable BLE packet loss, affecting both microphone uplink and TTS downlink. Our audio stream 16 kHz, 16-bit mono PCM 20 ms frames (~640 bytes) continuous bidirectional BLE streaming What happens on iPhone 17 BLE packets are frequently dropped entire audio frames are missing results in ASR gaps and broken TTS playback occurs even with strong RSSI and no RF interference Same firmware, same BLE protocol, same MTU and connection interval work normally on older iPhones. Questions We would like to know: Did Bluetooth 6 / N1 change BLE throughput, buffering, or scheduling? Are there new limits on sustained notify / write-without-response traffic? Is BLE audio now arbitrated differently against Wi-Fi / A2DP on iPhone 17? Is BLE still expected to support l
2
0
285
Jan ’26
Reply to Push To Talk framework doesn't active audio session in background
Now the problem. When the application was initially in the foreground and has an established server connection, we initially keep the server connection active when the app enters the background state, until a certain timeout or the system decides our app needs to be killed/removed from memory. This allows us to finish an incoming audio stream, quickly react on incoming responses, etc. When we then receive an incoming audio stream after a certain delay (for example, 5 seconds), we call the channelManager.setRemoteParticipant method (using try await syntax). So, the short summary is that this should just work. More specifically, all PTT apps are allowed to initiate playback at any time by calling setRemoteParticipant(), even if they're in the background. In particular, what you're describing here: we initially keep the server connection active when the app enters the background state, until a certain timeout or the system decides our app needs to be killed/removed from memory. ...is actually pretty common to mo
Topic: App & System Services SubTopic: General Tags:
Jan ’26
XCUIDevice.shared.appearance = .dark no longer works when running UI tests via xcodebuild on newer iOS versions
I am seeing a regression with XCUIDevice.shared.appearance = .dark in UI tests that only affects xcodebuild, not Xcode’s UI test runner. Setup • UI tests written using XCTest • Dark mode forced in setUp() using: XCUIDevice.shared.appearance = .dark • Tests target an iOS simulator • Same test target, same scheme Expected behavior The app launches in Dark Mode for UI tests, as it did previously. Actual behavior • When running UI tests from Xcode (Product > Test), Dark Mode is applied correctly. • When running the same UI tests via xcodebuild test, Dark Mode is ignored and the app launches in Light Mode. • No test failures, no warnings, no logs indicating the appearance override was skipped. Regression details • This used to work on older iOS versions when running via xcodebuild. • The regression appears after updating iOS simulators (exact version boundary still unclear). • No relevant changes were made to the test code, scheme, or CI configuration. • xcodebuild otherwise launches and runs
1
0
109
Jan ’26
Bug: Xcode 26.2 wants `ENABLE_DEBUG_DYLIB`: How do I enable that in `Package.swift`?
Xcode tells me Previewing in executable targets now requires a new build layout for unoptimized builds. Either set ENABLE_DEBUG_DYLIB to YES for this target, or break out your preview code into a separate framework with its own scheme. How do enable that in Package.swift. swiftSettings don't work (.define and unsafeFlags with -D ...). Creating a library product that the executable then depends on doesn't help either. I have two targets, one is an executable target. The #Preview macro is in the non-executable target.
2
0
208
Jan ’26
Reply to Uploading SPI error: Validation failed (409) The app contains one or more corrupted binaries. Rebuild the app and resubmit. NSUnderlyingError : Validation failed (-19241) The app contains one or more corrupted binaries. Rebuild the app and resubmit
In a comment, @txzkbs said: 感谢您的回复!您提供的几个关于这个问题的问答,我之前就已经尝试过了,今天再次去试,无论是重新让Xcode生成桥接头文件,还是检查other linker.... 最终的结果都是报错: Validation failed (409) The app contains one or more corrupted binaries. Rebuild the app and resubmit. (ID: d9bb0d99-4116-41bb-aa6d-f4cad6353887) 非常奇怪,始终是同样的错误码和错误提示,没有具体的信息,期待您的再次回复,感谢! With some help from a machine translation of what you wrote above, I understand that you tried some things from the threads that my colleague linked to. Can you be specific about what you tried, including the command line tools that you used and the results of those commands? Additionally, if you haven't opened a bug report regarding this with your app's .ipa file attached, please do so and share the FB number here so I can locate it. — Ed Ford,  DTS Engineer
Jan ’26
Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier: { id:45967BD9-44E0-4D5D-8C43-C5437F48836A }
Hello I am using 26.2 (25C56) on my m4 air. when I am working on a Flutter project suddenly my app crashed and after when I tried to build the application again this error occurs. How to fix it. ? Launching lib/main.dart on iPhone 16e in debug mode... Xcode build done. 2.4s Failed to build iOS app Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier: { id:45967BD9-44E0-4D5D-8C43-C5437F48836A }Available destinations for the Runner scheme: { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008132-001E5102020B801C, name:My Mac } { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } Could not build the application for the simulator. Error launching application on iPhone 16e.
1
0
114
Jan ’26
WebAuthenticationSession doesn't seem to do anything on macOS
I'm attempting to use WebAuthenticationSession from Authentication Services (https://developer.apple.com/documentation/authenticationservices/webauthenticationsession) in a SwiftUI app on macOS. According to the docs, it is supported since macOS 13.3 and I'm testing on 26. I'm deploying the same code to iOS as well, and it works there in a simulator, but I sometimes have to tap the button that triggers the authenticate(…) call more than once. I've attached a simplified and redacted version of the code below. It works on iOS, but on macOS the authenticate call never returns. There seems to be very little documentation and discussion about this API and I'm running out of ideas for getting this to work. Is this just a bug that Apple hasn't noticed? import SwiftUI import AuthenticationServices import Combine struct PreAuthView: View { @Binding var appState: AppState @Binding var credentials: Credentials? @Environment(.webAuthenticationSession) private var webAuthenticationSession @State private var plist: String
Topic: UI Frameworks SubTopic: SwiftUI
3
0
71
Jan ’26
Xcode Interface Localization
I understand that mastering essential English skills is fundamental for developers. However, as a Chinese developer, having an IDE with a Chinese interface when encountering Xcode operational issues can absolutely make development work twice as effective with half the effort. A native-language interface environment allows us to focus all our energy on project development. Xcode exists as our development “tool” to facilitate our work, not as another knowledge point requiring study—which could waste significant effort. Don't let an interface turn our beloved tool into a burden. Translated with DeepL.com (free version)
1
0
184
Jan ’26
Reply to iOS 26 fails to automatically switch to [system settings - personal hotspot ] directly from application ]
[quote='871489022, MikasaAlen, /thread/805248?answerId=871489022#871489022, /profile/MikasaAlen'] Does iOS 26 completely prohibit the use of private APIs? [/quote] It’s best not to think about this stuff in terms of public and private APIs. Rather, there are APIs, the public things that we specifically publish for third-party developers to use, and implementation details, meaning everything else. Once you think about it this way, the consequences are clear: If you use APIs, you can reasonably expect consistent behaviour. If you rely on implementation details, the behaviour can change between different OS releases, different device types, different users, and so on. [quote='871489022, MikasaAlen, /thread/805248?answerId=871489022#871489022, /profile/MikasaAlen'] And is the only recommended method for opening the [Settings app] now the use of [UIApplicationOpenSettingsURLString] API? [/quote] Supported URL Schemes lists lots of different APIs for opening Settings, each focused on a specific test. But i
Topic: App & System Services SubTopic: General Tags:
Jan ’26
Reply to Text with Liquid Glass effect
You'd need to generate a set of Path instances from the characters in your text. This is only really suitable for small amounts, e.g. the Welcome animation or clock digits, etc., because it's not the most performant thing. Also, bigger text is better. Lastly, remember to wrap it all in a GlassEffectContainer to avoid each character's glass being rendered in a discrete pass. Actually lastly: you'll need to adjust the location of the text using .offset(x:y:) or by tweaking the path creation to include better offset translations. This is my quick & dirty attempt. Since .glassEffect() is designed similarly to a fill API, you need something non-empty to 'fill' with your text. Color.clear gets elided by the rendering engine, but what I've found is that Color.white.opacity(0) works to cause an actual (invisible) view to render and take up space during layout calculations. And now: the code! This was written for tvOS, so it uses BIG fonts and offsets to write big numbers. I had it draw a counter that inc
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’26
Reply to Activating a Container App from a Custom Keyboard Extension to Enable Continuous Voice Input While Preserving the Original Typing Context
I see the community bringing this up from time to time, and so would like to take this chance to hopefully get it sorted. For the clarify of the discussion, I'd split this question into three parts: Does App Review guideline allow a keyboard extension to launch its container app? If yes, is there any API to do so? Is there any API for the container app to bring the host app back to the foreground? The first part is about App Review policy, and so only the App Review team has the final answer, but looking into the App Review Guideline, you can see the following related to keyboard extensions: 4.4.1 Keyboard extensions have some additional rules. ... They must not: Launch other apps besides Settings; Here the guideline uses other apps, rather than simply apps or any app. I believe that means to say that launching the container app is allowed. To make sure my understanding is correct, I've reached out my App Review colleague, and they've confirmed that launching the container app from a keyboard extension (to do
Topic: App & System Services SubTopic: General Tags:
Jan ’26
Reply to iOS 26 fails to automatically switch to [system settings - personal hotspot ] directly from application ]
[quote='869978022, MikasaAlen, /thread/805248?answerId=869978022#869978022, /profile/MikasaAlen'] iOS 26 only provides an API to jump to the [Settings app] path? [/quote] Not quite. It has APIs to get to various locations within Settings. I’ve includes links to all the ones I know about in Supported URL Schemes. [quote='869978022, MikasaAlen, /thread/805248?answerId=869978022#869978022, /profile/MikasaAlen'] Will attempts to jump to other submenus in the system settings be redirected here by default? [/quote] If you attempt to navigate to specific Settings pages by opening undocumented URLs, you’re exercising implementation details. The exact behaviour you get isn’t documented and may change from release to release. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Jan ’26
Reply to Zsh kills Python process with plenty of available VM
I see, thank you for pointing this out. So it is not a percentage, but an actual number of pages. Could you expand a little on how to interpret in your previous answer? So, stepping back for a moment, the basic issue here is deciding when should the kernel stop just blindly backing memory. It COULD (and, historically, did) just limit that to total available storage; however, in practice, that just means the machine grinds itself into a useless state without actually failing. So, what macOS does is artificially limit the VM system to ensure that the machine remains always in a functional state. The next question then becomes how to implement that limit. There are lots of places you COULD limit the VM system, but the problem is that the VM system is complicated enough that many obvious metrics don't really work. For example, purgable memory[1] means that simply dirty pages doesn't necessarily work“ - a process could have a very large number of dirty pages, but if they're all purgable, they shouldn't really coun
Jan ’26
Reply to Unable to launch tests in Xcode 26
@giantramen I faced the same issue with my app, which also uses Unity. I was able to resolve it and run tests on the simulator by disabling the Thread Performance Checker in the test scheme.
Replies
Boosts
Views
Activity
Jan ’26
BLE audio packet loss on iPhone 17 (Bluetooth 6 / N1) in real-time streaming
Hello Apple Bluetooth team, We are developing a real-time call translation system that streams raw PCM audio over BLE between iPhone and custom earbuds. This works reliably on iPhone 14 / 15 / 16, but on iPhone 17 (Bluetooth 6, N1 chip) we see severe and repeatable BLE packet loss, affecting both microphone uplink and TTS downlink. Our audio stream 16 kHz, 16-bit mono PCM 20 ms frames (~640 bytes) continuous bidirectional BLE streaming What happens on iPhone 17 BLE packets are frequently dropped entire audio frames are missing results in ASR gaps and broken TTS playback occurs even with strong RSSI and no RF interference Same firmware, same BLE protocol, same MTU and connection interval work normally on older iPhones. Questions We would like to know: Did Bluetooth 6 / N1 change BLE throughput, buffering, or scheduling? Are there new limits on sustained notify / write-without-response traffic? Is BLE audio now arbitrated differently against Wi-Fi / A2DP on iPhone 17? Is BLE still expected to support l
Replies
2
Boosts
0
Views
285
Activity
Jan ’26
Reply to Push To Talk framework doesn't active audio session in background
Now the problem. When the application was initially in the foreground and has an established server connection, we initially keep the server connection active when the app enters the background state, until a certain timeout or the system decides our app needs to be killed/removed from memory. This allows us to finish an incoming audio stream, quickly react on incoming responses, etc. When we then receive an incoming audio stream after a certain delay (for example, 5 seconds), we call the channelManager.setRemoteParticipant method (using try await syntax). So, the short summary is that this should just work. More specifically, all PTT apps are allowed to initiate playback at any time by calling setRemoteParticipant(), even if they're in the background. In particular, what you're describing here: we initially keep the server connection active when the app enters the background state, until a certain timeout or the system decides our app needs to be killed/removed from memory. ...is actually pretty common to mo
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’26
XCUIDevice.shared.appearance = .dark no longer works when running UI tests via xcodebuild on newer iOS versions
I am seeing a regression with XCUIDevice.shared.appearance = .dark in UI tests that only affects xcodebuild, not Xcode’s UI test runner. Setup • UI tests written using XCTest • Dark mode forced in setUp() using: XCUIDevice.shared.appearance = .dark • Tests target an iOS simulator • Same test target, same scheme Expected behavior The app launches in Dark Mode for UI tests, as it did previously. Actual behavior • When running UI tests from Xcode (Product > Test), Dark Mode is applied correctly. • When running the same UI tests via xcodebuild test, Dark Mode is ignored and the app launches in Light Mode. • No test failures, no warnings, no logs indicating the appearance override was skipped. Regression details • This used to work on older iOS versions when running via xcodebuild. • The regression appears after updating iOS simulators (exact version boundary still unclear). • No relevant changes were made to the test code, scheme, or CI configuration. • xcodebuild otherwise launches and runs
Replies
1
Boosts
0
Views
109
Activity
Jan ’26
Bug: Xcode 26.2 wants `ENABLE_DEBUG_DYLIB`: How do I enable that in `Package.swift`?
Xcode tells me Previewing in executable targets now requires a new build layout for unoptimized builds. Either set ENABLE_DEBUG_DYLIB to YES for this target, or break out your preview code into a separate framework with its own scheme. How do enable that in Package.swift. swiftSettings don't work (.define and unsafeFlags with -D ...). Creating a library product that the executable then depends on doesn't help either. I have two targets, one is an executable target. The #Preview macro is in the non-executable target.
Replies
2
Boosts
0
Views
208
Activity
Jan ’26
Reply to Uploading SPI error: Validation failed (409) The app contains one or more corrupted binaries. Rebuild the app and resubmit. NSUnderlyingError : Validation failed (-19241) The app contains one or more corrupted binaries. Rebuild the app and resubmit
In a comment, @txzkbs said: 感谢您的回复!您提供的几个关于这个问题的问答,我之前就已经尝试过了,今天再次去试,无论是重新让Xcode生成桥接头文件,还是检查other linker.... 最终的结果都是报错: Validation failed (409) The app contains one or more corrupted binaries. Rebuild the app and resubmit. (ID: d9bb0d99-4116-41bb-aa6d-f4cad6353887) 非常奇怪,始终是同样的错误码和错误提示,没有具体的信息,期待您的再次回复,感谢! With some help from a machine translation of what you wrote above, I understand that you tried some things from the threads that my colleague linked to. Can you be specific about what you tried, including the command line tools that you used and the results of those commands? Additionally, if you haven't opened a bug report regarding this with your app's .ipa file attached, please do so and share the FB number here so I can locate it. — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
Jan ’26
Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier: { id:45967BD9-44E0-4D5D-8C43-C5437F48836A }
Hello I am using 26.2 (25C56) on my m4 air. when I am working on a Flutter project suddenly my app crashed and after when I tried to build the application again this error occurs. How to fix it. ? Launching lib/main.dart on iPhone 16e in debug mode... Xcode build done. 2.4s Failed to build iOS app Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier: { id:45967BD9-44E0-4D5D-8C43-C5437F48836A }Available destinations for the Runner scheme: { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008132-001E5102020B801C, name:My Mac } { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } Could not build the application for the simulator. Error launching application on iPhone 16e.
Replies
1
Boosts
0
Views
114
Activity
Jan ’26
Reply to Memory leak when no draw calls issued to encoder
It appears the memory consumption was due to the Shader and API Validation I had enabled in my scheme. Once I disabled these, memory use went back down to normal.
Replies
Boosts
Views
Activity
Jan ’26
WebAuthenticationSession doesn't seem to do anything on macOS
I'm attempting to use WebAuthenticationSession from Authentication Services (https://developer.apple.com/documentation/authenticationservices/webauthenticationsession) in a SwiftUI app on macOS. According to the docs, it is supported since macOS 13.3 and I'm testing on 26. I'm deploying the same code to iOS as well, and it works there in a simulator, but I sometimes have to tap the button that triggers the authenticate(…) call more than once. I've attached a simplified and redacted version of the code below. It works on iOS, but on macOS the authenticate call never returns. There seems to be very little documentation and discussion about this API and I'm running out of ideas for getting this to work. Is this just a bug that Apple hasn't noticed? import SwiftUI import AuthenticationServices import Combine struct PreAuthView: View { @Binding var appState: AppState @Binding var credentials: Credentials? @Environment(.webAuthenticationSession) private var webAuthenticationSession @State private var plist: String
Topic: UI Frameworks SubTopic: SwiftUI
Replies
3
Boosts
0
Views
71
Activity
Jan ’26
Xcode Interface Localization
I understand that mastering essential English skills is fundamental for developers. However, as a Chinese developer, having an IDE with a Chinese interface when encountering Xcode operational issues can absolutely make development work twice as effective with half the effort. A native-language interface environment allows us to focus all our energy on project development. Xcode exists as our development “tool” to facilitate our work, not as another knowledge point requiring study—which could waste significant effort. Don't let an interface turn our beloved tool into a burden. Translated with DeepL.com (free version)
Replies
1
Boosts
0
Views
184
Activity
Jan ’26
Reply to iOS 26 fails to automatically switch to [system settings - personal hotspot ] directly from application ]
[quote='871489022, MikasaAlen, /thread/805248?answerId=871489022#871489022, /profile/MikasaAlen'] Does iOS 26 completely prohibit the use of private APIs? [/quote] It’s best not to think about this stuff in terms of public and private APIs. Rather, there are APIs, the public things that we specifically publish for third-party developers to use, and implementation details, meaning everything else. Once you think about it this way, the consequences are clear: If you use APIs, you can reasonably expect consistent behaviour. If you rely on implementation details, the behaviour can change between different OS releases, different device types, different users, and so on. [quote='871489022, MikasaAlen, /thread/805248?answerId=871489022#871489022, /profile/MikasaAlen'] And is the only recommended method for opening the [Settings app] now the use of [UIApplicationOpenSettingsURLString] API? [/quote] Supported URL Schemes lists lots of different APIs for opening Settings, each focused on a specific test. But i
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’26
Reply to Text with Liquid Glass effect
You'd need to generate a set of Path instances from the characters in your text. This is only really suitable for small amounts, e.g. the Welcome animation or clock digits, etc., because it's not the most performant thing. Also, bigger text is better. Lastly, remember to wrap it all in a GlassEffectContainer to avoid each character's glass being rendered in a discrete pass. Actually lastly: you'll need to adjust the location of the text using .offset(x:y:) or by tweaking the path creation to include better offset translations. This is my quick & dirty attempt. Since .glassEffect() is designed similarly to a fill API, you need something non-empty to 'fill' with your text. Color.clear gets elided by the rendering engine, but what I've found is that Color.white.opacity(0) works to cause an actual (invisible) view to render and take up space during layout calculations. And now: the code! This was written for tvOS, so it uses BIG fonts and offsets to write big numbers. I had it draw a counter that inc
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’26
Reply to Activating a Container App from a Custom Keyboard Extension to Enable Continuous Voice Input While Preserving the Original Typing Context
I see the community bringing this up from time to time, and so would like to take this chance to hopefully get it sorted. For the clarify of the discussion, I'd split this question into three parts: Does App Review guideline allow a keyboard extension to launch its container app? If yes, is there any API to do so? Is there any API for the container app to bring the host app back to the foreground? The first part is about App Review policy, and so only the App Review team has the final answer, but looking into the App Review Guideline, you can see the following related to keyboard extensions: 4.4.1 Keyboard extensions have some additional rules. ... They must not: Launch other apps besides Settings; Here the guideline uses other apps, rather than simply apps or any app. I believe that means to say that launching the container app is allowed. To make sure my understanding is correct, I've reached out my App Review colleague, and they've confirmed that launching the container app from a keyboard extension (to do
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’26
Reply to iOS 26 fails to automatically switch to [system settings - personal hotspot ] directly from application ]
[quote='869978022, MikasaAlen, /thread/805248?answerId=869978022#869978022, /profile/MikasaAlen'] iOS 26 only provides an API to jump to the [Settings app] path? [/quote] Not quite. It has APIs to get to various locations within Settings. I’ve includes links to all the ones I know about in Supported URL Schemes. [quote='869978022, MikasaAlen, /thread/805248?answerId=869978022#869978022, /profile/MikasaAlen'] Will attempts to jump to other submenus in the system settings be redirected here by default? [/quote] If you attempt to navigate to specific Settings pages by opening undocumented URLs, you’re exercising implementation details. The exact behaviour you get isn’t documented and may change from release to release. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’26
Reply to Zsh kills Python process with plenty of available VM
I see, thank you for pointing this out. So it is not a percentage, but an actual number of pages. Could you expand a little on how to interpret in your previous answer? So, stepping back for a moment, the basic issue here is deciding when should the kernel stop just blindly backing memory. It COULD (and, historically, did) just limit that to total available storage; however, in practice, that just means the machine grinds itself into a useless state without actually failing. So, what macOS does is artificially limit the VM system to ensure that the machine remains always in a functional state. The next question then becomes how to implement that limit. There are lots of places you COULD limit the VM system, but the problem is that the VM system is complicated enough that many obvious metrics don't really work. For example, purgable memory[1] means that simply dirty pages doesn't necessarily work“ - a process could have a very large number of dirty pages, but if they're all purgable, they shouldn't really coun
Replies
Boosts
Views
Activity
Jan ’26