Search results for

“translate scheme”

6,670 results found

Post

Replies

Boosts

Views

Activity

How to open main app from ShieldActionExtension?
Hi! I'm building a Screen Time management app using FamilyControls and ManagedSettings. When a user taps the primary button on a ShieldActionExtension, I need to open my main app to guide them through an intervention exercise. Other approved App Store apps like Jomo - Screen Time Blocker do exactly this: tapping their shield's primary button opens the main Jomo app directly. Screen recording: https://drive.google.com/file/d/15yubtTdTkFskGCIaAw_HGB57-boHPl3a/view?usp=sharing I've tried: URL schemes (UIApplication.shared.open() unavailable in extensions) Universal links Local notifications (works, but adds an extra tap) NSUserActivity Is there a supported API I'm missing? Or another accepted solution? Any guidance is appreciated.
0
0
203
Feb ’26
Some question about Swift Student Challenge 26
My playground may require that the device has downloaded some resources in advance, such as Apple's advanced voice, translation language... But this is not necessary. It is just an incidental function. If it is not downloaded, the app will prompt that this function is not available and most of the other functions can continue to be used. But I want to know whether the judge's device will download these things in advance, and if not, will the judges think that there is a problem with my app that can't be used normally, which will cause my work to be rejected directly? Because my app uses the API of iOS 26, it needs to run in Xcode, and the competition allows the Apple intelligent function, but it is stipulated that if it runs with Xcode, the app will be tested on the simulator. However, my app involves image playground and cannot run on the simulator. Does anyone have a good solution? Thank you!
1
0
274
Feb ’26
Reply to Xcode Intelligence not accessing Claude config (mcp-servers)
Thanks for the post, was it working well in Xcode 26.2? I was just a few days ago configuring Claude as well to see how it works, there are a few experts in the team and I’ll refer to their expertise as I am still in the process of learning as well. My only suggestion when Xcode 26.3 RC isn’t automatically picking up your for Claude and MCP servers, it may be due to how the environment variables or model configurations are being handled. As I saw Claude running on the terminal, you can verify this by running in your terminal to ensure it returns the expected path. After updating environment variables or scheme settings, fully restart Xcode and any terminal sessions to ensure changes take effect. My thought is that could be permission? Ensure that Xcode and the terminal have read permissions for the and its containing directory. Looking forward to experts here to better guidance!! Awesome question that hopefully becomes a thread of suggestions. Albert Pascual
  Worldwide Developer Relations.
Feb ’26
Reply to System Panic with IOUserSCSIParallelInterfaceController during Dispatch Queue Configuration
Hi Kevin, During the implementation of batch task buffer mapping, we observed an inconsistency between API return values and actual memory addresses, which leads to an immediate system Panic (Kernel Data Abort). Inside the implementation of UserMapBundledParallelTaskCommandAndResponseBuffers, we performed the following operations on the Response Buffer: We invoked CreateMapping(0, 0, 0, 0, 0, &ivars->fResponseMap) on the provided parallelResponseIOMemoryDescriptor. CreateMapping returns kIOReturnSuccess, and the resulting ivars->fResponseMap object pointer is non-null. However, a subsequent call to ivars->fResponseMap->GetAddress() returns NULL (0x0). After the DEXT returns from UserMapBundledParallelTaskCommandAndResponseBuffers with this NULL address, the system immediately triggers a Panic when the kernel attempts to process subsequent discovery commands (e.g., Inquiry). Panic Type: Kernel data abort Fault Address (FAR): 0x0000000000000000 Exception Class (ESR): 0x96000006 (Translation
Topic: App & System Services SubTopic: Drivers Tags:
Feb ’26
Avoid creating dsyms for test targets in Xcode Cloud
Hi, our Xcode Cloud runs produce dsyms for test targets that massively increase the artifacts size, more specifically the Test Products for zip, that slows down the build due to the upload artifacts phase. These dsyms are useless, so we would like to stop producing them on Xcode Cloud builds. Consider that the workflow uses the autogenerated scheme for a package that's part of the Xcode project. How can we tell Xcode Cloud to not produce dsyms?
0
0
139
Feb ’26
Is it possible to instantiate MLModel strictly from memory (Data) to support custom encryption?
We are trying to implement a custom encryption scheme for our Core ML models. Our goal is to bundle encrypted models, decrypt them into memory at runtime, and instantiate the MLModel without the unencrypted model file ever touching the disk. We have looked into the native apple encryption described here https://developer.apple.com/documentation/coreml/encrypting-a-model-in-your-app but it has limitations like not working on intel macs, without SIP, and doesn’t work loading from dylib. It seems like most of the Core ML APIs require a file path, there is MLModelAsset APIs but I think they just write a modelc back to disk when compiling but can’t find any information confirming that (also concerned that this seems to be an older API, and means we need to compile at runtime). I am aware that the native encryption will be much more secure but would like not to have the models in readable text on disk. Does anyone know if this is possible or any alternatives to try to obfuscate the Core ML models, thanks
0
0
497
Feb ’26
Reply to انشاء تطبيق جديد
Thanks for the post and happy you want to create a game. But your post does not provide specific questions we can answer. About the development environment you asked in your post if translate worked well: Development Environment: Xcode: This is Apple's integrated development environment (IDE). You'll need it to write and build your iOS or macOS app. Download it from the Mac App Store. Swift (Programming Language): Swift is Apple's preferred language for iOS/macOS development. It's modern, safe, and relatively easy to learn. UIKit or SwiftUI (User Interface Framework): UIKit: The traditional framework. Mature and highly documented. Might be more suitable if your team is already familiar with it. SwiftUI: Apple's newer, declarative UI framework. Easier to write cleaner and more maintainable code, especially for simple layouts. Consider this if you're starting fresh. We will focus on SwiftUI for this guide. Here are a few suggestions that might help it attract more attention: Provide more details: Expan
Topic: Graphics & Games SubTopic: General Tags:
Feb ’26
Reply to Background Upload Extension
How frequently will the extension trigger upload? That's a tricky question, as it's managed by Photos as part of its larger background work infrastructure. I suspect that its scheduling frequency will be roughly similar to BGProcessingTask, which generally runs roughly once a day while the device is charging/idle. However: The scheduling here is in terms of the worker that eventually runs your extension, NOT the extension itself. So the worker running once might actually translate to multiple runs of your extension. Just like the BackgroundTask framework, I'd be careful about inferring what normal behavior will look like based on individual device testing, ESPECIALLY on development devices. All of this scheduling is driven by the device tracking its own usage pattern, which can vary widely. Is iOS considering also background refresh task usage and background processing task usage to determine the frequency of the upload handled by the Upload Extension? No, I don't think so. Photos is handling all of
Topic: Media Technologies SubTopic: General Tags:
Feb ’26
Reply to Tone, Sentiment, language analysis on iPhone - Ideas
Hi @YTerhorst, You're on the right track by mentioning CoreML and Natural Language. The most straightforward approach would be to utilize Natural Language Framework, which has built-in and on-device capabilities for text sentiment analysis. You can use NLTagger with the sentimentScore NLTagScheme to determine the sentiment polarity of text. This scheme assigns a score ranging from -1.0 (most negative) to 1.0 (most positive), with 0.0 indicating a neutral sentiment. Additionally, Foundation Models framework offers a lot of functionality for analyzing text using an optimized on-device language model. Finally, if you're looking for a more custom implementation, you can look into CoreML, which allows your app to utilize custom machine learning models. In regards to user privacy, a good place to get started is with our design guidelines around privacy. Best, -J
Feb ’26
Reply to Unable to launch tests in Xcode 26
We're also getting the same error ... encountered an error (The test runner hung before establishing connection.) We tried nearly everything, including disabling the Thread Performance Checker in the test scheme shutting down all emulators via xcrun simctl shutdown all and erasing them xcrun simctl erase all force killing any potential hanging simulators beforehand clearing all Simulator logs and caches restarting the machine(s) But this still keeps popping up intermittently. We're using Xcode 26.2. Any tips on what we might want to try next? Thanks!
Feb ’26
Rosetta 2 Deadlock on M4 Pro
Rosetta 2 Deadlock on M4 Pro January 2026 Blizzard update causes a deadlock in Rosetta 2 on M4 chips. CodeWeavers (the developer of CrossOver) has analyzed the issue and identified it as a Rosetta translation failure, not a CrossOver application-level bug. Hardware: M4 Pro Mac Book Pro System: Tahoe 26.2 Impacted Software: CrossOver 25.1.1 Diablo II: Resurrected
17
0
3.7k
Feb ’26
Reply to How to properly localize AppIntent dialogs for Siri?
Thank you for the explanation! Xcode did add the localized string key %@ timer started. to my string catalog as you correctly assumed, and I have provided a proper translation: %@ Timer gestartet. However, I still don't understand why Siri does not translate the %@ part properly. When it's 10 seconds in English, it also reads 10 seconds when Siri is set to German with the number 10 being correctly translated (zehn instead of ten) but not the unit (seconds where it should read Sekunden). Summary & Overview: Localized String Key: %@ timer started. English output: Displayed text: 10 seconds timer started. Spoken by Siri: Ten seconds timer started. 🇺🇸🇺🇸🇺🇸🇺🇸 German output: Displayed text: 10 seconds Timer gestartet. Spoken by Siri: Zehn seconds Timer gestartet. 🇩🇪🇺🇸🇩🇪🇩🇪 where zehn is German, but seconds is English. This seems to be a bug? I will wrap this as a minimal example in an Xcode project to file a Feedback report and share the ID here once I've done that, as y
Feb ’26
Reply to String Catalog stops updating upon changing source code
But once that string is translated If by this you mean that it has translations in other languages, then Xcode is expected to update the value and mark translations as needing review automatically. But if the source string itself is already marked as translated in the xcstrings file, then you are already in a conflicted state where there is a value in code and also a source value in the xcstrings. In that case, it is expected because Xcode will never change the value of a source string that is marked as translated in the source language. It is only allowed to do so if the state is new. When such a string with a default value from code first appears in the String Catalog, it will have a state of new. The String Catalog Editor then prevents editing this string from the Catalog because the code defined the value and we don't want conflicting state. But perhaps in your case something or someone went into the JSON and flipped it to translated. In that case, thi
Jan ’26
Reply to String Catalog stops updating upon changing source code
Thanks for the post. It seems like you have not received any replies. I think I have a suggestions for you to get people to see the issue you encountering by providing a little project sample. I am not aware of any localization issues at this time. So once that string is translated, changing the default value in code and rebuilding does not update the catalog? Or is there a way to determine what strings have default values in code that do not match the catalog values to see if any were missed as wording was tweaked over time? It’s been a long time since I use that, when I was using it I did periodically export my localization files using Xcode's Editor > Export for Localization.... This created an XLIFF file that I can diff against previous versions to spot discrepancies between default values in code and your localization files. Now, I think many developers are experts in localization and they can provide you great suggestions but I think that if you provide a little focused sample that shows in
Jan ’26
How to open main app from ShieldActionExtension?
Hi! I'm building a Screen Time management app using FamilyControls and ManagedSettings. When a user taps the primary button on a ShieldActionExtension, I need to open my main app to guide them through an intervention exercise. Other approved App Store apps like Jomo - Screen Time Blocker do exactly this: tapping their shield's primary button opens the main Jomo app directly. Screen recording: https://drive.google.com/file/d/15yubtTdTkFskGCIaAw_HGB57-boHPl3a/view?usp=sharing I've tried: URL schemes (UIApplication.shared.open() unavailable in extensions) Universal links Local notifications (works, but adds an extra tap) NSUserActivity Is there a supported API I'm missing? Or another accepted solution? Any guidance is appreciated.
Replies
0
Boosts
0
Views
203
Activity
Feb ’26
Some question about Swift Student Challenge 26
My playground may require that the device has downloaded some resources in advance, such as Apple's advanced voice, translation language... But this is not necessary. It is just an incidental function. If it is not downloaded, the app will prompt that this function is not available and most of the other functions can continue to be used. But I want to know whether the judge's device will download these things in advance, and if not, will the judges think that there is a problem with my app that can't be used normally, which will cause my work to be rejected directly? Because my app uses the API of iOS 26, it needs to run in Xcode, and the competition allows the Apple intelligent function, but it is stipulated that if it runs with Xcode, the app will be tested on the simulator. However, my app involves image playground and cannot run on the simulator. Does anyone have a good solution? Thank you!
Replies
1
Boosts
0
Views
274
Activity
Feb ’26
Reply to Xcode Intelligence not accessing Claude config (mcp-servers)
Thanks for the post, was it working well in Xcode 26.2? I was just a few days ago configuring Claude as well to see how it works, there are a few experts in the team and I’ll refer to their expertise as I am still in the process of learning as well. My only suggestion when Xcode 26.3 RC isn’t automatically picking up your for Claude and MCP servers, it may be due to how the environment variables or model configurations are being handled. As I saw Claude running on the terminal, you can verify this by running in your terminal to ensure it returns the expected path. After updating environment variables or scheme settings, fully restart Xcode and any terminal sessions to ensure changes take effect. My thought is that could be permission? Ensure that Xcode and the terminal have read permissions for the and its containing directory. Looking forward to experts here to better guidance!! Awesome question that hopefully becomes a thread of suggestions. Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
Feb ’26
Reply to System Panic with IOUserSCSIParallelInterfaceController during Dispatch Queue Configuration
Hi Kevin, During the implementation of batch task buffer mapping, we observed an inconsistency between API return values and actual memory addresses, which leads to an immediate system Panic (Kernel Data Abort). Inside the implementation of UserMapBundledParallelTaskCommandAndResponseBuffers, we performed the following operations on the Response Buffer: We invoked CreateMapping(0, 0, 0, 0, 0, &ivars->fResponseMap) on the provided parallelResponseIOMemoryDescriptor. CreateMapping returns kIOReturnSuccess, and the resulting ivars->fResponseMap object pointer is non-null. However, a subsequent call to ivars->fResponseMap->GetAddress() returns NULL (0x0). After the DEXT returns from UserMapBundledParallelTaskCommandAndResponseBuffers with this NULL address, the system immediately triggers a Panic when the kernel attempts to process subsequent discovery commands (e.g., Inquiry). Panic Type: Kernel data abort Fault Address (FAR): 0x0000000000000000 Exception Class (ESR): 0x96000006 (Translation
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Feb ’26
Avoid creating dsyms for test targets in Xcode Cloud
Hi, our Xcode Cloud runs produce dsyms for test targets that massively increase the artifacts size, more specifically the Test Products for zip, that slows down the build due to the upload artifacts phase. These dsyms are useless, so we would like to stop producing them on Xcode Cloud builds. Consider that the workflow uses the autogenerated scheme for a package that's part of the Xcode project. How can we tell Xcode Cloud to not produce dsyms?
Replies
0
Boosts
0
Views
139
Activity
Feb ’26
Is it possible to instantiate MLModel strictly from memory (Data) to support custom encryption?
We are trying to implement a custom encryption scheme for our Core ML models. Our goal is to bundle encrypted models, decrypt them into memory at runtime, and instantiate the MLModel without the unencrypted model file ever touching the disk. We have looked into the native apple encryption described here https://developer.apple.com/documentation/coreml/encrypting-a-model-in-your-app but it has limitations like not working on intel macs, without SIP, and doesn’t work loading from dylib. It seems like most of the Core ML APIs require a file path, there is MLModelAsset APIs but I think they just write a modelc back to disk when compiling but can’t find any information confirming that (also concerned that this seems to be an older API, and means we need to compile at runtime). I am aware that the native encryption will be much more secure but would like not to have the models in readable text on disk. Does anyone know if this is possible or any alternatives to try to obfuscate the Core ML models, thanks
Replies
0
Boosts
0
Views
497
Activity
Feb ’26
Reply to انشاء تطبيق جديد
Thanks for the post and happy you want to create a game. But your post does not provide specific questions we can answer. About the development environment you asked in your post if translate worked well: Development Environment: Xcode: This is Apple's integrated development environment (IDE). You'll need it to write and build your iOS or macOS app. Download it from the Mac App Store. Swift (Programming Language): Swift is Apple's preferred language for iOS/macOS development. It's modern, safe, and relatively easy to learn. UIKit or SwiftUI (User Interface Framework): UIKit: The traditional framework. Mature and highly documented. Might be more suitable if your team is already familiar with it. SwiftUI: Apple's newer, declarative UI framework. Easier to write cleaner and more maintainable code, especially for simple layouts. Consider this if you're starting fresh. We will focus on SwiftUI for this guide. Here are a few suggestions that might help it attract more attention: Provide more details: Expan
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Background Upload Extension
How frequently will the extension trigger upload? That's a tricky question, as it's managed by Photos as part of its larger background work infrastructure. I suspect that its scheduling frequency will be roughly similar to BGProcessingTask, which generally runs roughly once a day while the device is charging/idle. However: The scheduling here is in terms of the worker that eventually runs your extension, NOT the extension itself. So the worker running once might actually translate to multiple runs of your extension. Just like the BackgroundTask framework, I'd be careful about inferring what normal behavior will look like based on individual device testing, ESPECIALLY on development devices. All of this scheduling is driven by the device tracking its own usage pattern, which can vary widely. Is iOS considering also background refresh task usage and background processing task usage to determine the frequency of the upload handled by the Upload Extension? No, I don't think so. Photos is handling all of
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Tone, Sentiment, language analysis on iPhone - Ideas
Hi @YTerhorst, You're on the right track by mentioning CoreML and Natural Language. The most straightforward approach would be to utilize Natural Language Framework, which has built-in and on-device capabilities for text sentiment analysis. You can use NLTagger with the sentimentScore NLTagScheme to determine the sentiment polarity of text. This scheme assigns a score ranging from -1.0 (most negative) to 1.0 (most positive), with 0.0 indicating a neutral sentiment. Additionally, Foundation Models framework offers a lot of functionality for analyzing text using an optimized on-device language model. Finally, if you're looking for a more custom implementation, you can look into CoreML, which allows your app to utilize custom machine learning models. In regards to user privacy, a good place to get started is with our design guidelines around privacy. Best, -J
Replies
Boosts
Views
Activity
Feb ’26
Reply to Unable to launch tests in Xcode 26
We're also getting the same error ... encountered an error (The test runner hung before establishing connection.) We tried nearly everything, including disabling the Thread Performance Checker in the test scheme shutting down all emulators via xcrun simctl shutdown all and erasing them xcrun simctl erase all force killing any potential hanging simulators beforehand clearing all Simulator logs and caches restarting the machine(s) But this still keeps popping up intermittently. We're using Xcode 26.2. Any tips on what we might want to try next? Thanks!
Replies
Boosts
Views
Activity
Feb ’26
Reply to String Catalog stops updating upon changing source code
Thank you @Developer Tools Engineer, that explains it. In our project the JSON was modified to remove the extractionState key/value and change state in en from new to translated. The issue does not replicate in a new project. It wasn't intuitive to us the en string state should stay new.
Replies
Boosts
Views
Activity
Feb ’26
Rosetta 2 Deadlock on M4 Pro
Rosetta 2 Deadlock on M4 Pro January 2026 Blizzard update causes a deadlock in Rosetta 2 on M4 chips. CodeWeavers (the developer of CrossOver) has analyzed the issue and identified it as a Rosetta translation failure, not a CrossOver application-level bug. Hardware: M4 Pro Mac Book Pro System: Tahoe 26.2 Impacted Software: CrossOver 25.1.1 Diablo II: Resurrected
Replies
17
Boosts
0
Views
3.7k
Activity
Feb ’26
Reply to How to properly localize AppIntent dialogs for Siri?
Thank you for the explanation! Xcode did add the localized string key %@ timer started. to my string catalog as you correctly assumed, and I have provided a proper translation: %@ Timer gestartet. However, I still don't understand why Siri does not translate the %@ part properly. When it's 10 seconds in English, it also reads 10 seconds when Siri is set to German with the number 10 being correctly translated (zehn instead of ten) but not the unit (seconds where it should read Sekunden). Summary & Overview: Localized String Key: %@ timer started. English output: Displayed text: 10 seconds timer started. Spoken by Siri: Ten seconds timer started. 🇺🇸🇺🇸🇺🇸🇺🇸 German output: Displayed text: 10 seconds Timer gestartet. Spoken by Siri: Zehn seconds Timer gestartet. 🇩🇪🇺🇸🇩🇪🇩🇪 where zehn is German, but seconds is English. This seems to be a bug? I will wrap this as a minimal example in an Xcode project to file a Feedback report and share the ID here once I've done that, as y
Replies
Boosts
Views
Activity
Feb ’26
Reply to String Catalog stops updating upon changing source code
But once that string is translated If by this you mean that it has translations in other languages, then Xcode is expected to update the value and mark translations as needing review automatically. But if the source string itself is already marked as translated in the xcstrings file, then you are already in a conflicted state where there is a value in code and also a source value in the xcstrings. In that case, it is expected because Xcode will never change the value of a source string that is marked as translated in the source language. It is only allowed to do so if the state is new. When such a string with a default value from code first appears in the String Catalog, it will have a state of new. The String Catalog Editor then prevents editing this string from the Catalog because the code defined the value and we don't want conflicting state. But perhaps in your case something or someone went into the JSON and flipped it to translated. In that case, thi
Replies
Boosts
Views
Activity
Jan ’26
Reply to String Catalog stops updating upon changing source code
Thanks for the post. It seems like you have not received any replies. I think I have a suggestions for you to get people to see the issue you encountering by providing a little project sample. I am not aware of any localization issues at this time. So once that string is translated, changing the default value in code and rebuilding does not update the catalog? Or is there a way to determine what strings have default values in code that do not match the catalog values to see if any were missed as wording was tweaked over time? It’s been a long time since I use that, when I was using it I did periodically export my localization files using Xcode's Editor > Export for Localization.... This created an XLIFF file that I can diff against previous versions to spot discrepancies between default values in code and your localization files. Now, I think many developers are experts in localization and they can provide you great suggestions but I think that if you provide a little focused sample that shows in
Replies
Boosts
Views
Activity
Jan ’26