Search results for

“translate scheme”

6,671 results found

Post

Replies

Boosts

Views

Activity

100 schemes xcode starts to have issues
Hello there, I have worked for about 3 companies that did white label development. To get customer facing applications, for companies that could not afford to build their own apps. Like all the colleges or all the real estate brokerages. So I have been making a new scheme for each of my new customers. This allows them to have their own assets, UI flow, colors etc.. What I have noticed is around my 100th customer. xCode starts to exhibit some odd and slow behavior. Is there a better way? Maybe one Scheme, where I could run a script on at run time? Any feedback would be greatly appreciated.
3
0
1k
Jun ’20
Reply to 你好
Hey, if I have to translate your words to read them, you can translate my words to read them, it's only fair. I'm guessing you want to enable Developer mode on your iPhone without a computer? You do it in Settings > Privacy & Security. If it's something else, you really need to ask us a more detailed question.
May ’25
"Active scheme does not build this file" Problem
I am writing to seek assistance regarding an error I encountered when attempting to download and open files from another computer. Upon downloading the files and attempting to open the code on my computer in Xcode, I received the following error message: Cannot preview in this file. Active scheme does not build this file. (Select a scheme that builds a target which contains the current file, or add this file to a target that is built by the current scheme.) I have attempted several solutions to fix it, such as deleting derived data, re-opening Xcode, and restarting my computer, but none of them resolved the issue. I would greatly appreciate your guidance and support in resolving this matter. Additionally, I have included the diagnostics and report related to the error for your reference. Thank you! == PREVIEW UPDATE ERROR: NoBuildableEntriesError: Active scheme does not build this file Select a scheme that builds a target which contains the current file, or add thi
1
0
1.8k
Jan ’24
Reply to help ¡¡¡¡
Did you try to translate with Google translation ? It may be a bit tedious, but unfortunately, Apple doc is all english.¿Trató de traducir con la traducción de Google? Puede ser un poco tedioso, pero por desgracia, Apple doc es todo inglés.
Topic: Programming Languages SubTopic: Swift Tags:
May ’17
Getting error using 2 of 3 schemes
I have a few build schemes in my app, they are not much different, but I needed to have different info.plists for each scheme.I created a class to store 2 strings, and made it conform to NSCoding so I could store it and retrieve it from standardUserDefaults.On the 2 schemes that are not working, I get the following error:I am running Xcode 7.2.1 (7C1002)*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: '*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (Apps_Scheme_Test.UserLocationString) for key (root); the class may be defined in source code or a library that is not linked'The first thing I thought was that I may have not included UserLocationString.swift in the target membership of those schemes. However, those schemes are checked.I also checked the Build Phases and verified that UserLocationString.swift is included in the Compile Sources section.What I did notice, is that is says object of class (App
0
0
381
Mar ’16
Reply to Fatal error calling TranslationSession.translate(String) in iOS 18
I get the same error in the same place: .onChange(of: vm.appleTraslationSourceText, { _, newValue in guard configuration == nil else { configuration?.invalidate() return } configuration = TranslationSession.Configuration( source: sourceLanguage, target: targetLanguage) }) .translationTask(configuration) { session in Task { @MainActor in do { let response = try await session.translate(vm.appleTraslationSourceText) // <- fatal error here targetText = response.targetText } catch { // code to handle error } } } This code, like yours, is very similar to Apple's demonstration code for translationTask(_:action:) In my app you tap words to get a translation. If I tap too quickly on different words the crash will occur generating this error: Translation/TranslationError+TranslationOnly.swift:54: Fatal error: Attempted to use TranslationSession after the view it was attached to has disappeared, which is not supported. Instead of storing a TranslationSession instance outside of the .translationTask
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
100 schemes xcode starts to have issues
Hello there, I have worked for about 3 companies that did white label development. To get customer facing applications, for companies that could not afford to build their own apps. Like all the colleges or all the real estate brokerages. So I have been making a new scheme for each of my new customers. This allows them to have their own assets, UI flow, colors etc.. What I have noticed is around my 100th customer. xCode starts to exhibit some odd and slow behavior. Is there a better way? Maybe one Scheme, where I could run a script on at run time? Any feedback would be greatly appreciated.
Replies
3
Boosts
0
Views
1k
Activity
Jun ’20
Reply to Create a pdf from a view in iOS
Is there not a simple API that translates a view into a pdf?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’16
Reply to Mark localized strings untranslatable
It would be very helpful if Strings Catalog had a skip translation feature.
Replies
Boosts
Views
Activity
Jul ’24
Reply to 你好
Hey, if I have to translate your words to read them, you can translate my words to read them, it's only fair. I'm guessing you want to enable Developer mode on your iPhone without a computer? You do it in Settings > Privacy & Security. If it's something else, you really need to ask us a more detailed question.
Replies
Boosts
Views
Activity
May ’25
URL Scheme to open Music.app’s now-playing
We can open the music app with the URL Scheme music://, but I couldn't figure out a URL scheme to open the now-playing interface. Would be useful for directly opening the music.app now-playing interface from my app.
Replies
0
Boosts
0
Views
1.5k
Activity
Aug ’22
Reply to WidgetKit configurationDisplayName localization
In which files are we supposed to put the translations? Tried a few without success
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to Change language on in app purchase alert popups
Devs are responsible for translating their own alert strings, app name etc.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’18
"Active scheme does not build this file" Problem
I am writing to seek assistance regarding an error I encountered when attempting to download and open files from another computer. Upon downloading the files and attempting to open the code on my computer in Xcode, I received the following error message: Cannot preview in this file. Active scheme does not build this file. (Select a scheme that builds a target which contains the current file, or add this file to a target that is built by the current scheme.) I have attempted several solutions to fix it, such as deleting derived data, re-opening Xcode, and restarting my computer, but none of them resolved the issue. I would greatly appreciate your guidance and support in resolving this matter. Additionally, I have included the diagnostics and report related to the error for your reference. Thank you! == PREVIEW UPDATE ERROR: NoBuildableEntriesError: Active scheme does not build this file Select a scheme that builds a target which contains the current file, or add thi
Replies
1
Boosts
0
Views
1.8k
Activity
Jan ’24
Reply to trying to add Google Translate API into swift app
Having trouble adding Google Translation API to a Swift App .
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’16
Reply to help ¡¡¡¡
Did you try to translate with Google translation ? It may be a bit tedious, but unfortunately, Apple doc is all english.¿Trató de traducir con la traducción de Google? Puede ser un poco tedioso, pero por desgracia, Apple doc es todo inglés.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’17
Getting error using 2 of 3 schemes
I have a few build schemes in my app, they are not much different, but I needed to have different info.plists for each scheme.I created a class to store 2 strings, and made it conform to NSCoding so I could store it and retrieve it from standardUserDefaults.On the 2 schemes that are not working, I get the following error:I am running Xcode 7.2.1 (7C1002)*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: '*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (Apps_Scheme_Test.UserLocationString) for key (root); the class may be defined in source code or a library that is not linked'The first thing I thought was that I may have not included UserLocationString.swift in the target membership of those schemes. However, those schemes are checked.I also checked the Build Phases and verified that UserLocationString.swift is included in the Compile Sources section.What I did notice, is that is says object of class (App
Replies
0
Boosts
0
Views
381
Activity
Mar ’16
Reply to How to actually enable the feedback assistant app??
Text translation not working in iOS 16
Replies
Boosts
Views
Activity
Sep ’22
xcworkspace app unable to build scheme disappear
I recently tried to build my app by opening xcworkspace, but noticed that my app scheme with app icon have disappeared and only pod scheme remains. Also, the icon of my xcworkspace have changed from the apple icon to the folder icon, can no longer access the general settings page please send help
Replies
0
Boosts
0
Views
436
Activity
Jul ’21
Reply to Developer account Invoice
And it's in German 😢And there is no translate button 😕
Replies
Boosts
Views
Activity
Apr ’20
Reply to Fatal error calling TranslationSession.translate(String) in iOS 18
I get the same error in the same place: .onChange(of: vm.appleTraslationSourceText, { _, newValue in guard configuration == nil else { configuration?.invalidate() return } configuration = TranslationSession.Configuration( source: sourceLanguage, target: targetLanguage) }) .translationTask(configuration) { session in Task { @MainActor in do { let response = try await session.translate(vm.appleTraslationSourceText) // <- fatal error here targetText = response.targetText } catch { // code to handle error } } } This code, like yours, is very similar to Apple's demonstration code for translationTask(_:action:) In my app you tap words to get a translation. If I tap too quickly on different words the crash will occur generating this error: Translation/TranslationError+TranslationOnly.swift:54: Fatal error: Attempted to use TranslationSession after the view it was attached to has disappeared, which is not supported. Instead of storing a TranslationSession instance outside of the .translationTask
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24