Post

Replies

Boosts

Views

Activity

Comment on XCode update to handle iOS 15.3?
Not sure what you mean by “support” there. The linked release note shows that Xcode 13.2.1 comes with iOS 15.2 SDK, but there’s no separate 15.3 SDK anyway. (The next Xcode beta has a 15.4 SDK.) And aside from the troubleshooting needed on some setups for whatever reason, using this Xcode with a 15.3 device does work.
Feb ’22
Comment on NSLocationTemporaryUsageDescriptionDictionary crashes Xcode 13
It crashes for me using either SwiftUI or Storyboard style project. The key is to create the project new in Xcode 13, which turns on the Generate Info.plist File build setting. Projects created in Xcode 12 or earlier don't have that setting so everything works as before. Or you could enable that setting in an existing project (which is what I was originally trying to do) but then things get messy fast. That's an advanced move. ;-)
Sep ’21
Comment on Xcode 13 or iOS15 BUG?
But note this 50 item limit is deliberate new behavior (see the updated documentation linked in that other thread) so it’s probably better to frame your feedback as a request for refinement rather than a bug. As mentioned in the other thread, maybe well behaved apps could be accommodated by a new entitlement or by special attention during review.
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’21
Comment on How to check if app is installed or not in device
Unfortunately you're not really missing anything. You can't access the filesystem outside your sandbox, so checking for other apps that way won't work. But hopefully it’s not so bad to publish a new app update whenever needed. You could just use the vague "Bug fixes and performance improvements" line, and users will think you're really putting a lot of work into it. 😉
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’21
Comment on Updating time to destination with a certain frequency
As a slightly different approach, consider if calculateETA() will work for you. It’s documented as being more lightweight than calculate(). And since an ETA is literally only an estimate, throttle your call rate way down, maybe only once per minute. (Way different than trying to "evade" the throttling I mentioned above; by that I meant trying to figure out exactly how fast you could get away with it.) Updating the UI any faster than that wouldn't necessarily have been any more useful.
Sep ’21
Comment on Desktop not work
I'm thinking it should be sufficient to just create a new user account, install the recovered data there, and then delete the old damaged account. This assumes the command was run in their home directory, which should be the default when launching Terminal.
Aug ’21
Comment on Upload files while app is not running or terminated
One wrinkle to be aware of: if the user deliberately kills your app in the background, maybe because they read on social media that killing all your background apps will make your device work better, then it kills your pending background upload (along with other features like background fetch). You'll get an appropriate delegate call for the failed upload on next launch, which you'll need to handle to retry the upload if needed. Unfortunately I've found that telling your frantically app-killing friends "that doesn't do what you think it does" rarely helps.
Topic: App & System Services SubTopic: General Tags:
Aug ’21
Comment on CAN't PARSE THE JSON
Also, in the future please use the “Code Block” formatting style for error messages and source code.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on XCode update to handle iOS 15.3?
Not sure what you mean by “support” there. The linked release note shows that Xcode 13.2.1 comes with iOS 15.2 SDK, but there’s no separate 15.3 SDK anyway. (The next Xcode beta has a 15.4 SDK.) And aside from the troubleshooting needed on some setups for whatever reason, using this Xcode with a 15.3 device does work.
Replies
Boosts
Views
Activity
Feb ’22
Comment on JSON DATA CORRUPTED ERROR
Use the “Paste and Match Style” (⌥⇧⌘V) command in the Edit menu in Safari. Don’t use the regular Paste (⌘V) command.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on JSON DATA CORRUPTED ERROR
And if the original file does have invisible content, it could get lost when pasting the text into this forum, resulting in nobody else being able to reproduce the problem.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Is there any down side to changing my CFBundleVersion from a 3 part number to a one part number.
Submitted feedback FB9842277 suggesting a rewrite of the documentation for CFBundleVersion.
Replies
Boosts
Views
Activity
Jan ’22
Comment on iOS 15(?) able to break BSD sockets system-wide on some devices
Submitted FB9698458.
Replies
Boosts
Views
Activity
Oct ’21
Comment on NSLocationTemporaryUsageDescriptionDictionary crashes Xcode 13
It crashes for me using either SwiftUI or Storyboard style project. The key is to create the project new in Xcode 13, which turns on the Generate Info.plist File build setting. Projects created in Xcode 12 or earlier don't have that setting so everything works as before. Or you could enable that setting in an existing project (which is what I was originally trying to do) but then things get messy fast. That's an advanced move. ;-)
Replies
Boosts
Views
Activity
Sep ’21
Comment on Xcode 13 or iOS15 BUG?
(Duplicate comment removed due to forum problem. I commented, then the comment disappeared, so I added the comment again, and then the original comment reappeared. Ugh.)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Xcode 13 or iOS15 BUG?
But note this 50 item limit is deliberate new behavior (see the updated documentation linked in that other thread) so it’s probably better to frame your feedback as a request for refinement rather than a bug. As mentioned in the other thread, maybe well behaved apps could be accommodated by a new entitlement or by special attention during review.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on How to check if app is installed or not in device
Unfortunately you're not really missing anything. You can't access the filesystem outside your sandbox, so checking for other apps that way won't work. But hopefully it’s not so bad to publish a new app update whenever needed. You could just use the vague "Bug fixes and performance improvements" line, and users will think you're really putting a lot of work into it. 😉
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Updating time to destination with a certain frequency
As a slightly different approach, consider if calculateETA() will work for you. It’s documented as being more lightweight than calculate(). And since an ETA is literally only an estimate, throttle your call rate way down, maybe only once per minute. (Way different than trying to "evade" the throttling I mentioned above; by that I meant trying to figure out exactly how fast you could get away with it.) Updating the UI any faster than that wouldn't necessarily have been any more useful.
Replies
Boosts
Views
Activity
Sep ’21
Comment on Compiling C++ source for iOS - missing std::to_string
Just curious, what's the issue forcing you to stay on Xcode 12.2? If you're stuck on macOS 10.15 Catalina, then (according to the release notes) you should at least be able to use Xcode 12.4. Not a huge difference of course, but I'm sure you know that the farther you fall behind, the worse life gets. ;-)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Desktop not work
I'm thinking it should be sufficient to just create a new user account, install the recovered data there, and then delete the old damaged account. This assumes the command was run in their home directory, which should be the default when launching Terminal.
Replies
Boosts
Views
Activity
Aug ’21
Comment on Implementing a RandomNumberGenerator for testing
That revised next() function does generate a sequence of values spaced uniformly across the range of possible Int64 values, and this happens to make the current version of randomElement() behave as desired in this case, but it’s still not future-proof.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Upload files while app is not running or terminated
One wrinkle to be aware of: if the user deliberately kills your app in the background, maybe because they read on social media that killing all your background apps will make your device work better, then it kills your pending background upload (along with other features like background fetch). You'll get an appropriate delegate call for the failed upload on next launch, which you'll need to handle to retry the upload if needed. Unfortunately I've found that telling your frantically app-killing friends "that doesn't do what you think it does" rarely helps.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’21