Search results for

“translate scheme”

6,671 results found

Post

Replies

Boosts

Views

Activity

Toolbar tint color with Liquid Glass
I'm adapting a UIKit app to work with Liquid Glass. In pre-Liquid Glass days, the application window had a tintColor that was passed down to all of its descendant views, resulting in toolbar buttons that match the app's color scheme. In iOS 26, my toolbar buttons are always black, no matter what. I've tried setting the UIBarButtonItem#tintColor on the button and setting UIBarButtonAppearanc#tintColor. The buttons are still black. What am I doing wrong? I see a tintColor modifier for SwiftUI toolbar buttons, so it seems like maybe you can do this with SwiftUI. Many of the built-in apps on iOS 26 beta have only black toolbar buttons - is it not possible to change the toolbar button tint color on iOS 26?
Topic: UI Frameworks SubTopic: General
1
0
516
Aug ’25
Reply to Learn to code / beginner
Welcome to the forum. A first comment: edit your text to make each question clear and post easier to read. And avoid asking so many questions on so different topics. Anyway, I'll try to provide some answers. Q1: How should I best start learning? For example, is Swift Playgrounds the right first step? My personal advice: start with tutorials from Apple like 'Develop in Swift fundamentals'. Or go and visit https://developer.apple.com/pathways/. If you want to learn SwiftUI, select it. Q2: How should I continue afterwards to gain further knowledge, possibly in areas like system architecture, cybersecurity, or cloud computing (even though I don’t want to commit too early to one direction)? You will find resources here again: https://developer.apple.com/pathways/. My advice to continue, after step 1, is to imagine and develop a complete (yet simple) app. That's how you will put what you learned in practice. And then, each time you fall on a problem, ask the forum for help. Q3: Can you recommend a learning schedule
Aug ’25
Force a locale from string catalog
I'm writing an iOS app that shares content with buddies. So my app will run in one language but the shared content will use the locale configured for the buddy. I found this Apple documentation which suggests that locale: (Locale(identifier: is the solution. Apple Documentation But I can't get it to work. Here's sample code. struct LocalizationDemoView: View { @State var isEnglish = true var body: some View { var myLocale: String { isEnglish ? en: de } VStack { Toggle(Switch language, isOn: $isEnglish).frame(maxWidth: 200) HStack { Text((myLocale): ) Text(String(localized: Hello world!, locale: (Locale(identifier: myLocale)), comment: To share)) } } } } And here's the excerpt from the string catalog: { sourceLanguage : en, strings : { Hello world! : { comment : To share, localizations : { de : { stringUnit : { state : translated, value : 🇩🇪 Moin Welt! } }, en : { stringUnit : { state : translated, value : 🇬🇧 Hello world! } } } } } } Has Apple reduced support for string catalogs or is my
4
0
339
Aug ’25
Reply to What is the best way to retrieve data from a server
There is no one best way. Lots of details here not in evidence, too. Transfers using https via TCP 443 are the most compatible means for transferring files around, and is the means least likely to encounter a firewall, as Quinn sagely suggests. This allows you to access and download a data file on whatever web server you are using. sftp is absolutely possible too, but that usage can encounter outbound network firewalls and policy-related blocks on TCP 22 traffic (or on other ports, or on all but specific ports). Also, any client-side private key or password usage is necessarily and absolutely always assumed to be compromised. Embedded sftp credentials are not secret. Whatever you decide to use for the data transfer, there are various ways to transfer files and blobs of data around, and (outside of a web browser and related tech) one of the more ubiquitous choices for the transfer is curl and libcurl. curl can transfer data using most common protocols. You might also want to provide a pointer for locating your
Aug ’25
Reply to App Preview Guidelines are too strict
Let's start with a famous quote from The Green Mile: I am tired, boss. I removed the device frames and the hands and now my reviewer says: The app preview for NFC Read Write Socials Video includes content that does not sufficiently show the app in use. Specifically, the app preview: Includes framing around the video screen capture of the app. Shows footage other than the app in use. To be specific about my changes, there is no framing around the video. I replaced the device frame in the narration with a blue outline. I'm seriously very tired of this. I don't want to fight with App Review anymore about this. I collected several App Previews from other apps that do very similar things. Why is it ok with them and why not with mine? https://apps.apple.com/app/character-ai-chat-talk-text/id1671705818 https://apps.apple.com/app/translate-now-ai-translator/id1348028646 https://apps.apple.com/app/suno-ai-songs-music-maker/id6480136315 https://apps.apple.com/app/videoshow-video-editor-maker/id9303800
Aug ’25
AppShortcuts.xcstrings does not translate each invocation phrase option separately, just the first
Due to our min iOS version, this is my first time using .xcstrings instead of .strings for AppShortcuts. When using the migrate .strings to .xcstrings Xcode context menu option, an .xcstrings catalog is produced that, as expected, has each invocation phrase as a separate string key. However, after compilation, the catalog changes to group all invocation phrases under the first phrase listed for each intent (see attached screenshot). It is possible to hover in blank space on the right and add more translations, but there is no 1:1 key matching requirement to the phrases on the left nor a requirement that there are the same number of keys in one language vs. another. (The lines just happen to align due to my window size.) What does that mean, practically? Do all sub-phrases in each language in AppShortcuts.xcstrings get processed during compilation, even if there isn't an equivalent phrase key declared in the AppShortcut (e.g., the ja translation has more phrases than the English)? (That makes
0
0
325
Aug ’25
Reply to Prompt de avaliação em português pode induzir usuário a dar 1 estrela
Sadly, I can’t read Portuguese, so I’m answering based on a machine translation. It looks like you’re trying to report a bug against the Portuguese text shown when your app requests a user review (using the RequestReviewAction type or the recently deprecated SKStoreReviewController class). If so, the best place to do that is in Feedback Assistant. See Bug Reporting: How and Why? for lots of hints and tips on how to file bug reports effectively. If you do file a bug, please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Aug ’25
App name not localized
Now using Xcode 26 beta 6, and iOS/iPadOS 26 beta 7 - and I found the codes do not compiled with localized name. Since I have been buidling the codes since beta 1, the app might have localized name in the past. Even Localizable file is there with proper translation. I have however, started to build icon using Icon Composer (before that was not). I have also tried to add in CFBundleDisplayName and CFBundleName in Localizable file, and same (English is shown). What have I done wrong or forget to do?
1
0
87
Aug ’25
SwiftSupport is missing
I'm trying to distribute an app for internal testing but I'm always getting the below error and the SwiftSupport folder is not created although I tried different fixes/configurations. How can I debug/see the reason why the SwiftSupport folder is not generated? Xcode 16.4 Build version 16F6 I tried distributing from the Transporter, Xcode organizer, I tried to archive it both from Xcode and from the command line. There are a couple of answers on StackOverflow, nothing helped. What could be the problem? One of the things I tried: xcodebuild -project PhotoBook.xcodeproj -scheme PhotoBook -configuration Release -archivePath Release/PhotoBook.xcarchive -destination 'generic/platform=iOS' -verbose archive xcodebuild -exportArchive -archivePath Release/PhotoBook.xcarchive -exportPath Release -exportOptionsPlist ExportOptions.plist -destination 'generic/platform=iOS' -verbose ExportOptions.plist method app-store-connect teamID T672CQXP54 uploadSymbols uploadBitcode signingStyle manual prov
0
0
75
Aug ’25
About region detection in the iBeacon app
We plan to use signals emitted from iBeacon to perform region detection in an app currently under development. We would like to know if region detection (didEnterRegion) can be performed when the app is in certain states. Region detection must be performed reliably. Is it possible to perform region detection in all of the following situations? • When the app is in the foreground • When the app is in the background • When the app is force-closed • When the smartphone is in sleep mode • When the smartphone is restarted Translated with DeepL.com (free version)
2
0
111
Aug ’25
Xcode Cloud - Command PhaseScriptExecution failed with a nonzero exit code
I've been running into issues with Xcode Cloud/my workflow when it's trying to archive the app. I've tested locally and both archiving and building the app for release works. I've tried a few things to clear it. pod deintegrate and pod install Checking off archive for the build scheme Creating a certificate for both development and distribution. I made sure automatic signing was enabled as well. I have a ci_scripts/ci_post_clone.sh script that successfully completes. Have tried setting the xcode version of the workflow to 16.2 which is what my local xcode version is. I've switched it back to the latest, 16.4. running pod update Updating flutter However, I consistently get the following 2 errors : `Showing All Messages Run command: 'xcodebuild archive -workspace /Volumes/workspace/repository/ios/Runner.xcworkspace -scheme Runner -destination generic/platform=iOS -archivePath /Volumes/workspace/build.xcarchive -derivedDataPath /Volumes/workspace/DerivedData -resultBundleVersion 3 -resultBundle
2
0
227
Aug ’25
Reply to Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)"如何解决
Sadly, I don’t read Chinese, so I’m responding based on a machine translation of your post. Error -1009 is NSURLErrorNotConnectedToInternet. This can have a wide variety of causes, so it’s hard to track down exactly what’s going on here. However, it’s certainly weird that: You’re consistently seeing this failure on phone A but not phone B. Phone A works when you install your app with TestFlight. Your full error message contains a useful titbit: [quote='797264021, flj, /thread/797264, /profile/flj'] unsatisfied (Denied over Wi-Fi interface) [/quote] This is very solid evidence that your app’s connection is being blocked by NECP. For some general background on NECP, see A Peek Behind the NECP Curtain. Notably NECP is blocking your access to Wi-Fi. That’s unusual because on most phones NECP only limits access to WWAN. I’m presuming that your phone was bought in China, and thus has the ability to limit an app’s access to WWAN and Wi-Fi. When NECP goes wrong my usual recommendations are: Restart the devic
Aug ’25
Opening Main App from Screen Time Configuration Action Extension
I'm working on an app for iOS that will help people get tasks done. Within the app, we use a ManagedSettingsStore to let the user setup distracting apps. When the user opens any of those apps while it is being shielded, our ShieldConfiguration target opens and displays a screen that we configure with the description of the task they are supposed to do. On the bottom of the view, there are two buttons, one to start the task, and another to dismiss and return to their home screen. I want to have the button that starts the task open up the main application and deeplink to the focus view with the task that they started. Currently, the only thing that we can tell the system to do is via a ShieldActionResponse which is an enum with 3 cases: none, close, or defer. None of these three allow us to open the main application. I have found no workarounds that allow us to do it either. I've tried creating a custom URL scheme and calling UIApplication.shared.open(url), but there is no shared application available
1
0
238
Aug ’25
How to mix Animation and IKRig in RealityKit
I want an AR character to be able to look at a position while still playing the characters animation. So far, I managed to manually adjust a single bone rotation using skeletalComponent.poses.default = Transform( scale: baseTransform.scale, rotation: lookAtRotation, translation: baseTransform.translation ) which I run at every rendering update, while a full body animation is running. But of course, hardcoding single joints to point into a direction (in my case the head) does not look as nice, as if I were to run some inverse cinematic that includes, hips + neck + head joints. I found some good IKRig code in Composing interactive 3D content with RealityKit and Reality Composer Pro. But when I try to adjust rigs while animations are playing, the animations are usually winning over the IKRig changes to the mesh.
1
0
537
Aug ’25
Localizing your apps
TL;DR version: AkVox - “Your App in Your User’s Language” Quickly and easily localize your app into as few or as many languages as you want with AkVox. Longer version: AkVox can localize any Xcode project. Simply drag your Exported Localizations folder into AkVox, click translate, then export, and you’re ready to import the translated localizations catalogs back into Xcode. Alas, you cannot import the whole localizations folder as one, you must import each catalog individually, a process that takes around 10 seconds per language. AkVox can also assist you when you’re ready to publish your app on App Store Connect. You can create a list of texts you will enter to promote your app and AkVox will translate them. Again, you can’t apply all your translations to the App Store in ne go, you have to apply each language individually. To make this task less painful, AkVox has a convenient set of buttons to make the copy and paste process as quick and simple as possible. The same arra
1
0
113
Aug ’25
Toolbar tint color with Liquid Glass
I'm adapting a UIKit app to work with Liquid Glass. In pre-Liquid Glass days, the application window had a tintColor that was passed down to all of its descendant views, resulting in toolbar buttons that match the app's color scheme. In iOS 26, my toolbar buttons are always black, no matter what. I've tried setting the UIBarButtonItem#tintColor on the button and setting UIBarButtonAppearanc#tintColor. The buttons are still black. What am I doing wrong? I see a tintColor modifier for SwiftUI toolbar buttons, so it seems like maybe you can do this with SwiftUI. Many of the built-in apps on iOS 26 beta have only black toolbar buttons - is it not possible to change the toolbar button tint color on iOS 26?
Topic: UI Frameworks SubTopic: General
Replies
1
Boosts
0
Views
516
Activity
Aug ’25
Reply to Learn to code / beginner
Welcome to the forum. A first comment: edit your text to make each question clear and post easier to read. And avoid asking so many questions on so different topics. Anyway, I'll try to provide some answers. Q1: How should I best start learning? For example, is Swift Playgrounds the right first step? My personal advice: start with tutorials from Apple like 'Develop in Swift fundamentals'. Or go and visit https://developer.apple.com/pathways/. If you want to learn SwiftUI, select it. Q2: How should I continue afterwards to gain further knowledge, possibly in areas like system architecture, cybersecurity, or cloud computing (even though I don’t want to commit too early to one direction)? You will find resources here again: https://developer.apple.com/pathways/. My advice to continue, after step 1, is to imagine and develop a complete (yet simple) app. That's how you will put what you learned in practice. And then, each time you fall on a problem, ask the forum for help. Q3: Can you recommend a learning schedule
Replies
Boosts
Views
Activity
Aug ’25
Force a locale from string catalog
I'm writing an iOS app that shares content with buddies. So my app will run in one language but the shared content will use the locale configured for the buddy. I found this Apple documentation which suggests that locale: (Locale(identifier: is the solution. Apple Documentation But I can't get it to work. Here's sample code. struct LocalizationDemoView: View { @State var isEnglish = true var body: some View { var myLocale: String { isEnglish ? en: de } VStack { Toggle(Switch language, isOn: $isEnglish).frame(maxWidth: 200) HStack { Text((myLocale): ) Text(String(localized: Hello world!, locale: (Locale(identifier: myLocale)), comment: To share)) } } } } And here's the excerpt from the string catalog: { sourceLanguage : en, strings : { Hello world! : { comment : To share, localizations : { de : { stringUnit : { state : translated, value : 🇩🇪 Moin Welt! } }, en : { stringUnit : { state : translated, value : 🇬🇧 Hello world! } } } } } } Has Apple reduced support for string catalogs or is my
Replies
4
Boosts
0
Views
339
Activity
Aug ’25
Reply to What is the best way to retrieve data from a server
There is no one best way. Lots of details here not in evidence, too. Transfers using https via TCP 443 are the most compatible means for transferring files around, and is the means least likely to encounter a firewall, as Quinn sagely suggests. This allows you to access and download a data file on whatever web server you are using. sftp is absolutely possible too, but that usage can encounter outbound network firewalls and policy-related blocks on TCP 22 traffic (or on other ports, or on all but specific ports). Also, any client-side private key or password usage is necessarily and absolutely always assumed to be compromised. Embedded sftp credentials are not secret. Whatever you decide to use for the data transfer, there are various ways to transfer files and blobs of data around, and (outside of a web browser and related tech) one of the more ubiquitous choices for the transfer is curl and libcurl. curl can transfer data using most common protocols. You might also want to provide a pointer for locating your
Replies
Boosts
Views
Activity
Aug ’25
Reply to App Preview Guidelines are too strict
Let's start with a famous quote from The Green Mile: I am tired, boss. I removed the device frames and the hands and now my reviewer says: The app preview for NFC Read Write Socials Video includes content that does not sufficiently show the app in use. Specifically, the app preview: Includes framing around the video screen capture of the app. Shows footage other than the app in use. To be specific about my changes, there is no framing around the video. I replaced the device frame in the narration with a blue outline. I'm seriously very tired of this. I don't want to fight with App Review anymore about this. I collected several App Previews from other apps that do very similar things. Why is it ok with them and why not with mine? https://apps.apple.com/app/character-ai-chat-talk-text/id1671705818 https://apps.apple.com/app/translate-now-ai-translator/id1348028646 https://apps.apple.com/app/suno-ai-songs-music-maker/id6480136315 https://apps.apple.com/app/videoshow-video-editor-maker/id9303800
Replies
Boosts
Views
Activity
Aug ’25
AppShortcuts.xcstrings does not translate each invocation phrase option separately, just the first
Due to our min iOS version, this is my first time using .xcstrings instead of .strings for AppShortcuts. When using the migrate .strings to .xcstrings Xcode context menu option, an .xcstrings catalog is produced that, as expected, has each invocation phrase as a separate string key. However, after compilation, the catalog changes to group all invocation phrases under the first phrase listed for each intent (see attached screenshot). It is possible to hover in blank space on the right and add more translations, but there is no 1:1 key matching requirement to the phrases on the left nor a requirement that there are the same number of keys in one language vs. another. (The lines just happen to align due to my window size.) What does that mean, practically? Do all sub-phrases in each language in AppShortcuts.xcstrings get processed during compilation, even if there isn't an equivalent phrase key declared in the AppShortcut (e.g., the ja translation has more phrases than the English)? (That makes
Replies
0
Boosts
0
Views
325
Activity
Aug ’25
Reply to Prompt de avaliação em português pode induzir usuário a dar 1 estrela
Sadly, I can’t read Portuguese, so I’m answering based on a machine translation. It looks like you’re trying to report a bug against the Portuguese text shown when your app requests a user review (using the RequestReviewAction type or the recently deprecated SKStoreReviewController class). If so, the best place to do that is in Feedback Assistant. See Bug Reporting: How and Why? for lots of hints and tips on how to file bug reports effectively. If you do file a bug, please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Aug ’25
App name not localized
Now using Xcode 26 beta 6, and iOS/iPadOS 26 beta 7 - and I found the codes do not compiled with localized name. Since I have been buidling the codes since beta 1, the app might have localized name in the past. Even Localizable file is there with proper translation. I have however, started to build icon using Icon Composer (before that was not). I have also tried to add in CFBundleDisplayName and CFBundleName in Localizable file, and same (English is shown). What have I done wrong or forget to do?
Replies
1
Boosts
0
Views
87
Activity
Aug ’25
SwiftSupport is missing
I'm trying to distribute an app for internal testing but I'm always getting the below error and the SwiftSupport folder is not created although I tried different fixes/configurations. How can I debug/see the reason why the SwiftSupport folder is not generated? Xcode 16.4 Build version 16F6 I tried distributing from the Transporter, Xcode organizer, I tried to archive it both from Xcode and from the command line. There are a couple of answers on StackOverflow, nothing helped. What could be the problem? One of the things I tried: xcodebuild -project PhotoBook.xcodeproj -scheme PhotoBook -configuration Release -archivePath Release/PhotoBook.xcarchive -destination 'generic/platform=iOS' -verbose archive xcodebuild -exportArchive -archivePath Release/PhotoBook.xcarchive -exportPath Release -exportOptionsPlist ExportOptions.plist -destination 'generic/platform=iOS' -verbose ExportOptions.plist method app-store-connect teamID T672CQXP54 uploadSymbols uploadBitcode signingStyle manual prov
Replies
0
Boosts
0
Views
75
Activity
Aug ’25
About region detection in the iBeacon app
We plan to use signals emitted from iBeacon to perform region detection in an app currently under development. We would like to know if region detection (didEnterRegion) can be performed when the app is in certain states. Region detection must be performed reliably. Is it possible to perform region detection in all of the following situations? • When the app is in the foreground • When the app is in the background • When the app is force-closed • When the smartphone is in sleep mode • When the smartphone is restarted Translated with DeepL.com (free version)
Replies
2
Boosts
0
Views
111
Activity
Aug ’25
Xcode Cloud - Command PhaseScriptExecution failed with a nonzero exit code
I've been running into issues with Xcode Cloud/my workflow when it's trying to archive the app. I've tested locally and both archiving and building the app for release works. I've tried a few things to clear it. pod deintegrate and pod install Checking off archive for the build scheme Creating a certificate for both development and distribution. I made sure automatic signing was enabled as well. I have a ci_scripts/ci_post_clone.sh script that successfully completes. Have tried setting the xcode version of the workflow to 16.2 which is what my local xcode version is. I've switched it back to the latest, 16.4. running pod update Updating flutter However, I consistently get the following 2 errors : `Showing All Messages Run command: 'xcodebuild archive -workspace /Volumes/workspace/repository/ios/Runner.xcworkspace -scheme Runner -destination generic/platform=iOS -archivePath /Volumes/workspace/build.xcarchive -derivedDataPath /Volumes/workspace/DerivedData -resultBundleVersion 3 -resultBundle
Replies
2
Boosts
0
Views
227
Activity
Aug ’25
Reply to Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)"如何解决
Sadly, I don’t read Chinese, so I’m responding based on a machine translation of your post. Error -1009 is NSURLErrorNotConnectedToInternet. This can have a wide variety of causes, so it’s hard to track down exactly what’s going on here. However, it’s certainly weird that: You’re consistently seeing this failure on phone A but not phone B. Phone A works when you install your app with TestFlight. Your full error message contains a useful titbit: [quote='797264021, flj, /thread/797264, /profile/flj'] unsatisfied (Denied over Wi-Fi interface) [/quote] This is very solid evidence that your app’s connection is being blocked by NECP. For some general background on NECP, see A Peek Behind the NECP Curtain. Notably NECP is blocking your access to Wi-Fi. That’s unusual because on most phones NECP only limits access to WWAN. I’m presuming that your phone was bought in China, and thus has the ability to limit an app’s access to WWAN and Wi-Fi. When NECP goes wrong my usual recommendations are: Restart the devic
Replies
Boosts
Views
Activity
Aug ’25
Opening Main App from Screen Time Configuration Action Extension
I'm working on an app for iOS that will help people get tasks done. Within the app, we use a ManagedSettingsStore to let the user setup distracting apps. When the user opens any of those apps while it is being shielded, our ShieldConfiguration target opens and displays a screen that we configure with the description of the task they are supposed to do. On the bottom of the view, there are two buttons, one to start the task, and another to dismiss and return to their home screen. I want to have the button that starts the task open up the main application and deeplink to the focus view with the task that they started. Currently, the only thing that we can tell the system to do is via a ShieldActionResponse which is an enum with 3 cases: none, close, or defer. None of these three allow us to open the main application. I have found no workarounds that allow us to do it either. I've tried creating a custom URL scheme and calling UIApplication.shared.open(url), but there is no shared application available
Replies
1
Boosts
0
Views
238
Activity
Aug ’25
How to mix Animation and IKRig in RealityKit
I want an AR character to be able to look at a position while still playing the characters animation. So far, I managed to manually adjust a single bone rotation using skeletalComponent.poses.default = Transform( scale: baseTransform.scale, rotation: lookAtRotation, translation: baseTransform.translation ) which I run at every rendering update, while a full body animation is running. But of course, hardcoding single joints to point into a direction (in my case the head) does not look as nice, as if I were to run some inverse cinematic that includes, hips + neck + head joints. I found some good IKRig code in Composing interactive 3D content with RealityKit and Reality Composer Pro. But when I try to adjust rigs while animations are playing, the animations are usually winning over the IKRig changes to the mesh.
Replies
1
Boosts
0
Views
537
Activity
Aug ’25
Localizing your apps
TL;DR version: AkVox - “Your App in Your User’s Language” Quickly and easily localize your app into as few or as many languages as you want with AkVox. Longer version: AkVox can localize any Xcode project. Simply drag your Exported Localizations folder into AkVox, click translate, then export, and you’re ready to import the translated localizations catalogs back into Xcode. Alas, you cannot import the whole localizations folder as one, you must import each catalog individually, a process that takes around 10 seconds per language. AkVox can also assist you when you’re ready to publish your app on App Store Connect. You can create a list of texts you will enter to promote your app and AkVox will translate them. Again, you can’t apply all your translations to the App Store in ne go, you have to apply each language individually. To make this task less painful, AkVox has a convenient set of buttons to make the copy and paste process as quick and simple as possible. The same arra
Replies
1
Boosts
0
Views
113
Activity
Aug ’25