Post

Replies

Boosts

Views

Activity

Reply to Using SF Symbols with a changed global locale
Hi, I am using Xcode 27.1 using ObjectiveC++ compiler Tahoe 26.7.1 iPad (A16) 27.0 simulator (no exception is thrown) but no system images visible, setting the locale is WORKING! iPhone Duo 27.1 simulator (no exception is thrown) but no system images visible, setting the locale is WORKING! iPhone iOS 27.2 (exception is thrown) std::locale::global(std::locale("de_DE.UTF-8")); (called in -(BOOL) application:didFinishLaunchingWithOptions: as the first statement) all symbols fail, here some examples: @"trash", @"power",@"cpu",@"app.connected.to.app.below.fill",etc. (also cancel and done UIBarButtonItems fail); I show the symbols as images of UIBarButtonItems in the navigation bar or in the (also buggy for other reasons) standard toolbar. I have to admit that I did not do a detailed testing on the iPhone because I already gave up when the simulator did not work properly. Interestingly, iOS 18 does not have any issues (using a simulator). PS: I need somehow a working locale because some 3rd party C++ libraries (e.g. AU unit library) I am using rely on a proper setting of the locale for correctly formatted output.
Topic: UI Frameworks SubTopic: UIKit Tags:
1w
Reply to WCSession.sendMessage is crashing when a reply or error handler is attached, why?
Hi, thanks! It would also be nice if Apple documents mention somewhere that this does not work. Even worse: actually, the documentation states explicitly that the handlers are called on a background thread! How can you then expect that it does not work? PS: Old sample code from Apple has the same structure. Therefore, - as I do not believe that it crashed when it was built - it seems to be that this issue has been introduced once between 2024 (creation of sample code) and today. Best regards Hardy
Oct ’26
Reply to Using SF Symbols with a changed global locale
Hi, I am using Xcode 27.1 using ObjectiveC++ compiler Tahoe 26.7.1 iPad (A16) 27.0 simulator (no exception is thrown) but no system images visible, setting the locale is WORKING! iPhone Duo 27.1 simulator (no exception is thrown) but no system images visible, setting the locale is WORKING! iPhone iOS 27.2 (exception is thrown) std::locale::global(std::locale("de_DE.UTF-8")); (called in -(BOOL) application:didFinishLaunchingWithOptions: as the first statement) all symbols fail, here some examples: @"trash", @"power",@"cpu",@"app.connected.to.app.below.fill",etc. (also cancel and done UIBarButtonItems fail); I show the symbols as images of UIBarButtonItems in the navigation bar or in the (also buggy for other reasons) standard toolbar. I have to admit that I did not do a detailed testing on the iPhone because I already gave up when the simulator did not work properly. Interestingly, iOS 18 does not have any issues (using a simulator). PS: I need somehow a working locale because some 3rd party C++ libraries (e.g. AU unit library) I am using rely on a proper setting of the locale for correctly formatted output.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
1w
Reply to WCSession.sendMessage is crashing when a reply or error handler is attached, why?
Hi, thanks! It would also be nice if Apple documents mention somewhere that this does not work. Even worse: actually, the documentation states explicitly that the handlers are called on a background thread! How can you then expect that it does not work? PS: Old sample code from Apple has the same structure. Therefore, - as I do not believe that it crashed when it was built - it seems to be that this issue has been introduced once between 2024 (creation of sample code) and today. Best regards Hardy
Replies
Boosts
Views
Activity
Oct ’26