Post

Replies

Boosts

Views

Activity

Reply to Texture Write Rounding
Your problem isn't completely clear to me; are you sure you posted the correct numbers? The range of an 8-bit integer is 0 to 255. When those values are scaled to a floating-point value such as a colour component in the range 0.0 to 1.0, then 255 needs to map to 1.0. So you need to divide by 255, not 256. Does that explain what you are seeing?
Topic: Graphics & Games SubTopic: General Tags:
Sep ’23
Reply to Optimized Method to Track Paid Users paid access in iOS App WITHOUT Login Credentials
Check the App Receipt, or use the equivalent StoreKit 2 features, to see what in-app purchases they have made. Do you need to do this check on the device or on your server (or both)? In order to track the paid features (i.e. unlimited token usage) I am using device ID in the database That was never a good idea. What "device ID" specifically are you trying to use?
Topic: Code Signing SubTopic: Entitlements Tags:
Sep ’23
Reply to "Required Reason" API - stat()
What bug was that specifically? FB12798615 Here's the body of the bug report: Regarding the list of APIs for which a declared reason will shortly be required, as described at https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api I note that no C++ functions are included in this list. For example, libc++'s std::filesystem::last_write_time., std::filesystem::space_info, etc. I can see a couple of possible reasons for this: (a) You've overlooked these functions and they should be included. (b) Because these functions are actually thin wrappers around C APIs such as stat(), you consider that the inclusion of stat() (etc.) in that list extends to these C++ functions. If (b) applies, this is going to cause problems because many non-timestamp-related std::filesystem functions actually call stat(), ignoring the returned timestamps. For example, simply checking if a file exists using std::filesystem::exists() calls stat. You don't want to be rejecting an app that calls std::filesystem::exists() by sending the developer a message telling them that they are using stat(), that will just cause a lot of confusion for everyone.
Topic: Privacy & Security SubTopic: General Tags:
Sep ’23
Reply to "Required Reason" API - stat()
I'll update here if I get a reply. My bug report has now been closed: "we believe this issue is resolved". Of course they don't tell me what the resolution actually is; the web page hasn't been changed, it still doesn't contain any C++ functions in the list, nor is there a reason code for using stat() to retrieve non-timestamp file information.
Topic: Privacy & Security SubTopic: General Tags:
Sep ’23
Reply to Developer account terminated under Section 3.2(f) WITHOUT WARNING NOR EXPLANATION ! Did this happened to you too ?
This forum is a joke Yes; there are lots of things wrong with it. It is also Apple's forum, and I'm actually surprised that threads like this exist at all. Apple do delete threads that they don't like, but apparently not these ones. Strange. You should assume that the posts that you see are the ones the Apple want you to see, and that others have been deleted.
Sep ’23
Reply to Texture Write Rounding
Your problem isn't completely clear to me; are you sure you posted the correct numbers? The range of an 8-bit integer is 0 to 255. When those values are scaled to a floating-point value such as a colour component in the range 0.0 to 1.0, then 255 needs to map to 1.0. So you need to divide by 255, not 256. Does that explain what you are seeing?
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Optimized Method to Track Paid Users paid access in iOS App WITHOUT Login Credentials
Check the App Receipt, or use the equivalent StoreKit 2 features, to see what in-app purchases they have made. Do you need to do this check on the device or on your server (or both)? In order to track the paid features (i.e. unlimited token usage) I am using device ID in the database That was never a good idea. What "device ID" specifically are you trying to use?
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to "Required Reason" API - stat()
What bug was that specifically? FB12798615 Here's the body of the bug report: Regarding the list of APIs for which a declared reason will shortly be required, as described at https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api I note that no C++ functions are included in this list. For example, libc++'s std::filesystem::last_write_time., std::filesystem::space_info, etc. I can see a couple of possible reasons for this: (a) You've overlooked these functions and they should be included. (b) Because these functions are actually thin wrappers around C APIs such as stat(), you consider that the inclusion of stat() (etc.) in that list extends to these C++ functions. If (b) applies, this is going to cause problems because many non-timestamp-related std::filesystem functions actually call stat(), ignoring the returned timestamps. For example, simply checking if a file exists using std::filesystem::exists() calls stat. You don't want to be rejecting an app that calls std::filesystem::exists() by sending the developer a message telling them that they are using stat(), that will just cause a lot of confusion for everyone.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to "Required Reason" API - stat()
I'll update here if I get a reply. My bug report has now been closed: "we believe this issue is resolved". Of course they don't tell me what the resolution actually is; the web page hasn't been changed, it still doesn't contain any C++ functions in the list, nor is there a reason code for using stat() to retrieve non-timestamp file information.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Developer account terminated under Section 3.2(f) WITHOUT WARNING NOR EXPLANATION ! Did this happened to you too ?
This forum is a joke Yes; there are lots of things wrong with it. It is also Apple's forum, and I'm actually surprised that threads like this exist at all. Apple do delete threads that they don't like, but apparently not these ones. Strange. You should assume that the posts that you see are the ones the Apple want you to see, and that others have been deleted.
Replies
Boosts
Views
Activity
Sep ’23