Post

Replies

Boosts

Views

Activity

Reply to How to export all project codes into a file
What instructions are you following? It doesn’t sound correct, at least for the current version of Xcode. That File → Export command seems to be basically like Save As for the single file currently visible in the editor. If you want a single file archive (like zip or tar) of all the directories and files in your project, then you would do that outside Xcode using a suitable utility.
Mar ’23
Reply to Request for information to support discovery and connection to Bluetooth PAN profile devices from iOS
(Do you happen to be associated with @Dayanand_PR and this question?) Just glancing over the PAN profile, that’s a Bluetooth Classic profile (adopted over 20 years ago!) so Core Bluetooth can’t work with it. And there won’t be any additional library or SDK that can add to the capabilities of Core Bluetooth. There does seem to be PAN functionality built into iOS as a user-facing feature (for network tethering or sharing) but no API for an app to work with it.
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’23
Reply to Where is the iOS 16.3 simulator? Why doesn't Apple release it?
The problem is unlikely to be specific to iOS 16.3. It’s not impossible, but you should consider more likely possibilities first. The app I created works normally on 16.2 and 16.4. Did you test with TestFlight? Did you locally test (from Xcode) with release builds, or just debug builds? See Testing a release build. the app reviewer says it doesn't work on iPad 16.3 Did the reviewer say it does work for them on 16.2 and 16.4? Or do you think they happened to test only on 16.3? And what exactly "doesn’t work” for the reviewer? Is there a crash report, missing functionality, etc.?
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’23
Reply to Is a closure enum associated value escaping?
You should consider the closure to be escaping. The syntax for declaring an enum associated value isn’t quite the same as an initializer so there’s nowhere to put the @escaping keyword, but the effect is the same: the closure is retained by the enum value and may be called later. If you do this in a class context and implicitly reference self then you’ll get the familiar warning about that: class Foo: NSObject { func foo() {         _ = Operation.opA {             print(description) // ERROR: Implicit use of 'self' in closure; use 'self.' to make capture semantics explicit         }     } }
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’23
Reply to Getting all running process and memory usage of downloaded apps
Apps like that aren’t really a thing on iOS. You may find them on other mobile platforms, but not here. Consider this: such a tool would be useful only if you could get the name of each process executable (rather than, say, just a process ID). And getting that information would be a massive privacy fail. Your app would be able to infer (and make fingerprints of, and sell to advertisers) a list of what other apps the user has installed on their device. That sort of abuse is most definitely not supported by any API on this platform. BTW, check out On Free Memory for discussion of why even aggregated memory information isn’t as useful as it sounds.
Mar ’23