Post

Replies

Boosts

Views

Activity

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 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 Indicating premium content in screenshots / videos
I've asked App Review to comment: There seems to be a conflict here between guideline 2.3.7 (screenshots and previews ... should not include prices) and guideline 2.3.2 (screenshots and previews clearly indicate ... require additional purchases). My guess is that you specifically object to my use of the word "free" to indicate content that does not require in-app purchases. If this is the case, could you please suggest what alternative would be acceptable? I suspect that you would accept a verbose expression such as "no in-app purchase required for this content", but that is not practical in a screenshot or video. How about "not paid"? Or "included"? Do please at least confirm that it is specifically the word "free" that I need to change. Does anyone here have a suggestion for a synonym for "free" that App Review might not object to?
Topic: App & System Services SubTopic: StoreKit Tags:
Dec ’23
Reply to help uploading game 3
its an emergency Tell us the story! Do you live somewhere that is subject to embargo / sanctions? If my game is free and it runs ads, who is paying me? apple or google? in my case(google ad program). Google obviously. Can I give them a revolut iban? If "them" == "google", this isn't the best place to ask. Anyway, have you searched the forum for "revolut"? There are some posts. then the topic is forgotten. Yes, this forum is pretty useless. Just look at the vast number of questions with 0 answers. Maybe there are other places to ask where you would get better answers.
Dec ’23
Reply to SIGABRT on throw instruction in C++ code file of VisionOS project in Xcode 15 beta
4 months ago: I was not aware there was a direct way to post bug reports. Thank you so much for sharing! Today: Have you guys, ever wished, so hard, to give a collective "f****k you" to a whole company Thanks for your feedback about the "Feedback Assistant" experience. So that we can be sure that your feedback reaches the right people, I’d appreciate you filing a bug about this. And please post your bug number, just for the record.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’23
Reply to rsync script
@Richs-MacBook-Pro ~ % rsync -arv --delete /Volumes/Samsung_T5/LRPhotos-T5/ /Volumes/QNAP-USB-2/LRPhotos-T5/ sending incremental file list rsync: [Receiver] mkdir "/Volumes/QNAP-USB-2/LRPhotos-T5" failed: No such file or directory (2) Presumably /Volumes/QNAP-USB-2/ is supposed to be the NAS. (Is it actually networked, or is it a USB device as the name suggests?) But rsync thinks it doesn’t exist. So maybe that’s not the correct name, or it’s not mounted, or something. In any case, this usage is not exploiting rsync’s incremental protocol. For that to work, you need to actually run rsync over the network to the NAS. Example: rsync -ar /path/to/local/folder/ nas_hostname:/path/to/folder/on/nas
Dec ’23
Reply to In the Platforms window, difference between iOS and iOS Simulator
I'm not certain, but I think they are equivalent. The previous use of the word ¨simulator¨ gave the impression that it was, well, just the simulator, and that it was not what was needed to compile for actual hardware. (I had to ask here for clarification.) Now maybe they´ve removed that word to remove potential confusion. The fact that both downloads are about the same size suggests that they contain similar content.
Dec ’23
Reply to Do I still need "iOS 17.0" support, now that my device is running 17.1.2?
Frustrating! I attempt to run on an iPad with iOS 17.1.2, but I can't because I see this in the run destinations menu: Note "iOS 17.0 Not Installed". In Xcode -> Settings -> Platforms I have: Note this claims that I have "iOS 17.0 simulator" but not "iOS 17.0". I attempted to download "iOS 17 Simulator Runtime" from https://developer.apple.com/download/all/ and install it following the instructions at https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes: % xcrun simctl runtime add Downloads/iOS_17_Simulator_Runtime.dmg D: B9B832F1-6DE0-4A73-8756-1CB9BB19C25A iOS (17.0 - 21A328) (Unusable - Other Failure: Error Domain=SimDiskImageErrorDomain Code=5 "Duplicate of 7A4EF297-D25A-425A-8DF5-0E977B76C201" UserInfo={NSLocalizedDescription=Duplicate of 7A4EF297-D25A-425A-8DF5-0E977B76C201, unusableErrorDetail=}) Hence the red item in the Platforms window. It is suspicious that the "iOS 17.0" and "iOS 17.0 Simulator" are apparently both 7.56 GB, yet there are not the same thing. (Edited to add: right click and "copy version information" reveals that indeed "iOS 17.0" is SDK + Simulator while "iOS 17.0 Simulator" is only Simulator, despite apparently being the same size.) I guess that if I click GET in the Platforms window it will download the right thing, but I would much prefer to download a .dmg which I can then copy to my other Mac; I have a slow internet connection. In fact I did click GET earlier and cancelled it, and BOTH the "iOS 17.0" and "iOS 17.0 Simulator" rows in the Platforms window showed download spinners, as if they are actually the same thing. I only got in this mess because I was attempting to delete support for old point releases that I don't need anymore, and thought that 17.0 was one of them. Suggestions anyone?
Dec ’23
Reply to In the Platforms window, difference between iOS and iOS Simulator
I'm not certain, but I think they are equivalent I think I was wrong, at least for 17.0. If you right-click on a row in that platforms list, you can copy some more detailed text that should show you exactly which version it corresponds to. Doing that, my "iOS 17.0" entry describes itself as "SDK + Simulator", while my "iOS 17.0 Simulator" entry is just "Simulator". Maybe 17.2 is different. See my other thread: https://developer.apple.com/forums/thread/743144
Dec ’23