Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

EXC_BAD_ACCESS : UIButton : touchDown() : Release Scheme
The following code crashes in XCode when run on a 'Release' scheme to crash (on any iDevice).It crashes with EXC_BAD_ACCESS(code=EXC_I386_GPFLT) trying to do a 'swift_arrayDestroy' with Xcode on line 19.Note : It does NOT crash when running on a 'Debug' scheme.+) Can anyone else reproduce this (just cut an paste -> Run -> click a few times on the RED Box that appears on the screen).+) Any ideas if this is a program error or an Xcode Release optimisation bug?+) Does anyone know if '@objc func touchDown(_ sender: MY_UIButton)' is safe?Should I use 'Any' .. and then attempt to cast to 'MY_UIButton'.Thanks,AJ.import UIKit var g_but = MY_UIButton(frame: CGRect(x: 100, y: 100,width: 200,height: 200)) let g_false = false let opt_zero : Int? = 0 class EMPTY_CLASS {} let g_empty_arr : [EMPTY_CLASS] = [] class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() g_but.backgroundColor = UIColor.red view.addSubview(g_but) g_but.addTarget(g_but,action: #selector(MY_U
1
0
1k
Apr ’18
Reply to Problem with localising a Swift package
I have the exact same problem ☹️ The app translates as expected for 90%, but one view (that is implemented through a local package) does not. In the local package manifest: _// swift-tools-version:5.9 _ and defaultLocalization: en were added Under myPackage/Sources/myTarget/Resources: A string catalog with the default name 'Localizable' was added When I compile the package's String catalog gets filled with all the new Text() items from the view and I can provide translation for them.
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’23
Reply to How exactly did 32 bit support get removed in OSX? (read carefully please)
Maybe you could write a program that will dlopen() and 32bit app, the intercept any interlibrary calls, libc, syscall, with glue to translate 32bit to 64bit and back. It would be a massive undertaking, with no guarantee that you wouldn't hit a brick wall at somepoint.. .. when all they'd have to do is compile it for 64 bit :) Might even be easier to go translate the 32bit assembler to 64bit in each segment. But that does nothing to help you with the old API calls, you'd still need to interpose them with glue.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’22
Reply to Invalid value for purpose string in info.plist
Hi, I got the same error for apparently the same reason. Could someone clarify the recommended answer for me? What ist meant by It's unusual? Is it just unusual or is it not allowed? It does work, so why do we get an email about this issue? What is the right/recommended way to do this? Normally you set the value in theInfo.plist to be that of your development language. Does that mean, I should use the full english sentence as the value in the Info.plist file and as the key in the InfoPlist.strings translations (and skip the English translation)? That seems very error prone to me. Thank you!
Jun ’23
FileWrapper and duplicate children naming scheme
I have a FileWrapper that holds a bunch of child documents. FileWrapper automatically handles assigning unique filenames to duplicates, but it does so in a pretty ugly manner – rather than, for example, Untitled, Untitled 2, Untitled 3 it gives me:Untitled, and then 1__#$!@%!#__Untitled, 2__#$!@%!#__UntitledIs there a better way to assign names to these? Ideally I'd be able to supply a desired scheme for unique-ifying filenames, like a format string. Otherwise, what's the best way to ensure a child wrapper gets a sane suffix when there's duplicates?
Topic: UI Frameworks SubTopic: AppKit Tags:
4
0
1.2k
Apr ’18
Test plans being deleted and replaced by old test schemes
I am currently using Xcode 15.2, but I am sure this issue exists on other versions too. If you have any packages made pre Xcode 14.3, i.e. ones without an automatically made test plan, then the following issue happens: Let's call the package in this example PackageX, and you have with this a corresponding test scheme, called PackageXTests. PackageXTests is a test scheme saved on disk, that is on the test scheme of PackageX, meaning that when you test the package directly, it will run the test scheme. Now, with test plans becoming the norm, we want to move away from having these test schemes on disk and instead align old packages with new and have each package's tests dictated by its own corresponding test plan, the same way that any newly made package would work. So we click 'convert to test plan', success we have a test plan, we delete the test scheme from the disk. All appears to be working fine. However, if you now swap branch and come back, the test pl
0
0
923
Mar ’24
EXC_BAD_ACCESS : UIButton : touchDown() : Release Scheme
The following code crashes in XCode when run on a 'Release' scheme to crash (on any iDevice).It crashes with EXC_BAD_ACCESS(code=EXC_I386_GPFLT) trying to do a 'swift_arrayDestroy' with Xcode on line 19.Note : It does NOT crash when running on a 'Debug' scheme.+) Can anyone else reproduce this (just cut an paste -> Run -> click a few times on the RED Box that appears on the screen).+) Any ideas if this is a program error or an Xcode Release optimisation bug?+) Does anyone know if '@objc func touchDown(_ sender: MY_UIButton)' is safe?Should I use 'Any' .. and then attempt to cast to 'MY_UIButton'.Thanks,AJ.import UIKit var g_but = MY_UIButton(frame: CGRect(x: 100, y: 100,width: 200,height: 200)) let g_false = false let opt_zero : Int? = 0 class EMPTY_CLASS {} let g_empty_arr : [EMPTY_CLASS] = [] class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() g_but.backgroundColor = UIColor.red view.addSubview(g_but) g_but.addTarget(g_but,action: #selector(MY_U
Replies
1
Boosts
0
Views
1k
Activity
Apr ’18
Reply to Problem with localising a Swift package
I have the exact same problem ☹️ The app translates as expected for 90%, but one view (that is implemented through a local package) does not. In the local package manifest: _// swift-tools-version:5.9 _ and defaultLocalization: en were added Under myPackage/Sources/myTarget/Resources: A string catalog with the default name 'Localizable' was added When I compile the package's String catalog gets filled with all the new Text() items from the view and I can provide translation for them.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to iPhone 12 LiDAR
My Device is iPad Pro 2020. About 1mm with LiDAR,0.5mm with front True Depth Camera. This reply was translated.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Reinstall translate
Me too. I was downloading offline translation and it was taking too long and I could not see how to stop the download. Then I uninstalled it. Would like to reinstall it.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Sep ’20
Reply to Metal runtime compile error (iOS 13 beta
Me too; I am playing with cocos2d-x v4 branch which translates glsl to msl and works fine on an iOS device. Did you have any luck with this?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’19
Reply to App Store doesn't display English among available languages for my new app
I am also having this issue. All strings are LocalizedStringResource and the catalog correctly has all the English translations. However an en.lproj folder is not create when archived.
Replies
Boosts
Views
Activity
2w
Reply to How exactly did 32 bit support get removed in OSX? (read carefully please)
Maybe you could write a program that will dlopen() and 32bit app, the intercept any interlibrary calls, libc, syscall, with glue to translate 32bit to 64bit and back. It would be a massive undertaking, with no guarantee that you wouldn't hit a brick wall at somepoint.. .. when all they'd have to do is compile it for 64 bit :) Might even be easier to go translate the 32bit assembler to 64bit in each segment. But that does nothing to help you with the old API calls, you'd still need to interpose them with glue.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Invalid value for purpose string in info.plist
Hi, I got the same error for apparently the same reason. Could someone clarify the recommended answer for me? What ist meant by It's unusual? Is it just unusual or is it not allowed? It does work, so why do we get an email about this issue? What is the right/recommended way to do this? Normally you set the value in theInfo.plist to be that of your development language. Does that mean, I should use the full english sentence as the value in the Info.plist file and as the key in the InfoPlist.strings translations (and skip the English translation)? That seems very error prone to me. Thank you!
Replies
Boosts
Views
Activity
Jun ’23
Reply to Interface Builder error
I'm opening Nib's from a brandnew beta to translate it into Dutch, there are a few apps to convert a compiled .Nib's to uncompiled .Nib's and on some it works and on others it don't
Replies
Boosts
Views
Activity
Jul ’17
Reply to Translation in Safari Technology Preview 14
Dear I have macOS Big Sur, iOS 14 and iPadOS 14. all of them the translate service in safari not available, you can't see it.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’20
Reply to iOS 14 translate API
Any news regarding that since in iOS 15 it's even integrated when the user select a text he has the option to translate. Is that public API ? Any plans?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to String catalogs from a Swift package Not loaded
This may be happening because the host app is not localized into German. Try to add some strings to the host app as well and translate them in German.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Swift init flexibility ? vs objc
is it just impossible in Swift ?It seems to be a correct answer, impossible.If I were given that code to translate into Swift, I would implement `initWithPasteboardPropertyList:ofType:` as a class method, not an initializer.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’16
FileWrapper and duplicate children naming scheme
I have a FileWrapper that holds a bunch of child documents. FileWrapper automatically handles assigning unique filenames to duplicates, but it does so in a pretty ugly manner – rather than, for example, Untitled, Untitled 2, Untitled 3 it gives me:Untitled, and then 1__#$!@%!#__Untitled, 2__#$!@%!#__UntitledIs there a better way to assign names to these? Ideally I'd be able to supply a desired scheme for unique-ifying filenames, like a format string. Otherwise, what's the best way to ensure a child wrapper gets a sane suffix when there's duplicates?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
4
Boosts
0
Views
1.2k
Activity
Apr ’18
Test plans being deleted and replaced by old test schemes
I am currently using Xcode 15.2, but I am sure this issue exists on other versions too. If you have any packages made pre Xcode 14.3, i.e. ones without an automatically made test plan, then the following issue happens: Let's call the package in this example PackageX, and you have with this a corresponding test scheme, called PackageXTests. PackageXTests is a test scheme saved on disk, that is on the test scheme of PackageX, meaning that when you test the package directly, it will run the test scheme. Now, with test plans becoming the norm, we want to move away from having these test schemes on disk and instead align old packages with new and have each package's tests dictated by its own corresponding test plan, the same way that any newly made package would work. So we click 'convert to test plan', success we have a test plan, we delete the test scheme from the disk. All appears to be working fine. However, if you now swap branch and come back, the test pl
Replies
0
Boosts
0
Views
923
Activity
Mar ’24