Post

Replies

Boosts

Views

Activity

Reply to Email from app_notification@apple.com - Phishing?
Received a similar email, has anyone confirmed wether this is a legit email from Apple ? If you post the complete headers from the email you received, someone will be able to confirm whether it's genuine. Otherwise, you should definitely assume that it is genuine. Why do you doubt it? Apple terminate many thousands of developer accounts in this way each year. Happy New Year!
Jan ’25
Reply to StoreKitSubscriptionView presents an unfriendly message when network is unavailable
That's interesting, I just turned off WiFi in order to test this and I get a sensible message: "The internet connection appears to be offline. Something went wrong. Please try again". That's not what I was getting before, which was when WiFi was turned on but the network was unavailable in some way. (I note that this doesn't give any clue that it is related to the subscription, which is not ideal.)
Topic: App & System Services SubTopic: StoreKit Tags:
Dec ’24
Reply to Sync IOS cursor to app cursor.
My app controls the cursor within its text area. What exactly are you doing? UIKit or SwiftUI? Is your "text area" a custom view or a UITextField? There are various text input related protocols and interactions that you can use, including UITextInput, UITextSelectionDisplayInteraction, UITextInteraction, UIStandardTextCursorView etc. It may be that you need to work at a slightly lower level.
Dec ’24
Reply to Is a spam an appreciated participation in the forums ?
Is it an automatic answer (I cannot believe anyone who read the post did not notice it was a spam) This is an interesting question, isn't it? I had assumed that these "useless" Apple posts must be bots. Sometimes I downvote them, but the downvotes disappear after a while. Then there was this thread: https://developer.apple.com/forums/thread/771153 The Apple account posted a useless answer. I downvoted it, but then the downvote disappeared. So I wrote an explicit answer pointing out that the reply was useless, for the benefit of the OP who had asked a genuine question and got nothing in reply except some bot-spam, and downvoted it again. THEN, the amazing thing is that the Apple account posted a reply acknowledging that their post had not answered the question!!! (And didn't remove the downvote, thought it remains "recommended"). So now I don't know what to think. Either, the useless answer was sent by an actual Apple human who didn't read the question, or it was written by a bot that is sentient enough to acknowledge its mistake! IMHO, I fear this practice of bot answer is a very bad evolution for the forum, which value has long been developers speaking to developers, not to bots. I agree. In particular I would appreciate it if bot-posts could be marked as such, and if downvotes (or indeed upvotes!) could go back into the algorithm as training data.
Dec ’24
Reply to Xcode Arm vector assembly error
do you know (I am just curious) why ARM does "and immediate" so restricted ? ADD takes a regular 12-bit immediate. AND also has 12 (or 13?) bits in the instruction for the immediate value, but they are not a regular binary value; they encode a 32- or 64-bit value using a scheme that makes them better at representing the sort of bit patterns you more often need with logical instructions. (At least, that is the intention.) In the earliest ARM instruction sets the format was a a few literal bits and a shift; the current scheme seems more complicated. But 22 (10110) is not one of the patterns that can be represented. Here's a random page with a description: https://dinfuehr.github.io/blog/encoding-of-immediate-values-on-aarch64/ Scroll down to "logical immediates". The same guy has enumerated all the supported values, which is quite interesting and a bit hypnotic to scroll through: https://gist.github.com/dinfuehr/51a01ac58c0b23e4de9aac313ed6a06a
Dec ’24
Reply to Xcode Arm vector assembly error
Ugh, I started to reply but it disappeared... I think vand is the wrong syntax. Maybe it's a 32- vs. 64-bit thing? I think that the correct, current, syntax is just AND with the vector width indicated by the register names. See e.g. https://developer.arm.com/documentation/ddi0596/2021-03/SIMD-FP-Instructions/AND--vector---Bitwise-AND--vector--?lang=en
Dec ’24
Reply to App Name Still Locked After Renaming Old App - Please Help
Glad you fixed it! FYI: The old app was sold for a fixed price, and we planned to move to a subscription model, but we didn't want to lock out legacy paid users. The “right way” to do this is to check on startup what version of the app the user originally purchased - you can get this from the app receipt or the StoreKit 2 app transaction - and bypass your subscription code if it is sufficiently old. The difference between this and what you’ve done is whether or not “legacy” users will get further updates.
Dec ’24
Reply to Email from app_notification@apple.com - Phishing?
Received a similar email, has anyone confirmed wether this is a legit email from Apple ? If you post the complete headers from the email you received, someone will be able to confirm whether it's genuine. Otherwise, you should definitely assume that it is genuine. Why do you doubt it? Apple terminate many thousands of developer accounts in this way each year. Happy New Year!
Replies
Boosts
Views
Activity
Jan ’25
Reply to StoreKitSubscriptionView presents an unfriendly message when network is unavailable
That's interesting, I just turned off WiFi in order to test this and I get a sensible message: "The internet connection appears to be offline. Something went wrong. Please try again". That's not what I was getting before, which was when WiFi was turned on but the network was unavailable in some way. (I note that this doesn't give any clue that it is related to the subscription, which is not ideal.)
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Dec ’24
Reply to Sync IOS cursor to app cursor.
My app controls the cursor within its text area. What exactly are you doing? UIKit or SwiftUI? Is your "text area" a custom view or a UITextField? There are various text input related protocols and interactions that you can use, including UITextInput, UITextSelectionDisplayInteraction, UITextInteraction, UIStandardTextCursorView etc. It may be that you need to work at a slightly lower level.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Is a spam an appreciated participation in the forums ?
Is it an automatic answer (I cannot believe anyone who read the post did not notice it was a spam) This is an interesting question, isn't it? I had assumed that these "useless" Apple posts must be bots. Sometimes I downvote them, but the downvotes disappear after a while. Then there was this thread: https://developer.apple.com/forums/thread/771153 The Apple account posted a useless answer. I downvoted it, but then the downvote disappeared. So I wrote an explicit answer pointing out that the reply was useless, for the benefit of the OP who had asked a genuine question and got nothing in reply except some bot-spam, and downvoted it again. THEN, the amazing thing is that the Apple account posted a reply acknowledging that their post had not answered the question!!! (And didn't remove the downvote, thought it remains "recommended"). So now I don't know what to think. Either, the useless answer was sent by an actual Apple human who didn't read the question, or it was written by a bot that is sentient enough to acknowledge its mistake! IMHO, I fear this practice of bot answer is a very bad evolution for the forum, which value has long been developers speaking to developers, not to bots. I agree. In particular I would appreciate it if bot-posts could be marked as such, and if downvotes (or indeed upvotes!) could go back into the algorithm as training data.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Xcode Arm vector assembly error
do you know (I am just curious) why ARM does "and immediate" so restricted ? ADD takes a regular 12-bit immediate. AND also has 12 (or 13?) bits in the instruction for the immediate value, but they are not a regular binary value; they encode a 32- or 64-bit value using a scheme that makes them better at representing the sort of bit patterns you more often need with logical instructions. (At least, that is the intention.) In the earliest ARM instruction sets the format was a a few literal bits and a shift; the current scheme seems more complicated. But 22 (10110) is not one of the patterns that can be represented. Here's a random page with a description: https://dinfuehr.github.io/blog/encoding-of-immediate-values-on-aarch64/ Scroll down to "logical immediates". The same guy has enumerated all the supported values, which is quite interesting and a bit hypnotic to scroll through: https://gist.github.com/dinfuehr/51a01ac58c0b23e4de9aac313ed6a06a
Replies
Boosts
Views
Activity
Dec ’24
Reply to Xcode Arm vector assembly error
Ugh, I started to reply but it disappeared... I think vand is the wrong syntax. Maybe it's a 32- vs. 64-bit thing? I think that the correct, current, syntax is just AND with the vector width indicated by the register names. See e.g. https://developer.arm.com/documentation/ddi0596/2021-03/SIMD-FP-Instructions/AND--vector---Bitwise-AND--vector--?lang=en
Replies
Boosts
Views
Activity
Dec ’24
Reply to App Name Still Locked After Renaming Old App - Please Help
Glad you fixed it! FYI: The old app was sold for a fixed price, and we planned to move to a subscription model, but we didn't want to lock out legacy paid users. The “right way” to do this is to check on startup what version of the app the user originally purchased - you can get this from the app receipt or the StoreKit 2 app transaction - and bypass your subscription code if it is sufficiently old. The difference between this and what you’ve done is whether or not “legacy” users will get further updates.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Feedback Assistant nonresponse
Is there a point to submit anything through the feedback assistant? Writing a bug report is less damaging, in the longer term, than screaming at your girlfriend, banging your head against the wall, or smashing up your office. Did everyone get the recent survey?
Replies
Boosts
Views
Activity
Dec ’24