Search results for

“translate scheme”

6,671 results found

Post

Replies

Boosts

Views

Activity

A Summary of the WWDC25 Group Lab - Apple Intelligence
At WWDC25 we launched a new type of Lab event for the developer community - Group Labs. A Group Lab is a panel Q&A designed for a large audience of developers. Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the WWDC25 Group Lab for Apple Intelligence. Can I integrate writing tools in my own text editor? UITextView, NSTextView, and SwiftUI TextEditor automatically get Writing Tools on devices that support Apple Intelligence. For custom text editors, check out Enhancing your custom text engine with Writing Tools. Given that Foundation Models are on-device, how will Apple update the models over time? And how should we test our app against the model updates? Model updates are in sync with OS updates. As for testing with updated models, watch our WWDC session about prompt engineering and safety, and read the Human Interface Guidelines to understand best practices in prompting the on-device model. What
2
0
309
Jul ’25
Apple Music iOS 26 features in Android
Since many users like me use Apple Music on Android, the app is almost as feature-rich as iOS. It would be fantastic if the developers could add the new iOS 26 features to the Android app, along with a minor UI change. I know it’s challenging to implement liquid glass on Android hardware or design, but features like auto-mix, pronunciation, and translation could be added. kindly consider this request !!!!
1
0
222
Jul ’25
Reply to The customized GPX file for Xcode 16 cannot be selected.
Hi guys. I still haven't solved this gpx issue completely. But I have found a temporary solution. First, I tried hablo's solution that mentioned above. And I could add custom gpx file when I ran my app. At this time, I can also add a new scheme or edit a scheme. I could change default location in Options menu. So, I changed default location to my custom gpx file. And then I rebooted my Mac. When I excuted my xcode file, I couldn't add my custom gpx file also. The default location I changed hadn't my custom gpx file on the list. But, I could change GPS when I ran my app. I can't write my mention fluently. But I want to share this solution for you guys who don't want to reboot every time for a custom gpx. Thank you. :)
Jul ’25
Feature Proposal: CrossRun
Hi everyone! I've considered this — what if Apple added a native system-wide feature in all of iOS, iPadOS, and macOS called “CrossRun” where you can natively execute non-App Store software like Windows or Linux apps natively on your device? But not in a sluggish emulator—this would use intelligent Apple-signed Just-In-Time (JIT) compilation inside the virtual containers, and the experience would actually perform fast and feel natural. This is my vision for CrossRun: Every developer, student, creative professional, and enterprise user who relies on specialized software—whether it’s legacy Windows tools, Linux-only applications, or vintage DOS and Classic Mac utilities—feels the pain of platform lock‑in. Artists can’t run niche Linux‑based graphics programs on their iPads. Engineers can’t test x64‑only binaries on Apple Silicon without juggling emulators. Retro‑gaming fans miss their favorite DOS titles. Even enterprises struggle to standardize on Apple hardware because critical Windows‑only applications won’t
1
0
233
Jul ’25
Workspace with multiple targets for same framework
Hi ! I'm currently stuck with an issue on Xcode, I'll try explain to the best I can :-) I have a workspace (that I need to keep that way, I can't split projects) that contains multiple projects. I have 2 frameworks : Core and Draw. Draw depends on Core. So far so good. I needed to create a test application that can be modular and link my framewok, but also other drawing frameworks. To that extend, I created a CardLIbrary framewok, and a CardAdapter framewok, and I linked them into the test application. Test App └── DrawCardAdapter │ └── CardAdapter │ └── CardLibrary │ └── Core │ └── TCA (SPM) │ └── Draw │ └── Core Here, all dependencies are local ones if not stated otherwise (for the SPM). CardLibrary is a framework that generates only UI (linked to Core for logging purposes, nothing fancy). I also added TCA which is a SPM dependency, it may generate some issues after. CardAdapter is an abstraction for CardLibrary. Basically, it acts as an interface between CardLibrary and Test Application. DrawCardAdapter is
1
0
189
May ’25
Reply to Getting a basic URL Filter to work
I initially believed the API to be near useless because I didn’t know of its “fuzzy matching” capabilities, which I’ve discovered by accident in a forum post. It’d be nice if those were documented somewhere! We are updating the documentation to include the URL parsing method used by Network Extension URL Filter. Here is brief explanation, for each URL request, the system parses out the URLs into sub-URLs before performing the URL matching against the Bloom filter and if necessary, the PIR server. The parsing parses out the URL scheme, domain, port, path, query, etc and composes possible sub-URLs for matching.
Jul ’25
SwiftUI Gestures: Sequenced Long Press and Drag
In creating a sequenced gesture combining a LongPressGesture and a DragGesture, I found that the combined gesture exhibits two problems: The @GestureState does not properly update as the gesture progresses through its phases. Specifically, the updating(_:body:) closure (documented here) is only ever executed during the drag interaction. Long presses and drag-releases do not call the updating(_:body:) closure. Upon completing the long press gesture and activating the drag gesture, the drag gesture remains empty until the finger or cursor has moved. The expected behavior is for the drag gesture to begin even when its translation is of size .zero. This second problem – the nonexistence of a drag gesture once the long press has completed – prevents access to the location of the long-press-then-drag. Access to this location is critical for displaying to the user that the drag interaction has commenced. The below code is based on Apple's example presented here. I've highlighted the failure points in the co
7
0
1.6k
Mar ’25
.navigationTitle and List misbehaving with a Map()
When navigated to another view with a NavigationStack or NavigationView, the .navigationTitle modifying a List or Form containing a Map() gets quirky when trying to show the title. The back button is displayed correctly, but the title does not follow the same color scheme as the List of Form, rather it is white with a divider underneath it. It's like it is confusing the .inline with the .large navigation display modes. This doesn't just show up in the simulator, but on actual devices too. This is a test main view... import SwiftUI struct ContentView: View { var body: some View { NavigationStack { NavigationLink(destination: MapErrorView()) { Text(Map View) } } } } This is a test navigated view... import SwiftUI import MapKit struct MapErrorView: View { var body: some View { NavigationStack { Form { Section(header: Text(Map of the US States)) { Text(Map Error) Map() .frame(height: 220) } } .navigationTitle(Map Error) .navigationBarTitleDisplayMode(.large) } } } Attached is an image showing this error
3
0
172
Jul ’25
Reply to Imitating a grip on an object
Hi @Adamc93 Could you try replacing your thumbPos and littlePos calculations with the following code? let thumbPos = simd_make_float3((anchors.originFromAnchorTransform * thumb.anchorFromJointTransform).columns.3) let littlePos = simd_make_float3((anchors.originFromAnchorTransform * little.anchorFromJointTransform).columns.3) The key difference here being that by multiplying by the originFromAnchorTransform matrix the positions you've calculated will then be in world-space (instead of anchor-space), which is the same coordinate space that it appears your wandEntity is in as well. Just to be safe you can also update the code that sets the translation and rotation of your wandEntity to the following to ensure that you are updating the world-space position and orientation of your entity (as opposed to the local-space translation and rotation): wandEntity.setPosition(midPos, relativeTo: nil) wandEntity.setOrientation(rotation, relativeTo: nil) Let me know if you have any other questions! P.S. Co
Topic: Spatial Computing SubTopic: General Tags:
Jul ’25
A Summary of the WWDC25 Group Lab - visionOS
At WWDC25 we launched a new type of Lab event for the developer community - Group Labs. A Group Lab is a panel Q&A designed for a large audience of developers. Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the WWDC25 Group Lab for visionOS. I saw that there is a new way to add SwiftUI View attachments in my RealityView, what advantages does this have over the old way? Attachments can now be added directly to your entities with ViewAttachmentComponent. The removes the need to declare your attachments upfront in your RealityView initializer and then add those attachments as child entities. The new approach provides greater flexibility. Canyon Crosser and Petite Asteroids both utilize the new approach. ManipulationComponent looks really cool! Right now my app has a series of complicated custom gestures. What gestures does it handle for me exactly, and are there any situations where I should prefer m
4
0
343
Jul ’25
Reply to Translation API not working without the Apple Translate app installed
Reviewing the documentation and WWDC session I don't see anything about the Translation framework requiring the Translate app being installed. Unless I missed something, this could be bug. However, the settings area for the Translate app appears to be he place where you manage and download languages to available to the Translation framework. Are you making appropriate checks to make sure the languages you are trying to use are installed and available for translation? Please see the directions starting at ~ 12:00 in the following presentation for how to check if a language is available: Meet the Translation API If those checks fail, you can present directions for the user explaining how to fix the problem instead of crashing. If that does not help, our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reprodu
Jul ’25
Reply to Using Processor Trace on Non-Xcode Built Binary
Thanks so much for the response! clang and rustc (by design on Rust' part, to be clear!) are sufficiently similar that it was pretty easy to translate between C++ and Rust! Your tips/suggestions almost worked for me, except that the binary would be sigkilled'd immediately after launch. I did some rubber-duck debugging using Claude, and it—rather impressively!—pointed out in https://claude.ai/share/5a4ca3ca-9e98-4e2a-b9ae-71b49c6983cf that the entitlement I needed to use was com.apple.security.get-task-allow, not com.apple.security-get-task-allow. Instruments' diagnostic contained a typo! Once I fixed this typo, I was able to use the Processor Trace instrument via xctrace. Of course, since this is beta software, which I hit a few bugs, which I'll cover at the end of this post. Apple silicon code must be signed, so the linker automatically applies an ad-hoc signature. You can see this if you dump the hello tool before re-signing it: [dump redacted] If you’re going to re-sign the binary anyway, you can
Jul ’25
Reply to WatchOS HealthKit HKObserverQuery crashes in background
@DTS Engineer Yes, we would greatly appreciate if Apple could look into this issue. This crash has already generated tens of thousands of crash reports in our app's backend, and we've also observed several similar crash logs in other health-related apps on Apple Watch. Thank you very much for your attention to this matter. ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Incident Identifier: 74A69084-446E-461C-9401-FC97A426180B CrashReporter Key: 7d3c0ace745a10af53054a01d91601a47d39d41e Hardware Model: Watch7,5 Identifier: com.abc.watchkitapp Version: 2.1.0 (967) Code Type: ARM-64 (Native) Role: Non UI Parent Process: launchd [1] Coalition: com.abc.watchkitapp [633] Date/Time: 2025-07-02 20:38:25.6084 +0800 Launch Time: 2025-07-02 19:01:28.0292 +0800 OS Version: Watch OS 26.0 (23R5296f) Release Type: User Baseband Version: Report Version: 104 Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Ter
Jul ’25
A Summary of the WWDC25 Group Lab - Apple Intelligence
At WWDC25 we launched a new type of Lab event for the developer community - Group Labs. A Group Lab is a panel Q&A designed for a large audience of developers. Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the WWDC25 Group Lab for Apple Intelligence. Can I integrate writing tools in my own text editor? UITextView, NSTextView, and SwiftUI TextEditor automatically get Writing Tools on devices that support Apple Intelligence. For custom text editors, check out Enhancing your custom text engine with Writing Tools. Given that Foundation Models are on-device, how will Apple update the models over time? And how should we test our app against the model updates? Model updates are in sync with OS updates. As for testing with updated models, watch our WWDC session about prompt engineering and safety, and read the Human Interface Guidelines to understand best practices in prompting the on-device model. What
Replies
2
Boosts
0
Views
309
Activity
Jul ’25
Apple Music iOS 26 features in Android
Since many users like me use Apple Music on Android, the app is almost as feature-rich as iOS. It would be fantastic if the developers could add the new iOS 26 features to the Android app, along with a minor UI change. I know it’s challenging to implement liquid glass on Android hardware or design, but features like auto-mix, pronunciation, and translation could be added. kindly consider this request !!!!
Replies
1
Boosts
0
Views
222
Activity
Jul ’25
Reply to The customized GPX file for Xcode 16 cannot be selected.
Hi guys. I still haven't solved this gpx issue completely. But I have found a temporary solution. First, I tried hablo's solution that mentioned above. And I could add custom gpx file when I ran my app. At this time, I can also add a new scheme or edit a scheme. I could change default location in Options menu. So, I changed default location to my custom gpx file. And then I rebooted my Mac. When I excuted my xcode file, I couldn't add my custom gpx file also. The default location I changed hadn't my custom gpx file on the list. But, I could change GPS when I ran my app. I can't write my mention fluently. But I want to share this solution for you guys who don't want to reboot every time for a custom gpx. Thank you. :)
Replies
Boosts
Views
Activity
Jul ’25
API to query OS Name
Is there an API to query for OS Name based on major OS Version number or otherwise ?? For example : 15.5 translates to Sequoia
Replies
2
Boosts
0
Views
79
Activity
Jul ’25
Feature Proposal: CrossRun
Hi everyone! I've considered this — what if Apple added a native system-wide feature in all of iOS, iPadOS, and macOS called “CrossRun” where you can natively execute non-App Store software like Windows or Linux apps natively on your device? But not in a sluggish emulator—this would use intelligent Apple-signed Just-In-Time (JIT) compilation inside the virtual containers, and the experience would actually perform fast and feel natural. This is my vision for CrossRun: Every developer, student, creative professional, and enterprise user who relies on specialized software—whether it’s legacy Windows tools, Linux-only applications, or vintage DOS and Classic Mac utilities—feels the pain of platform lock‑in. Artists can’t run niche Linux‑based graphics programs on their iPads. Engineers can’t test x64‑only binaries on Apple Silicon without juggling emulators. Retro‑gaming fans miss their favorite DOS titles. Even enterprises struggle to standardize on Apple hardware because critical Windows‑only applications won’t
Replies
1
Boosts
0
Views
233
Activity
Jul ’25
Workspace with multiple targets for same framework
Hi ! I'm currently stuck with an issue on Xcode, I'll try explain to the best I can :-) I have a workspace (that I need to keep that way, I can't split projects) that contains multiple projects. I have 2 frameworks : Core and Draw. Draw depends on Core. So far so good. I needed to create a test application that can be modular and link my framewok, but also other drawing frameworks. To that extend, I created a CardLIbrary framewok, and a CardAdapter framewok, and I linked them into the test application. Test App └── DrawCardAdapter │ └── CardAdapter │ └── CardLibrary │ └── Core │ └── TCA (SPM) │ └── Draw │ └── Core Here, all dependencies are local ones if not stated otherwise (for the SPM). CardLibrary is a framework that generates only UI (linked to Core for logging purposes, nothing fancy). I also added TCA which is a SPM dependency, it may generate some issues after. CardAdapter is an abstraction for CardLibrary. Basically, it acts as an interface between CardLibrary and Test Application. DrawCardAdapter is
Replies
1
Boosts
0
Views
189
Activity
May ’25
Reply to Getting a basic URL Filter to work
I initially believed the API to be near useless because I didn’t know of its “fuzzy matching” capabilities, which I’ve discovered by accident in a forum post. It’d be nice if those were documented somewhere! We are updating the documentation to include the URL parsing method used by Network Extension URL Filter. Here is brief explanation, for each URL request, the system parses out the URLs into sub-URLs before performing the URL matching against the Bloom filter and if necessary, the PIR server. The parsing parses out the URL scheme, domain, port, path, query, etc and composes possible sub-URLs for matching.
Replies
Boosts
Views
Activity
Jul ’25
Reply to 打开显示HUD图形后,应用崩溃
Hello, Please resubmit your question in English. Feel free to use translation software.
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Jul ’25
SwiftUI Gestures: Sequenced Long Press and Drag
In creating a sequenced gesture combining a LongPressGesture and a DragGesture, I found that the combined gesture exhibits two problems: The @GestureState does not properly update as the gesture progresses through its phases. Specifically, the updating(_:body:) closure (documented here) is only ever executed during the drag interaction. Long presses and drag-releases do not call the updating(_:body:) closure. Upon completing the long press gesture and activating the drag gesture, the drag gesture remains empty until the finger or cursor has moved. The expected behavior is for the drag gesture to begin even when its translation is of size .zero. This second problem – the nonexistence of a drag gesture once the long press has completed – prevents access to the location of the long-press-then-drag. Access to this location is critical for displaying to the user that the drag interaction has commenced. The below code is based on Apple's example presented here. I've highlighted the failure points in the co
Replies
7
Boosts
0
Views
1.6k
Activity
Mar ’25
.navigationTitle and List misbehaving with a Map()
When navigated to another view with a NavigationStack or NavigationView, the .navigationTitle modifying a List or Form containing a Map() gets quirky when trying to show the title. The back button is displayed correctly, but the title does not follow the same color scheme as the List of Form, rather it is white with a divider underneath it. It's like it is confusing the .inline with the .large navigation display modes. This doesn't just show up in the simulator, but on actual devices too. This is a test main view... import SwiftUI struct ContentView: View { var body: some View { NavigationStack { NavigationLink(destination: MapErrorView()) { Text(Map View) } } } } This is a test navigated view... import SwiftUI import MapKit struct MapErrorView: View { var body: some View { NavigationStack { Form { Section(header: Text(Map of the US States)) { Text(Map Error) Map() .frame(height: 220) } } .navigationTitle(Map Error) .navigationBarTitleDisplayMode(.large) } } } Attached is an image showing this error
Replies
3
Boosts
0
Views
172
Activity
Jul ’25
Reply to Imitating a grip on an object
Hi @Adamc93 Could you try replacing your thumbPos and littlePos calculations with the following code? let thumbPos = simd_make_float3((anchors.originFromAnchorTransform * thumb.anchorFromJointTransform).columns.3) let littlePos = simd_make_float3((anchors.originFromAnchorTransform * little.anchorFromJointTransform).columns.3) The key difference here being that by multiplying by the originFromAnchorTransform matrix the positions you've calculated will then be in world-space (instead of anchor-space), which is the same coordinate space that it appears your wandEntity is in as well. Just to be safe you can also update the code that sets the translation and rotation of your wandEntity to the following to ensure that you are updating the world-space position and orientation of your entity (as opposed to the local-space translation and rotation): wandEntity.setPosition(midPos, relativeTo: nil) wandEntity.setOrientation(rotation, relativeTo: nil) Let me know if you have any other questions! P.S. Co
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’25
A Summary of the WWDC25 Group Lab - visionOS
At WWDC25 we launched a new type of Lab event for the developer community - Group Labs. A Group Lab is a panel Q&A designed for a large audience of developers. Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the WWDC25 Group Lab for visionOS. I saw that there is a new way to add SwiftUI View attachments in my RealityView, what advantages does this have over the old way? Attachments can now be added directly to your entities with ViewAttachmentComponent. The removes the need to declare your attachments upfront in your RealityView initializer and then add those attachments as child entities. The new approach provides greater flexibility. Canyon Crosser and Petite Asteroids both utilize the new approach. ManipulationComponent looks really cool! Right now my app has a series of complicated custom gestures. What gestures does it handle for me exactly, and are there any situations where I should prefer m
Replies
4
Boosts
0
Views
343
Activity
Jul ’25
Reply to Translation API not working without the Apple Translate app installed
Reviewing the documentation and WWDC session I don't see anything about the Translation framework requiring the Translate app being installed. Unless I missed something, this could be bug. However, the settings area for the Translate app appears to be he place where you manage and download languages to available to the Translation framework. Are you making appropriate checks to make sure the languages you are trying to use are installed and available for translation? Please see the directions starting at ~ 12:00 in the following presentation for how to check if a language is available: Meet the Translation API If those checks fail, you can present directions for the user explaining how to fix the problem instead of crashing. If that does not help, our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reprodu
Replies
Boosts
Views
Activity
Jul ’25
Reply to Using Processor Trace on Non-Xcode Built Binary
Thanks so much for the response! clang and rustc (by design on Rust' part, to be clear!) are sufficiently similar that it was pretty easy to translate between C++ and Rust! Your tips/suggestions almost worked for me, except that the binary would be sigkilled'd immediately after launch. I did some rubber-duck debugging using Claude, and it—rather impressively!—pointed out in https://claude.ai/share/5a4ca3ca-9e98-4e2a-b9ae-71b49c6983cf that the entitlement I needed to use was com.apple.security.get-task-allow, not com.apple.security-get-task-allow. Instruments' diagnostic contained a typo! Once I fixed this typo, I was able to use the Processor Trace instrument via xctrace. Of course, since this is beta software, which I hit a few bugs, which I'll cover at the end of this post. Apple silicon code must be signed, so the linker automatically applies an ad-hoc signature. You can see this if you dump the hello tool before re-signing it: [dump redacted] If you’re going to re-sign the binary anyway, you can
Replies
Boosts
Views
Activity
Jul ’25
Reply to WatchOS HealthKit HKObserverQuery crashes in background
@DTS Engineer Yes, we would greatly appreciate if Apple could look into this issue. This crash has already generated tens of thousands of crash reports in our app's backend, and we've also observed several similar crash logs in other health-related apps on Apple Watch. Thank you very much for your attention to this matter. ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Incident Identifier: 74A69084-446E-461C-9401-FC97A426180B CrashReporter Key: 7d3c0ace745a10af53054a01d91601a47d39d41e Hardware Model: Watch7,5 Identifier: com.abc.watchkitapp Version: 2.1.0 (967) Code Type: ARM-64 (Native) Role: Non UI Parent Process: launchd [1] Coalition: com.abc.watchkitapp [633] Date/Time: 2025-07-02 20:38:25.6084 +0800 Launch Time: 2025-07-02 19:01:28.0292 +0800 OS Version: Watch OS 26.0 (23R5296f) Release Type: User Baseband Version: Report Version: 104 Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Ter
Replies
Boosts
Views
Activity
Jul ’25