Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Reply to Fitness app not now show saved routes
When the distance filter is set to 5, the time interval between GPS data points while walking can sometimes be quite large, which means that Apple Fitness will not display the training route information. However, when cycling, the speed is higher, resulting in smaller time intervals between two GPS data points, so Apple Fitness will display the training route information. OK, that sound like an issue on the Fitness app then. Thanks for filing the FB17792319. I noticed that your report is mostly in Chinese. It will be even more helpful if you can add English translation so all the Fitness engineers can read. Thanks again. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Jun ’25
Reply to App can't debug on iOS 26 device, but can on iOS 18
It seems to be trying to include XCTest, but its no where in the build phases or frameworks? Anyone seen this issue? I agree that's the likely issue here. In addition to looking in places like the Linked Libraries section of build settings, look in your Build Settings if it's been added to a build setting there. And finally, check the organization of your scheme, under the Build tab. Compare the actions in that tab to that of a brand new project, and which are enabled and not enabled for different target types and actions. — Ed Ford,  DTS Engineer
Jun ’25
Enabling Main Thread Checker in Xcode May Cause Category Method Implementation Conflicts for UI-Related Classes
Environment: Xcode Version: 16.0 (latest stable release) iOS Version: 18.3.1 Devices: physical devices Configuration: Main Thread Checker enabled (Edit Scheme > Run > Diagnostics) Issue Description When the Main Thread Checker is enabled, methods defined in a UIViewController category (e.g., supportedInterfaceOrientations) fail to execute, whereas the subclass implementation of the same method works as expected. This conflicts with the normal behavior where both implementations should be called. Steps to Reproduce 1、Declare a category method in UIViewController+Extend.m: // UIViewController+Extend.m @implementation UIViewController (Extend) - (UIInterfaceOrientationMask)supportedInterfaceOrientations { NSLog(@category supportedInterfaceOrientations hit); return UIInterfaceOrientationMaskAll; } @end 2、Override the same method in a subclass ,call super methed(ViewController.m): // ViewController.m @implementation ViewController - (UIInterfaceOrientationMask)supportedInterfaceOrientations
1
0
184
Jun ’25
Reply to lldbinit file in Xcode
Thank you! I should have noticed that. For the benefit of anyone else reading this, I have just experimented as follows. Create a file called lldbinit containing the single line settings set target.process.thread.step-avoid-regexp ^std::|^string:: Place it in the same directory as my .xcodeproj file In the field you mentioned in Product > Scheme > Info, I set the LLDB Init File field to $(SRCROOT)/lldbinit And indeed, when single-stepping, it now steps over functions in the string namespace instead of stepping into them.
Jun ’25
Reply to lldbinit file in Xcode
I'd like to answer the second question first. The lldb config file can be selected by editing the Run scheme action. Specifically, use the menu bar, go to Product -> Scheme. Make sure the desired scheme is selected, and click on Edit Scheme.... In the pop up window, select the Run action from the column on the left. Then click on the Info tab. The lldbinit file can be specified through the field in the middle. Going back to the first question. Since we can explicitly specify a path to the lldbinit file, we can place it anywhere in the project. Is this sufficient to get you going? Please let us know and I will follow up. Thanks!
Jun ’25
Reply to What will happen to Rosetta 2 in 2027/macOS 28
Hi! Most importantly, will the ability to emulate x86_64 containers and binaries in virtual machines persist? I assume thats a question about Running Intel Binaries in Linux VMs with Rosetta . In this instance, the binaries in question are not relying on system frameworks distributed with the operating system. As the page notes, its about Running x86_64 Linux binaries It's not the same use case as the Rosetta Translation Environment which is about running x86_64 macOS binaries. Will Rosetta 2 be blocked only from the App Store? Rosetta usage on macOS is a system capability, generally transparent to applications, regardless of how they are distributed.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to Worried that Rosetta 2 will eventually be removed - I need some reassurance
I didn’t reply on this thread earlier because Apple had not made any announcements about the future of Rosetta. That’s now changed. Check out the Important box at the top of About the Rosetta translation environment. I realise that you’re not a developer yourself, so this isn’t aimed at you directly. However, it’s something to reference if you decide to discuss this with the various developers involved. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Jun ’25
Pencil "Touches" on Catalyst are interrupted with modifier
I'm working on a catalyst video editor and I'm using my wacom graphic tablet to work. The wacom input gets translated into a pencil touch. Whenever I hold down a modifier (shift, cmd etc) the touch gets ended and also ends all gestures. The mouse (indirectPointer touch) doesn't exhibit this kind of behavior. Is this expected behavior? If so is there a way to opt out? Any way to prevent this? This basically makes the typical transform gestures impossible to do when using the graphic tablet.
2
0
100
Jun ’25
How to pass URL to iOS app from share sheet, and automatically open app?
Hello everyone, I’ve been trying to pass a URL from Safari (or any other app) into my own app via iOS extensions (similar to how if you go to a website, open the share sheet, and hit the ChatGPT app icon, it opens ChatGPT and pastes the website URL into the chat textbox), and I’m hitting a wall. I’ve attempted both a Share Extension (using SLComposeServiceViewController) and a UI-less Action Extension (using extensionContext?.open(...)), but in both scenarios, my main app never opens. Here’s a summary of my setup: Main App Target plist CFBundleURLTypes CFBundleTypeRole Editor CFBundleURLName com.elislothower.URLDisplayApp CFBundleURLSchemes myapp LSApplicationQueriesSchemes This means my custom URL scheme is myapp://. My app delegate (or SwiftUI’s .onOpenURL) correctly handles myapp://share?url=... if I open it directly from Safari. Share Extension Attempt Subclassed SLComposeServiceViewController. Plist had com.apple.share-services as the NSExtensionPointIdentifier. I called extensionCo
3
0
598
Jun ’25
Reply to Updated HTML and Javascript in HTML
I suggest you try material design for buttons and menu, like this... input { height: 48px; width: 280px; border: 1px solid #c0c0c0; border-radius: 4px; box-sizing: border-box; padding: 16px; } .label { position: absolute; top: 0; bottom: 0; left: 16px; display: flex; align-items: center; pointer-events: none; } input, .label .text { font-family: 'Segoe UI'; font-size: 16px; } .label .text { transition: all 0.15s ease-out; color: grey; } input:focus { outline: none; border: 2px solid blue; } input:focus + .label .text, :not(input[value=]) + .label .text { font-size: 12px; transform: translate(0, -150%); background-color: white; padding-left: 4px; padding-right: 4px; } input:focus + .label .text { color: blue; } const input = document.getElementById('fname'); input.addEventListener('input', () => { input.setAttribute('value', input.value); }); Btn1 Button .pure-material-button-contained { position: relative; display: inline-block; box-sizing: border-box; border: none; border-radius: 4px; padding: 0
Topic: Safari & Web SubTopic: General Tags:
Jun ’25
Cannot get Instruments to profile my apps
Hi, I need help to get Instruments running to profile my application. I tried to profile my main app (Qt-5.15-Framework, c++, Intel-arch only) from Xcode. My app starts and Instruments runs time profiler or Leaks for about 15 seconds and the quits. No crash, no message nothing. This has been happening for a while on my Mac Studio M1 Max running macOS 14.7.6 and Xcode 15.4 IDE with a toolchain from Xcode 14.3 for the qmake (qt) project. However, this also happens if i set up a new vanilla Swift UI project from scratch wihtout any Qt stuff. In addition to the Mac Studio I also have Mac Book Pro M4 running macOS 15.5 and Xcode 16.4. On that machine I get the same results, no matter if I try Instruments on my qt project or a vanilla SwiftUI project. Also it does not make a difference if I change the toolchain with: sudo xcode-select -s /Applications/Xcode_143.app or sudo xcode-select -s /Applications/Xcode_164.app. Same results in either case. I also tried switching to Debug build in the editing the scheme
4
0
386
Jun ’25
Unify Native iOS Utility Apps into a Single Modular AI-Enhanced App (Apple Assist)
Hello Apple Developer Community, I'd like to propose a system-wide enhancement for future versions of iOS: the integration of native utility apps — Calculator, Compass, Voice Memos, Magnifier, Measure, Weather, and Translate — into a single unified app, tentatively called Apple Assist. The vision is to provide: A modular interface where users can enable/disable tools as needed. Smarter workflows with proactive suggestions based on context (time, location, task). AI-powered interaction through voice and Apple Intelligence (Advanced Siri). Benefits: Reduces icon clutter on the Home Screen. Simplifies the user experience with a single access point. Creates opportunities for automation and accessibility. Imagine saying: “Hey Siri, record a quick note and measure the table” — and the app smartly loads those modules on demand. Would love to hear feedback from the community — and whether Apple might consider something in this direction for iOS 19 or beyond. Best regards, Jose Luiz Horta Barbosa Maurity Cruz
3
0
104
Jun ’25
Reply to How to remove a version
Not sure you can do it on your own. Did you contact support for help ? To avoid such problem, I use a different scheme for build and version. version is the classical x.y.z and for build, I use the date 20250614. I find there is much less risk of confusion.
Replies
Boosts
Views
Activity
Jun ’25
Reply to Fitness app not now show saved routes
When the distance filter is set to 5, the time interval between GPS data points while walking can sometimes be quite large, which means that Apple Fitness will not display the training route information. However, when cycling, the speed is higher, resulting in smaller time intervals between two GPS data points, so Apple Fitness will display the training route information. OK, that sound like an issue on the Fitness app then. Thanks for filing the FB17792319. I noticed that your report is mostly in Chinese. It will be even more helpful if you can add English translation so all the Fitness engineers can read. Thanks again. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
Jun ’25
Reply to App can't debug on iOS 26 device, but can on iOS 18
It seems to be trying to include XCTest, but its no where in the build phases or frameworks? Anyone seen this issue? I agree that's the likely issue here. In addition to looking in places like the Linked Libraries section of build settings, look in your Build Settings if it's been added to a build setting there. And finally, check the organization of your scheme, under the Build tab. Compare the actions in that tab to that of a brand new project, and which are enabled and not enabled for different target types and actions. — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
Jun ’25
Enabling Main Thread Checker in Xcode May Cause Category Method Implementation Conflicts for UI-Related Classes
Environment: Xcode Version: 16.0 (latest stable release) iOS Version: 18.3.1 Devices: physical devices Configuration: Main Thread Checker enabled (Edit Scheme > Run > Diagnostics) Issue Description When the Main Thread Checker is enabled, methods defined in a UIViewController category (e.g., supportedInterfaceOrientations) fail to execute, whereas the subclass implementation of the same method works as expected. This conflicts with the normal behavior where both implementations should be called. Steps to Reproduce 1、Declare a category method in UIViewController+Extend.m: // UIViewController+Extend.m @implementation UIViewController (Extend) - (UIInterfaceOrientationMask)supportedInterfaceOrientations { NSLog(@category supportedInterfaceOrientations hit); return UIInterfaceOrientationMaskAll; } @end 2、Override the same method in a subclass ,call super methed(ViewController.m): // ViewController.m @implementation ViewController - (UIInterfaceOrientationMask)supportedInterfaceOrientations
Replies
1
Boosts
0
Views
184
Activity
Jun ’25
Reply to lldbinit file in Xcode
Thank you! I should have noticed that. For the benefit of anyone else reading this, I have just experimented as follows. Create a file called lldbinit containing the single line settings set target.process.thread.step-avoid-regexp ^std::|^string:: Place it in the same directory as my .xcodeproj file In the field you mentioned in Product > Scheme > Info, I set the LLDB Init File field to $(SRCROOT)/lldbinit And indeed, when single-stepping, it now steps over functions in the string namespace instead of stepping into them.
Replies
Boosts
Views
Activity
Jun ’25
Reply to lldbinit file in Xcode
I'd like to answer the second question first. The lldb config file can be selected by editing the Run scheme action. Specifically, use the menu bar, go to Product -> Scheme. Make sure the desired scheme is selected, and click on Edit Scheme.... In the pop up window, select the Run action from the column on the left. Then click on the Info tab. The lldbinit file can be specified through the field in the middle. Going back to the first question. Since we can explicitly specify a path to the lldbinit file, we can place it anywhere in the project. Is this sufficient to get you going? Please let us know and I will follow up. Thanks!
Replies
Boosts
Views
Activity
Jun ’25
Reply to What will happen to Rosetta 2 in 2027/macOS 28
Hi! Most importantly, will the ability to emulate x86_64 containers and binaries in virtual machines persist? I assume thats a question about Running Intel Binaries in Linux VMs with Rosetta . In this instance, the binaries in question are not relying on system frameworks distributed with the operating system. As the page notes, its about Running x86_64 Linux binaries It's not the same use case as the Rosetta Translation Environment which is about running x86_64 macOS binaries. Will Rosetta 2 be blocked only from the App Store? Rosetta usage on macOS is a system capability, generally transparent to applications, regardless of how they are distributed.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Worried that Rosetta 2 will eventually be removed - I need some reassurance
I didn’t reply on this thread earlier because Apple had not made any announcements about the future of Rosetta. That’s now changed. Check out the Important box at the top of About the Rosetta translation environment. I realise that you’re not a developer yourself, so this isn’t aimed at you directly. However, it’s something to reference if you decide to discuss this with the various developers involved. 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
Jun ’25
Pencil "Touches" on Catalyst are interrupted with modifier
I'm working on a catalyst video editor and I'm using my wacom graphic tablet to work. The wacom input gets translated into a pencil touch. Whenever I hold down a modifier (shift, cmd etc) the touch gets ended and also ends all gestures. The mouse (indirectPointer touch) doesn't exhibit this kind of behavior. Is this expected behavior? If so is there a way to opt out? Any way to prevent this? This basically makes the typical transform gestures impossible to do when using the graphic tablet.
Replies
2
Boosts
0
Views
100
Activity
Jun ’25
Reply to Pencil "Touches" on Catalyst are interrupted with modifier
wacom input gets translated into a pencil touch. Expected Whenever I hold down a modifier (shift, cmd etc) the touch gets ended and also ends all gestures Not Expected. Please file a Feedback report on that. is there a way to opt out? Any way to prevent this? No
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Realitykit asset loading
In case my message was not very clear, the issues occur when I run the app on the Vision Pro in Debug. In that case the app takes 50 seconds to load ressources versus 2 when I uncheck Debug executable in the scheme.
Replies
Boosts
Views
Activity
Jun ’25
How to pass URL to iOS app from share sheet, and automatically open app?
Hello everyone, I’ve been trying to pass a URL from Safari (or any other app) into my own app via iOS extensions (similar to how if you go to a website, open the share sheet, and hit the ChatGPT app icon, it opens ChatGPT and pastes the website URL into the chat textbox), and I’m hitting a wall. I’ve attempted both a Share Extension (using SLComposeServiceViewController) and a UI-less Action Extension (using extensionContext?.open(...)), but in both scenarios, my main app never opens. Here’s a summary of my setup: Main App Target plist CFBundleURLTypes CFBundleTypeRole Editor CFBundleURLName com.elislothower.URLDisplayApp CFBundleURLSchemes myapp LSApplicationQueriesSchemes This means my custom URL scheme is myapp://. My app delegate (or SwiftUI’s .onOpenURL) correctly handles myapp://share?url=... if I open it directly from Safari. Share Extension Attempt Subclassed SLComposeServiceViewController. Plist had com.apple.share-services as the NSExtensionPointIdentifier. I called extensionCo
Replies
3
Boosts
0
Views
598
Activity
Jun ’25
Reply to Updated HTML and Javascript in HTML
I suggest you try material design for buttons and menu, like this... input { height: 48px; width: 280px; border: 1px solid #c0c0c0; border-radius: 4px; box-sizing: border-box; padding: 16px; } .label { position: absolute; top: 0; bottom: 0; left: 16px; display: flex; align-items: center; pointer-events: none; } input, .label .text { font-family: 'Segoe UI'; font-size: 16px; } .label .text { transition: all 0.15s ease-out; color: grey; } input:focus { outline: none; border: 2px solid blue; } input:focus + .label .text, :not(input[value=]) + .label .text { font-size: 12px; transform: translate(0, -150%); background-color: white; padding-left: 4px; padding-right: 4px; } input:focus + .label .text { color: blue; } const input = document.getElementById('fname'); input.addEventListener('input', () => { input.setAttribute('value', input.value); }); Btn1 Button .pure-material-button-contained { position: relative; display: inline-block; box-sizing: border-box; border: none; border-radius: 4px; padding: 0
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Cannot get Instruments to profile my apps
Hi, I need help to get Instruments running to profile my application. I tried to profile my main app (Qt-5.15-Framework, c++, Intel-arch only) from Xcode. My app starts and Instruments runs time profiler or Leaks for about 15 seconds and the quits. No crash, no message nothing. This has been happening for a while on my Mac Studio M1 Max running macOS 14.7.6 and Xcode 15.4 IDE with a toolchain from Xcode 14.3 for the qmake (qt) project. However, this also happens if i set up a new vanilla Swift UI project from scratch wihtout any Qt stuff. In addition to the Mac Studio I also have Mac Book Pro M4 running macOS 15.5 and Xcode 16.4. On that machine I get the same results, no matter if I try Instruments on my qt project or a vanilla SwiftUI project. Also it does not make a difference if I change the toolchain with: sudo xcode-select -s /Applications/Xcode_143.app or sudo xcode-select -s /Applications/Xcode_164.app. Same results in either case. I also tried switching to Debug build in the editing the scheme
Replies
4
Boosts
0
Views
386
Activity
Jun ’25
Unify Native iOS Utility Apps into a Single Modular AI-Enhanced App (Apple Assist)
Hello Apple Developer Community, I'd like to propose a system-wide enhancement for future versions of iOS: the integration of native utility apps — Calculator, Compass, Voice Memos, Magnifier, Measure, Weather, and Translate — into a single unified app, tentatively called Apple Assist. The vision is to provide: A modular interface where users can enable/disable tools as needed. Smarter workflows with proactive suggestions based on context (time, location, task). AI-powered interaction through voice and Apple Intelligence (Advanced Siri). Benefits: Reduces icon clutter on the Home Screen. Simplifies the user experience with a single access point. Creates opportunities for automation and accessibility. Imagine saying: “Hey Siri, record a quick note and measure the table” — and the app smartly loads those modules on demand. Would love to hear feedback from the community — and whether Apple might consider something in this direction for iOS 19 or beyond. Best regards, Jose Luiz Horta Barbosa Maurity Cruz
Replies
3
Boosts
0
Views
104
Activity
Jun ’25