Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

TabView on IPAD (IOS18.1)
Dear friends, I am trying to use IOS18 API for TabView. Below code works well on simulator Iphone 16 Pro Max. But, it failed to show UI on simulator Ipad Pro 13 . TabView(selection: $selectedTab) { Tab(Test1, systemImage: bubble.left.and.bubble.right, value: .translation) { TestViewOne() } Tab(Test2, systemImage: character.textbox, value: .ruby) { TestViewTwo() } Tab(Test3, systemImage: person.crop.circle, value: .browser) { TestViewThree() } } There are 3 tabs, none of them can show the view (TestViewOne TestViewTwo TestViewThree ) until pressing button 4 (red 4 in the attached image). The view could show in the sidebar area instead of normal UI area, Is there any suggestions for this? thank you very much!
1
0
92
Jun ’25
Reply to İphon X iOS 18 almıyor beta
Safari translates this as: My iPhone X model phone iOS 18 update didn't come it doesn't work in beta programs can you help. iOS 18 is not compatible with iPhone X. This has been known since last June 2024's WWDC. You cannot install iOS 18 or later versions on your iPhone X. You are limited to iOS 17.x. If you want iOS 18 or later you will have to get a newer iPhone.
Jun ’25
Failed to open URL asynchronously
I have a problem with the URL schemes under iOS 18. Data is being sent from one app to another app. The amount of data varies. It can sometimes be more than 5 MB. With iOS 18, errors often occur when sending large amounts of data. The error message is: Failed to open URL asynchronously. If I send the data once again in this case, it works. To reproduce the error quickly, I wrote two small apps. AppA sends data to AppB. AppB calls AppA and AppA sends data to AppB again. The whole thing runs in an endless loop. Code snippet: // AppA // The file to which fileUrl points contains a 4 MB string. // The string consists of only one letter “AAAAAA....” let dataStr = try String(contentsOf: fileUrl, encoding: .utf8) if let url = URL(string: appb://receive?data=(dataStr)) { UIApplication.shared.open(url, options: [:]) { (result) in if !result { os_log(can't open url, type: .error) } } } // AppB DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) { if let returnUrl = URL(string: appa://return) { UIApplication.s
Topic: UI Frameworks SubTopic: UIKit Tags:
3
0
230
Jun ’25
Unstable behavior of xcodebuild -showdestinations
Hi, I am having an issue with xcodebuild -showdestinations command. Steps to reproduce: Create a new iOS application project in Xcode or use an existing one. Navigate to this project in a terminal. Run xcodebuild -project 'your-project-name.xcodeproj' -scheme 'your-scheme' -showdestinations What I expect: All destinations available in the Xcode UI should be listed. What I get: It depends. For new projects, I consistently get only generic platform destinations and my connected physical device. When I run the same command on an older project, I sometimes see all the expected destinations. It seems to be a roughly 50/50 chance between the two outcomes. Is there a way to get consistent results from xcodebuild -showdestinations? What can I do to ensure all destinations are listed reliably? Here is a more detailed log and a screenshot: ❯ xcodebuild -workspace 'WorkoutDiary.xcworkspace' -scheme 'WorkoutDiary' -showdestinations Command line invocation: /Applications/Xcode.app/Contents/Devel
2
0
341
Jun ’25
Reply to dSYMs not generating in Release Build
That's a bit strange, normally it's the other way around, dSYM being included in release build and not in debug. Check your schemes and make sure Archive is using Release config. Then under your project's build settings select All and Levels instead of Combined. Make sure DWARF with dSYM is selected for your release builds and that Strip Debug Symbols During Copy is set to No. Is your project relatively new? Does it have an Info.plist?
Jun ’25
Reply to Is there a way to avoid generating InfoPlist.xcstrings for framework targets?
Hello, Xcode knows that these keys in frameworks are typically not displayed to the user, so it automatically marks them as “Don’t Translate”. This way, they can still be translated if needed by removing the “Don’t Translate” status. When exporting to an xcloc/XLIFF file, the element will have the translate=no attribute to indicate this. That attribute can be removed by the developer or translator if it turns out it does need to be translated (for example because the CFBundleName is being manually looked up and displayed by the framework code).
Jun ’25
How to Complete the Apple Developer Program Enrollment
How to Complete the Apple Developer Program Enrollment I want to register an Apple Developer account. I've communicated many times with Apple technical Advisors via email but haven't received effective solutions. The most recent reply was: 经核实,我们已经将你的请求升级到相关运营团队,如果有进一步的消息,我们会尽快通知你。 Here's the English translation: After verification, we have escalated your request to the relevant operations team. If there are any updates, we will notify you as soon as possible. Almost every time I get the same response, but there's been no progress. Could other developers in the forum give me some advice? How should I communicate to successfully complete the registration? Additional background information: I previously submitted my documents and passed the review, but encountered issues at the payment stage when using a credit card. I asked the advisor whether alternative payment methods were possible if I couldn't use a credit card—I just wanted to understand the options. However, my application was directly revoked
1
0
87
Apr ’25
Does "Locked and hidden apps" feature of iOS 18 support deep link?
Our app includes showing external web service with WebView or Safari and returning to the app with custom URL scheme or universal link. When we set Hide and Require Face ID feature which was available on iOS 18, neither custom URL scheme nor universal link activated the app. If we only set Require Face ID, the deep link worked properly. Here is what we've tried: Define custom URL scheme or universal link in the app https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app Implement external web service with one of the following frameworks ASWebAuthenticationSession https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/ SFSafariViewController https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller Safari WKWebView https://developer.apple.com/documentation/webkit/wkwebview On iOS 18 device, install
3
0
1.8k
Jun ’25
Reply to Does "Locked and hidden apps" feature of iOS 18 support deep link?
Sorry I didn’t reply sooner. At the time this thread started I wasn’t supporting universal links. [quote='763107021, kariaduu, /thread/763107, /profile/kariaduu'] Does hide app feature support custom URL scheme and universal link? [/quote] Another developer filed a bug about this (FB14973639) and the conclusion there is that this is behaving correctly. When an app is hidden, the system behaves as if the app isn’t installed. This affects a variety of features, including URL schemes and universal links. 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
Reply to 我在PySide6项目中使用pyobject调用WkWebView程序卡死
Sadly, I don’t read Chinese, so I’m replying here based on a machine translation of your question. Note that you’re not stuck in mmap_locked, but rather dlmmap_locked. This is part of libffi, which is included in the Darwin open source. See here. This is gonna be tricky because, as explained in the comments for that code, its aim is to create a block of memory that’s both executable and writeable. Modern versions of macOS try really hard to prevent that, for obvious security reasons. However, in my experience such problems usually manifest as an error rather than with your app getting stuck. To work out what’s going on there I need a full spin dump. Generate this like so: % sudo spindump PID where PID is the process ID of your app. The spin dump will likely be too large to post here, so upload it to your favourite file sharing service and post a link. See tip 14 in Quinn’s Top Ten DevForums Tips for advice on how to post links. IMPORTANT Make sure the link doesn’t require me to log in. Share and Enjo
Jun ’25
Wrong InfoPlist.strings file used by the app
I recently added a new language to my app and I have an issue regarding the localization. Configuration: I have the developmentRegion in fr and setup 2 localizations: French: Development language and Danish The goal is to have the application in Danish language if the preferred language is Danish and French otherwise. Issue: If French or Danish appear in my preferred languages, I have no problem. But if neither French nor Danish was set as preferred language (like only English), I have the app translation in French as expected but all strings regarding app permission like NSLocationWhenInUseUsageDescription in system modal alert are in Danish. Is like the localizable.strings file used is in the fr.lproj and the InfoPlist.strings is the da.lproj debug I verify I have all the strings files at the right repository. I have: fr.lproj -- Localizable.strings -- InfoPlist.strings da.lproj -- Localizable.strings -- InfoPlist.strings I verify the file architecture in the .app file: find ***.app -name *.strings
6
0
2.4k
Sep ’23
Reply to Failed to open URL asynchronously
I have created a bug report (FB18172172) We want to exchange data between apps without storing data anywhere. This rules out the possibility of AppGroups. If there is any problem when exchanging data and starting the recipient app, the data should simply be gone and not be stored anywhere. The Share extensions are also ruled out because the user should not see a dialog when the other app is started. In addition, the data should only be exchanged with our apps. The whole thing should also work without the Internet. A server is therefore also out of the question. Data exchange using URL schemes has worked wonderfully in recent years. Only with the new versions has something changed without it being documented or it is a bug. If there is an even better way, please let me know.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’25
TabView on IPAD (IOS18.1)
Dear friends, I am trying to use IOS18 API for TabView. Below code works well on simulator Iphone 16 Pro Max. But, it failed to show UI on simulator Ipad Pro 13 . TabView(selection: $selectedTab) { Tab(Test1, systemImage: bubble.left.and.bubble.right, value: .translation) { TestViewOne() } Tab(Test2, systemImage: character.textbox, value: .ruby) { TestViewTwo() } Tab(Test3, systemImage: person.crop.circle, value: .browser) { TestViewThree() } } There are 3 tabs, none of them can show the view (TestViewOne TestViewTwo TestViewThree ) until pressing button 4 (red 4 in the attached image). The view could show in the sidebar area instead of normal UI area, Is there any suggestions for this? thank you very much!
Replies
1
Boosts
0
Views
92
Activity
Jun ’25
Reply to İphon X iOS 18 almıyor beta
Safari translates this as: My iPhone X model phone iOS 18 update didn't come it doesn't work in beta programs can you help. iOS 18 is not compatible with iPhone X. This has been known since last June 2024's WWDC. You cannot install iOS 18 or later versions on your iPhone X. You are limited to iOS 17.x. If you want iOS 18 or later you will have to get a newer iPhone.
Replies
Boosts
Views
Activity
Jun ’25
Failed to open URL asynchronously
I have a problem with the URL schemes under iOS 18. Data is being sent from one app to another app. The amount of data varies. It can sometimes be more than 5 MB. With iOS 18, errors often occur when sending large amounts of data. The error message is: Failed to open URL asynchronously. If I send the data once again in this case, it works. To reproduce the error quickly, I wrote two small apps. AppA sends data to AppB. AppB calls AppA and AppA sends data to AppB again. The whole thing runs in an endless loop. Code snippet: // AppA // The file to which fileUrl points contains a 4 MB string. // The string consists of only one letter “AAAAAA....” let dataStr = try String(contentsOf: fileUrl, encoding: .utf8) if let url = URL(string: appb://receive?data=(dataStr)) { UIApplication.shared.open(url, options: [:]) { (result) in if !result { os_log(can't open url, type: .error) } } } // AppB DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) { if let returnUrl = URL(string: appa://return) { UIApplication.s
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
3
Boosts
0
Views
230
Activity
Jun ’25
Unstable behavior of xcodebuild -showdestinations
Hi, I am having an issue with xcodebuild -showdestinations command. Steps to reproduce: Create a new iOS application project in Xcode or use an existing one. Navigate to this project in a terminal. Run xcodebuild -project 'your-project-name.xcodeproj' -scheme 'your-scheme' -showdestinations What I expect: All destinations available in the Xcode UI should be listed. What I get: It depends. For new projects, I consistently get only generic platform destinations and my connected physical device. When I run the same command on an older project, I sometimes see all the expected destinations. It seems to be a roughly 50/50 chance between the two outcomes. Is there a way to get consistent results from xcodebuild -showdestinations? What can I do to ensure all destinations are listed reliably? Here is a more detailed log and a screenshot: ❯ xcodebuild -workspace 'WorkoutDiary.xcworkspace' -scheme 'WorkoutDiary' -showdestinations Command line invocation: /Applications/Xcode.app/Contents/Devel
Replies
2
Boosts
0
Views
341
Activity
Jun ’25
Reply to dSYMs not generating in Release Build
That's a bit strange, normally it's the other way around, dSYM being included in release build and not in debug. Check your schemes and make sure Archive is using Release config. Then under your project's build settings select All and Levels instead of Combined. Make sure DWARF with dSYM is selected for your release builds and that Strip Debug Symbols During Copy is set to No. Is your project relatively new? Does it have an Info.plist?
Replies
Boosts
Views
Activity
Jun ’25
Reply to Is there a way to avoid generating InfoPlist.xcstrings for framework targets?
Hello, Xcode knows that these keys in frameworks are typically not displayed to the user, so it automatically marks them as “Don’t Translate”. This way, they can still be translated if needed by removing the “Don’t Translate” status. When exporting to an xcloc/XLIFF file, the element will have the translate=no attribute to indicate this. That attribute can be removed by the developer or translator if it turns out it does need to be translated (for example because the CFBundleName is being manually looked up and displayed by the framework code).
Replies
Boosts
Views
Activity
Jun ’25
How to Complete the Apple Developer Program Enrollment
How to Complete the Apple Developer Program Enrollment I want to register an Apple Developer account. I've communicated many times with Apple technical Advisors via email but haven't received effective solutions. The most recent reply was: 经核实,我们已经将你的请求升级到相关运营团队,如果有进一步的消息,我们会尽快通知你。 Here's the English translation: After verification, we have escalated your request to the relevant operations team. If there are any updates, we will notify you as soon as possible. Almost every time I get the same response, but there's been no progress. Could other developers in the forum give me some advice? How should I communicate to successfully complete the registration? Additional background information: I previously submitted my documents and passed the review, but encountered issues at the payment stage when using a credit card. I asked the advisor whether alternative payment methods were possible if I couldn't use a credit card—I just wanted to understand the options. However, my application was directly revoked
Replies
1
Boosts
0
Views
87
Activity
Apr ’25
Does "Locked and hidden apps" feature of iOS 18 support deep link?
Our app includes showing external web service with WebView or Safari and returning to the app with custom URL scheme or universal link. When we set Hide and Require Face ID feature which was available on iOS 18, neither custom URL scheme nor universal link activated the app. If we only set Require Face ID, the deep link worked properly. Here is what we've tried: Define custom URL scheme or universal link in the app https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app Implement external web service with one of the following frameworks ASWebAuthenticationSession https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/ SFSafariViewController https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller Safari WKWebView https://developer.apple.com/documentation/webkit/wkwebview On iOS 18 device, install
Replies
3
Boosts
0
Views
1.8k
Activity
Jun ’25
Reply to Does "Locked and hidden apps" feature of iOS 18 support deep link?
Sorry I didn’t reply sooner. At the time this thread started I wasn’t supporting universal links. [quote='763107021, kariaduu, /thread/763107, /profile/kariaduu'] Does hide app feature support custom URL scheme and universal link? [/quote] Another developer filed a bug about this (FB14973639) and the conclusion there is that this is behaving correctly. When an app is hidden, the system behaves as if the app isn’t installed. This affects a variety of features, including URL schemes and universal links. 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
Reply to 我在PySide6项目中使用pyobject调用WkWebView程序卡死
Sadly, I don’t read Chinese, so I’m replying here based on a machine translation of your question. Note that you’re not stuck in mmap_locked, but rather dlmmap_locked. This is part of libffi, which is included in the Darwin open source. See here. This is gonna be tricky because, as explained in the comments for that code, its aim is to create a block of memory that’s both executable and writeable. Modern versions of macOS try really hard to prevent that, for obvious security reasons. However, in my experience such problems usually manifest as an error rather than with your app getting stuck. To work out what’s going on there I need a full spin dump. Generate this like so: % sudo spindump PID where PID is the process ID of your app. The spin dump will likely be too large to post here, so upload it to your favourite file sharing service and post a link. See tip 14 in Quinn’s Top Ten DevForums Tips for advice on how to post links. IMPORTANT Make sure the link doesn’t require me to log in. Share and Enjo
Replies
Boosts
Views
Activity
Jun ’25
Wrong InfoPlist.strings file used by the app
I recently added a new language to my app and I have an issue regarding the localization. Configuration: I have the developmentRegion in fr and setup 2 localizations: French: Development language and Danish The goal is to have the application in Danish language if the preferred language is Danish and French otherwise. Issue: If French or Danish appear in my preferred languages, I have no problem. But if neither French nor Danish was set as preferred language (like only English), I have the app translation in French as expected but all strings regarding app permission like NSLocationWhenInUseUsageDescription in system modal alert are in Danish. Is like the localizable.strings file used is in the fr.lproj and the InfoPlist.strings is the da.lproj debug I verify I have all the strings files at the right repository. I have: fr.lproj -- Localizable.strings -- InfoPlist.strings da.lproj -- Localizable.strings -- InfoPlist.strings I verify the file architecture in the .app file: find ***.app -name *.strings
Replies
6
Boosts
0
Views
2.4k
Activity
Sep ’23
Reply to Failed to open URL asynchronously
I have created a bug report (FB18172172) We want to exchange data between apps without storing data anywhere. This rules out the possibility of AppGroups. If there is any problem when exchanging data and starting the recipient app, the data should simply be gone and not be stored anywhere. The Share extensions are also ruled out because the user should not see a dialog when the other app is started. In addition, the data should only be exchanged with our apps. The whole thing should also work without the Internet. A server is therefore also out of the question. Data exchange using URL schemes has worked wonderfully in recent years. Only with the new versions has something changed without it being documented or it is a bug. If there is an even better way, please let me know.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Could not find library with name ”/usr/lib/swift/libswiftWebKit.dylib“
Ah, adding DYLD_FALLBACK_LIBRARY_PATH to your scheme's executable environment propagates to previews. So this should work great! Let us know if it doesn't work around the issue for you.
Replies
Boosts
Views
Activity
Jun ’25
Reply to Xcode opens multiple Terminal windows when running app
I ran into the same problem. Thanks to your work I could find out another workaround: I found in the Scheme options page the setting Queue Debugging / Enable backtrace recording. Switching that off eventually worked for me.
Replies
Boosts
Views
Activity
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