Post

Replies

Boosts

Views

Activity

Reply to Is it possible to not overwrite certain files when updating (upgrading) an app on iOS?
I just noticed that all the other answers mentioned that that particular answer was wrong 😂. Great! So would I need to store that .CVS file in the documents directory? By convention the Documents directory is for content that the users is directly aware of, e.g. their documents in a word processor or spreadsheet app. For other data which is not quite as literally a “document”, consider “Application Support”. Note: I think you need to create that directory if it doesn’t already exist. Search should find more info.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’23
Reply to How to prevent TSAN from reporting data-races that are intentional and considered safe?
I assume std::call_once() uses the same technique and therefore has the same excellent performance as dispatch_once. You can read what it does here: https://github.com/llvm/llvm-project/blob/main/libcxx/src/call_once.cpp There is a comment at the start about dispatch_once. It doesn’t do double-checked locking; it seems to unconditionally lock a pthread_mutex.
Dec ’23
Reply to Is it possible to not overwrite certain files when updating (upgrading) an app on iOS?
I've read that updating the app doesn't overwrite the data of the current version, but instead places the new version of the app in a new directory entirely while the other, older version is then deleted. Where did you read that? You didn't ask Chat GPT, did you? Sounds like the sort of nonsense it would spout. It's not true. When your updated app runs, it sees the files that the previous version wrote in the Documents/ directory and elsewhere.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’23
Reply to Help Uploading game, Info
Assuming an individual, not business account: I don't believe that I had to supply proof of address when I registered, but that was a LONG time ago. I do recall, however, that when I changed my address (I moved house) I had to send proof of my new address. (And at that time, they wanted me to send the documents by fax! Ha!) So they were more concerned about the possibility of a fraudster taking over an existing, profitable, account than creating a new account with no income stream, which makes sense. They don't pay to Paypal, AFAIK. They need an IBAN.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’23
Reply to App Attestation returns DCErrorInvalidKey 3
Here is one scenario: user installs app on phone, app generates key, app stores key id in the filesystem. User gets a new phone and sets it up from a backup of the old phone; key id in filesystem is copied over. App runs on new phone, doesn’t know it’s on a different device, tries to use key id; corresponding key is not present; App Attest returns invalid key error. I believe there must be other scenarios in which this can happen though. I see quite large numbers of users who seem to have failed app attest. I don’t think they are all hacked devices.
Topic: App & System Services SubTopic: General Tags:
Dec ’23
Reply to Is it possible to not overwrite certain files when updating (upgrading) an app on iOS?
I just noticed that all the other answers mentioned that that particular answer was wrong 😂. Great! So would I need to store that .CVS file in the documents directory? By convention the Documents directory is for content that the users is directly aware of, e.g. their documents in a word processor or spreadsheet app. For other data which is not quite as literally a “document”, consider “Application Support”. Note: I think you need to create that directory if it doesn’t already exist. Search should find more info.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to How to prevent TSAN from reporting data-races that are intentional and considered safe?
I assume std::call_once() uses the same technique and therefore has the same excellent performance as dispatch_once. You can read what it does here: https://github.com/llvm/llvm-project/blob/main/libcxx/src/call_once.cpp There is a comment at the start about dispatch_once. It doesn’t do double-checked locking; it seems to unconditionally lock a pthread_mutex.
Replies
Boosts
Views
Activity
Dec ’23
Reply to Is it possible to not overwrite certain files when updating (upgrading) an app on iOS?
I've read that updating the app doesn't overwrite the data of the current version, but instead places the new version of the app in a new directory entirely while the other, older version is then deleted. Where did you read that? You didn't ask Chat GPT, did you? Sounds like the sort of nonsense it would spout. It's not true. When your updated app runs, it sees the files that the previous version wrote in the Documents/ directory and elsewhere.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Help Uploading game, Info
Assuming an individual, not business account: I don't believe that I had to supply proof of address when I registered, but that was a LONG time ago. I do recall, however, that when I changed my address (I moved house) I had to send proof of my new address. (And at that time, they wanted me to send the documents by fax! Ha!) So they were more concerned about the possibility of a fraudster taking over an existing, profitable, account than creating a new account with no income stream, which makes sense. They don't pay to Paypal, AFAIK. They need an IBAN.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to App Attestation returns DCErrorInvalidKey 3
Here is one scenario: user installs app on phone, app generates key, app stores key id in the filesystem. User gets a new phone and sets it up from a backup of the old phone; key id in filesystem is copied over. App runs on new phone, doesn’t know it’s on a different device, tries to use key id; corresponding key is not present; App Attest returns invalid key error. I believe there must be other scenarios in which this can happen though. I see quite large numbers of users who seem to have failed app attest. I don’t think they are all hacked devices.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23