Post

Replies

Boosts

Views

Activity

Reply to New security feature prevents remote access apps from working
Make sure to file a feedback for this and link it here. I think it's good that this pop-up after restart exists, since one could forget that they gave access to a remote desktop app. Maybe a setting to prevent these kind of appearing again after restart / give you an option to select for how much time you'd like to give access (such as an hour / a day / a week / indefinitely etc.) would be helpful.
Topic: Privacy & Security SubTopic: General Tags:
Jun ’24
Reply to Private Cloud Compute more details?
Maybe this will be a program just like the SRD? [quote='756836021, flexorium, /thread/756836, /profile/flexorium'] Who at Apple should I keep in touch with and what is the best way to communite with that team. [/quote] If you want to keep in touch with the Product Security team, their email address is product-security@apple.com, and they also have a PGP key (since you can send vulnerability reports which are sensitive in nature). They'll definitely make more announcements on this in the future, so keep an eye on the security research website.
Topic: Privacy & Security SubTopic: General Tags:
Jun ’24
Reply to SIGABRT Signal 6 Abort trap
[quote='756823021, jvigneshcs, /thread/756823, /profile/jvigneshcs'] var value: Value { lock.read { _value } } [/quote] Isn't SynchronizedBarrier<Value>.value a read-only computed property (i.e. doesn't have a setter), and thus you can't set _timedEvents.value to a new value using _timedEvents.value { $0 = newValue }? I'd try changing SynchronizedBarrier<Value>.value to this: var value: Value { get { lock.read { _value } } set { lock.write { _value = newValue } } } I haven't tested it, so let me know if this works or not.
Jun ’24
Reply to SIGABRT Signal 6 Abort trap
[quote='756823021, jvigneshcs, /thread/756823, /profile/jvigneshcs'] _timedEvents.value { $0 = newValue } [/quote] I'm curious, is there a reason why _timedEvents.value = newValue doesn't work? Never mind, I think I understand now. Looking at the crash report and at the Swift runtime, it seems that something results in a dangling reference, since it calls fatalError with this description: swift::fatalError(0, "Object %p of class %s deallocated with non-zero retain " "count %zd. This object's deinit, or something called " "from it, may have created a strong reference to self " "which outlived deinit, resulting in a dangling " "reference.\n", object, descriptor ? descriptor->Name.get() : "<unknown>", retainCount); I think the way you're using nested computed properties somehow results in a dangling reference. Perhaps the object causing this is newValue, though I'm not sure. Maybe you could reproduce the issue and record the logs with the Console app on Mac to see if you find any other clues?
Jun ’24
Reply to Image Playground API
Of course, the new UI should be preferred when users are supposed to create their images with prompts. I'm asking if I could use the generative image model behind this feature for my app to automatically generate a few images based on the context / image suggestions. Also, apparently, creating a new post with the Apple Intelligence label results in a sensitive content error and won't allow posting it.
Jun ’24
Reply to EXC_BAD_ACCESS after Xcode 15 upgrade
I think it would be better to post your app's crash report, though you included most of its information in your post already. Running an INSERT or DELETE with the exec() method does not result in an exception; we just get an error saying that the table in the command does not exist. This makes me think there's an error accessing the database file, though I am not sure. exec() crashes when it gets to sqlite3VdbeMemGrow in the sqlite3VdbeMemStringify call. It seems like a memory allocation-related segfault bug in SQLite (somewhere here, to be precise: https://github.com/sqlite/sqlite/blob/master/src/vdbemem.c#L242), so I'm not sure what Xcode changes could determine this.
May ’24
Reply to SwiftUI Sheet race condition
I filed a feedback, FB13660312, as I ran again into this issue when creating my Swift Student Challenge project - this time in a different scenario, but the issue is the same. I'd say it follows the same simplified example as before, except the value was used differently inside the sheet (it was passed to an UIViewRepresentable which used it - no if statements were directly used inside the sheet's trailing closure). I'm curios to hear what others think, do you think this is a valid race condition bug?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’24
Reply to No confirmation email
You should’ve received an email immediately. You can also check if your application was received by going to https://developer.apple.com/swift-student-challenge/apply/ (make sure you’re logged in). The website says “We’ve received your application” if it was sent properly. You should contact swiftstudentchallenge@apple.com for help, especially if the website indicates that an application was not received.
Feb ’24
Reply to Using camera on app playground submission
I know the deadline just passed, but I hope you’ll find this helpful. Good luck with your submission! The camera features (not taking AR into consideration), as you already know, do not work in the simulator app, but if you choose the My Mac (Mac Catalyst) run destination in Xcode, they should work fine. It should also work fine in Swift Playgrounds. However, since you made an AR app, I think the best option would’ve been Swift Playgrounds on iPad, as some AR features don’t work on Mac. It depends on what AR features are used by your app. As for the test device, I am not sure - I believe the app should work without any extra device.
Feb ’24
Reply to Xcode Playground - iOS-only target, and iOS 17-only features?
I don't think it's a good idea, as the rules specify iPadOS 16 or later. I think your app must work on iPadOS 16 as well. Check this thread. Perhaps you could add extra features to iPadOS 17 devices using the other solutions presented in the thread you mentioned. I sent the response on the thread you mentioned before the full terms & conditions were published.
Feb ’24