Post

Replies

Boosts

Views

Activity

Reply to App rejection but others ok?
If your app is doing exactly the same thing than other apps, it will risk a spam refusal. In any case, it is not an argument that other app have been accepted and hence your app should as well. You don't know the exact content of other apps, nor the explanations they may have provided. You have to focus on your app and answers the questions asked. And provide clear and factual answers, not what you think the reviewer should do… Good luck.
Jun ’25
Reply to "illegal character encoding in string literal" warnings in Xcode
Some of my error messages have characters outside the straight ASCII character set (i.e. "å"). The editor correctly displays these, but I get plenty of Illegal Character warnings and the messages do not display properly. Could you show related code, as well as the exact warnings and a screenshot of messages you get. That will help understand what's happening and hopefully propose solution.
Jun ’25
Reply to NSuserdefault issue after restart my iphone
@mutou519 have you checked that you saved to userDefaults ? May be, when you quit the app (by swiping up ?), you don't go through the code that saves userDefaults. To check: in the part of code where you intent to save, add a print statement to check in logs that it was effectively done. If that's the case, you should save userDefaults in SceneDelegate: func sceneDidEnterBackground(_ scene: UIScene) { // Save userDefaults } and also possibly here: func sceneDidDisconnect(_ scene: UIScene) { } and read here: func sceneWillEnterForeground(_ scene: UIScene) { // read userDefaults } You could also save in AppDelegate: func applicationWillTerminate(_ application: UIApplication) { // Save userDefaults }
Topic: App & System Services SubTopic: General Tags:
Jun ’25
Reply to Xcode 26 Beta1 UISegmentedControl can't change value
I tested (with segmented control in storyboard) and noticed several issues: if behaviour for both segments is "Enabled" and "non selected" I cannot switch from First to second the title disappears, hidden by a white mask if first segment selected (in storyboard) when selected second, its title is hidden I can slide a first time and everything displays OK I can swipe back to first But title of first is hidden as well If I select first by clicking, cannot swipe anymore… Note: this issue of title hidden when item selected occurs also with tabbar buttons.
Topic: UI Frameworks SubTopic: UIKit
Jun ’25
Reply to Any apple employees here?
This is "just" a place for developers to help other developers. It is not an official channel to Apple, even though some Apple experts contribute with high value, on an individual basis. Some use the forum to report issues, but that should be done through Feedback assistant: https://feedbackassistant.apple.com To get contact with Apple representative, use the Contact Us link : https://developer.apple.com/contact/topic/select
Jun ’25
Reply to JSONDecoder enum-keyed dictionary bug
They explain here a subtle behaviour (to say the least) of JSONEncoder. https://forums.swift.org/t/encoding-decoding-a-swift-dictionary-to-from-json/39989 A dictionary with Int or String key is encoded as dictionary. But with other type key, it is encoded as an array. That seems to be the case with the enum. I tested by catching error: do { let json = try JSONDecoder().decode(Json.self, from: jsonString.data(using: .utf8)!) print("JSON", json) } catch { print("Error", error) } and got the same error message: Error typeMismatch(Swift.Array<Any>, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "variations", intValue: nil)], debugDescription: "Expected to decode Array<Any> but found a dictionary instead.", underlyingError: nil)) As you noted, if you replace the key type by String: struct Json: Codable { let variations: [String: String] } Then you get the expected result: JSON Json(variations: ["plural": "tests", "singular": "test"])
Topic: App & System Services SubTopic: General Tags:
Jun ’25
Reply to How to modify the title of a post in the Developer Forums?
You can modify only in the first hour after posting. After, the post cannot be edited. In your case, you could: create a new post with the new title and maybe modified content.It would also be fine to point to the old post. in the old post, make a new answer where you link to the new post, explaining it is more general. IMHO, it is not worth bothering moderator for such a change.
Jun ’25
Reply to Caution: watchOS 26 Beta 2 (may) brick Hermes variants
It is indicated in release notes: https://developer.apple.com/documentation/watchos-release-notes/watchos-26-release-notes More details here: https://www.macrumors.com/2025/06/25/watchos-26-hermes-crash-issue/
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to App rejection but others ok?
If your app is doing exactly the same thing than other apps, it will risk a spam refusal. In any case, it is not an argument that other app have been accepted and hence your app should as well. You don't know the exact content of other apps, nor the explanations they may have provided. You have to focus on your app and answers the questions asked. And provide clear and factual answers, not what you think the reviewer should do… Good luck.
Replies
Boosts
Views
Activity
Jun ’25
Reply to "illegal character encoding in string literal" warnings in Xcode
Some of my error messages have characters outside the straight ASCII character set (i.e. "å"). The editor correctly displays these, but I get plenty of Illegal Character warnings and the messages do not display properly. Could you show related code, as well as the exact warnings and a screenshot of messages you get. That will help understand what's happening and hopefully propose solution.
Replies
Boosts
Views
Activity
Jun ’25
Reply to The developer account cannot be renewed.
Don't wait, contact support before your account expires. And keep track of your submission.
Replies
Boosts
Views
Activity
Jun ’25
Reply to Xcode 26 Beta1 UISegmentedControl can't change value
There seems to be some minor improvements with Xcode 26.0 ß2. Notably, during swipe, the segment no more hidden. But when released, its title still hidden by a white front. Not clear whether the issue is in: Xcode simulator iOS 26
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Jun ’25
Reply to NSuserdefault issue after restart my iphone
@mutou519 have you checked that you saved to userDefaults ? May be, when you quit the app (by swiping up ?), you don't go through the code that saves userDefaults. To check: in the part of code where you intent to save, add a print statement to check in logs that it was effectively done. If that's the case, you should save userDefaults in SceneDelegate: func sceneDidEnterBackground(_ scene: UIScene) { // Save userDefaults } and also possibly here: func sceneDidDisconnect(_ scene: UIScene) { } and read here: func sceneWillEnterForeground(_ scene: UIScene) { // read userDefaults } You could also save in AppDelegate: func applicationWillTerminate(_ application: UIApplication) { // Save userDefaults }
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Xcode 26 Beta1 UISegmentedControl can't change value
I tested (with segmented control in storyboard) and noticed several issues: if behaviour for both segments is "Enabled" and "non selected" I cannot switch from First to second the title disappears, hidden by a white mask if first segment selected (in storyboard) when selected second, its title is hidden I can slide a first time and everything displays OK I can swipe back to first But title of first is hidden as well If I select first by clicking, cannot swipe anymore… Note: this issue of title hidden when item selected occurs also with tabbar buttons.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Jun ’25
Reply to Any apple employees here?
This is "just" a place for developers to help other developers. It is not an official channel to Apple, even though some Apple experts contribute with high value, on an individual basis. Some use the forum to report issues, but that should be done through Feedback assistant: https://feedbackassistant.apple.com To get contact with Apple representative, use the Contact Us link : https://developer.apple.com/contact/topic/select
Replies
Boosts
Views
Activity
Jun ’25
Reply to JSONDecoder enum-keyed dictionary bug
They explain here a subtle behaviour (to say the least) of JSONEncoder. https://forums.swift.org/t/encoding-decoding-a-swift-dictionary-to-from-json/39989 A dictionary with Int or String key is encoded as dictionary. But with other type key, it is encoded as an array. That seems to be the case with the enum. I tested by catching error: do { let json = try JSONDecoder().decode(Json.self, from: jsonString.data(using: .utf8)!) print("JSON", json) } catch { print("Error", error) } and got the same error message: Error typeMismatch(Swift.Array<Any>, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "variations", intValue: nil)], debugDescription: "Expected to decode Array<Any> but found a dictionary instead.", underlyingError: nil)) As you noted, if you replace the key type by String: struct Json: Codable { let variations: [String: String] } Then you get the expected result: JSON Json(variations: ["plural": "tests", "singular": "test"])
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to SwiftUI #Previews: How to populate with data
You do not show what books are. I suppose they are an array of some struct Book. Not sure I fully understand your question. But you can pass a books array to the Preview: #Preview { Library(books: [populate an array of Book]) }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to How to read a value when tapping a point on a Chart3D
I wonder if that's just possible. In 3D, a point on screen could be the visualisation point of several points on the graph, from frontmost to the last in the back. How would you discriminate between them ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to How to modify the title of a post in the Developer Forums?
Hi Marc, if you want some advices on how to best use the forum, read this great post from @eskimo: https://developer.apple.com/forums/thread/706527 And don't forget to close the thread by marking the correct answer.
Replies
Boosts
Views
Activity
Jun ’25
Reply to TestFlight problem
What was your question ? Please avoid duplicating posts.
Replies
Boosts
Views
Activity
Jun ’25
Reply to Appstore Connect, Plus button on appearing next o build section
The page shown on the first screenshot is version 1.0. I do not see where is version 1.1. You should: type the + blue button next to "MAcOS App" to declare a new version 1.1 Complete all the required meta data build for 1.1 will appear in the build section.
Replies
Boosts
Views
Activity
Jun ’25
Reply to How to modify the title of a post in the Developer Forums?
You can modify only in the first hour after posting. After, the post cannot be edited. In your case, you could: create a new post with the new title and maybe modified content.It would also be fine to point to the old post. in the old post, make a new answer where you link to the new post, explaining it is more general. IMHO, it is not worth bothering moderator for such a change.
Replies
Boosts
Views
Activity
Jun ’25