Post

Replies

Boosts

Views

Activity

Reply to I need help
It wouldn't surprise me if you're using a newer version of Swift than was current when the book was written. It is an evolving language, and not always backwards-compatible.
Topic: UI Frameworks SubTopic: SwiftUI
Sep ’25
Reply to Bundling app with our own SQLite
Can we bundle our app with our own version of SQLite with extensions that we want. Yes, and you should do that. The version that Apple includes depends on the iOS version (see https://github.com/yapstudios/YapDatabase/wiki/SQLite-version-(bundled-with-OS) for a table). If you use the Apple version, there's a danger that your app will break after an iOS update, or will not function on an older iOS version that you are still trying to support but don't test on as well as you should. I was caught out by the latter issue because the sqlite in iOS 14 doesn't support "on conflict" without a column list.
Aug ’25
Reply to How can I calculate distance and vertical velocity?
Sure, you can integrate acceleration to get velocity and integrate velocity to get distance. But the problem is that you integrate all the errors in the sensor values too, and they quickly dominate. This is a well-known problem that has been studied in the context of submarine, aircraft and spacecraft navigation (pre-GPS) for decades. The solutions tend to be either ever-more precise sensors (which is not something you can change on a phone) and "sensor fusion", where you blend your integrated value with a value from another sensor. One example of sensor fusion is the Kalman Filter - look it up. Do be aware that the sensor values that you get on iOS have probably already been processed in some way by the system before you receive them.
Topic: App & System Services SubTopic: General Tags:
Aug ’25
Reply to CGColorRef is NOT a struct
Now, returning to the Objective-C doc, I see this: What you're seeing now is the fixed version. Until yesterday, the * was missing. AgentFriday and I both understand the differences between classes and structs in C, objC and Swift and neither of us was misreading anything. There was no confusion; it was a bug in the documentation generator which has now finally been fixed. user-level bug Huh? There's a difference between "user-level bugs" and "developer-level bugs"? I guess I'd better go and look at all my completely ignored bug reports from the last decades and check if any of them accidentally got in a "user-level" category.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’25
Reply to Location via GPS jumps
I believe that you need to set . activityType to “fitness” if you want to avoid the snap-to-road misfeature. Please try this and let me know if it works for you. I went through this years ago; it would be useful to know if that’s still the best fix.
Replies
Boosts
Views
Activity
Oct ’25
Reply to Paying out appstore payments in different currencies
Is there a way we could make all the accounts active so that we receive the funds in the acquired currencies? No.
Replies
Boosts
Views
Activity
Oct ’25
Reply to What’s the best way to improve my app’s rating and get more positive reviews?
Don't read the reviews or look at the ratings, it will only make you miserable. Just concentrate on making the best app you can.
Replies
Boosts
Views
Activity
Sep ’25
Reply to App Attest – DCAppAttestService.isSupported == false on some devices (~0.23%)
Is this actually Mac OS, with the app running in "made for iPad" mode? Edited to add: What fallback policy do you recommend I recommend not using App Attest, precisely because for some small 0.xy% of users it doesn't work, and those are not all hackers.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’25
Reply to Active Paid Subscriptions dropped to 0 suddenly on App Store Connect
Yes, I see this too - don't panic, no doubt it will resolve itself.
Replies
Boosts
Views
Activity
Sep ’25
Reply to I need help
It wouldn't surprise me if you're using a newer version of Swift than was current when the book was written. It is an evolving language, and not always backwards-compatible.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Sep ’25
Reply to App Attest attestationData request fails with 400 Bad Request (no X-Request-ID)
I have this note in my implementation: req->SetContentLength(std::to_string(receipt.size())); // Apple return 400 Bad Request if we don't send this, // and it's not added automatically.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’25
Reply to iOS App stuck in "Waiting For Review"
Your experience with previous review times may have been better than average - wait patiently for a week (or more?) before worrying.
Replies
Boosts
Views
Activity
Sep ’25
Reply to Apple terminated my account without even validating their "Evidence"
It's terrifying, isn't it? Fundamentally, this is all allowed by the developer agreement that they wrote and you agreed to. There is nothing you can do about it. Always make sure that your income from Apple is not your main income; make sure you have a backup career path that you can switch to if they do something like this.
Replies
Boosts
Views
Activity
Sep ’25
Reply to ProofPoint has blocked our IP for a year - am at wits end
Who owns the IP address block? Have you considered using something like Amazon SES? Fundamentally, email is unreliable due to spam filtering. Don't depend on it. Have some alternative mechanism for whatever it is that you're trying to achieve.
Topic: Safari & Web SubTopic: General
Replies
Boosts
Views
Activity
Sep ’25
Reply to Can I Update App Store Screenshots & Text Without Submitting a New Build?
No
Replies
Boosts
Views
Activity
Sep ’25
Reply to Bundling app with our own SQLite
Can we bundle our app with our own version of SQLite with extensions that we want. Yes, and you should do that. The version that Apple includes depends on the iOS version (see https://github.com/yapstudios/YapDatabase/wiki/SQLite-version-(bundled-with-OS) for a table). If you use the Apple version, there's a danger that your app will break after an iOS update, or will not function on an older iOS version that you are still trying to support but don't test on as well as you should. I was caught out by the latter issue because the sqlite in iOS 14 doesn't support "on conflict" without a column list.
Replies
Boosts
Views
Activity
Aug ’25
Reply to How can I calculate distance and vertical velocity?
Sure, you can integrate acceleration to get velocity and integrate velocity to get distance. But the problem is that you integrate all the errors in the sensor values too, and they quickly dominate. This is a well-known problem that has been studied in the context of submarine, aircraft and spacecraft navigation (pre-GPS) for decades. The solutions tend to be either ever-more precise sensors (which is not something you can change on a phone) and "sensor fusion", where you blend your integrated value with a value from another sensor. One example of sensor fusion is the Kalman Filter - look it up. Do be aware that the sensor values that you get on iOS have probably already been processed in some way by the system before you receive them.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to CGColorRef is NOT a struct
Now, returning to the Objective-C doc, I see this: What you're seeing now is the fixed version. Until yesterday, the * was missing. AgentFriday and I both understand the differences between classes and structs in C, objC and Swift and neither of us was misreading anything. There was no confusion; it was a bug in the documentation generator which has now finally been fixed. user-level bug Huh? There's a difference between "user-level bugs" and "developer-level bugs"? I guess I'd better go and look at all my completely ignored bug reports from the last decades and check if any of them accidentally got in a "user-level" category.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to CGColorRef is NOT a struct
2 years and 10 months later, this seems to have been fixed!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’25