I have trouble with reading a file from an App Group with my System Network Extension. The app group container is found successfully. However the file read returns empty. In the app itself the same code runs fine and returns a string array of items found in the file. Code: func readFile() - [String] { var jsonResult: [String] = [] guard let containerURL = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: AppConstants.groupID) else { fatalError() } let fileURL = containerURL.appendingPathComponent(file.json) if let data = try? NSData(contentsOfFile: fileURL.path, options: .mappedIfSafe) as Data { if let json = try? JSONSerialization.jsonObject(with: data, options: .fragmentsAllowed) { jsonResult = json as! [String] } } os_log(jsonResult: %{public}@, jsonResult) return jsonResult } Log: default 09:42:19.486793+0200 app-network-extension container_create_or_lookup_app_group_path_by_app_group_ identifier: success default 09:42:20.105792+0200 app-network-extension jsonResult
Search results for
A Summary of the WWDC25 Group Lab
10,109 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Let's say you have a NSOutlineView configured as a source list.The data source provides items and group items.There is a NSMenu set for the menu property of the NSOutlineView.The group items rows are not selectable.Problem:When a group item is control-clicked or right-clicked, its row gets highlighted (bold blue rounded rect) and the contextual menu is displayed.Question:Is there a simple way to prevent this from happenning? To ge the same kind of behavior you see with the Finder sidebar or Calendar sidebar.Attaching the NSMenu to the NSTableCellView does not work.Attaching the NSMenu to the NSTableRow does not work.Notes:I haven't seen so far a simple solution. I've seen non simple solutions involving subclassing NSOutlineView and filtering the mouse down events that somehow requires the NSOutlineView subclass to know about the model.
Hi,We've got an App ID that's been around for a substancial amount of years now. Being in the process of developing new features I've tried enable App Groups service in developer portal for this AppID, but the checkmark is disable (i.e. not clickable) for this particular App ID. I can enable the service for other App IDs that were creared recently. I'm stuck wondering how I might start investigating the root cause for why App Groups are not available.Does anyone has an insight about what the root cause might be or what kind of diagnostics exist for me to investigate the issue?Thanks,Dmitry
After i submited a version to review and it approved. I can`t to add new versions to test in Test Flight. New versions kepp the status Ready to Submit and i can't to add a group to test this versions. I canceled submission before it sent to store and i can't to add a group to test new versions in Test Flight. Can someone help me?
You can search the Developer app for sessions. Doing so does not reveal any UIWebView-sessions. If you have questions on moving to WKWebView, I encourage you to try to get a lab session, or ask your specific question here on the forums.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
It's not shown in the repro, but I need to do additional things on drop than just reorder the array of items. In the real version, users can drop items onto other items and the items are merged. The frustrating part is that the WWDC25 demo and examples only show how to use the new .draggable(containerItemID:) and .dragContainer(for:) modifiers to drag items to the trash. So there's no demonstration of a drop target working with the new container-based modifiers...
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
We have a macOS app that has a Photos Extension, which shares documents with the app via an app group container. Historically we used to have an iOS-style group identifier (group.${TeamIdentifier}${groupName}), because we were lead by the web interface in the developer portal to believe this to be the right way to name groups. Later with the first macOS 15 betas last year there was a bug with the operating system warning users, our app would access data from different apps, but it was our own app group container directory. Therefore we added a macOS-style group identifier (${TeamIdentifier}${groupName}) and wrote a migration of documents to the new group container directory. So basically we need to have access to these two app group containers for the foreseeable future. Now with the introduction of iOS-style group identifiers for macOS, Xcode Cloud no longer archives our app for TestFlight or AppStore, because it complains: ITMS
How do I fix this?I have had this issue since we went from Me.com to iCloud.com with having 100's of duplicates of the same GROUP in my contacts via my iCloud.com account; which is my main iCloud account. I had created a secondary @me.com account that I use only for my Contacts and junk email (this was created at the same time as the iCloud.com transition).1.I have ran an Apple Script trying to delete these duplicates.2. I have spent hours on iCloud.com deleting this group. When I do this the screen will get darker and darker while I am hitting Delete then Enter to confirm the deletion. After a period of time the screen will return to normal and I will continue and the screen goes black again..3. I have tried deleting any files that I know of that are associated to my Contacts on my MacBook; is there another file or library that I can delete that might Reset this icloud account?
I am using SharePlay and the Group Activities framework in my app and my usecase requires the number of participants, so I am trying to get it like this: _ = SharePlayManager.sharedInstance.groupSession?.$activeParticipants.sink(receiveValue: { participants in print(participants.count) }) But this always prints 0, am I doing something wrong? (groupSession is 100% not nil)
Does Apple Watch WidgetKit extension, support app group for data sharing, as currently we get nil values for any stored data.
Put my hat in the ring as well for wanting to know what EMR data will be available for 3rd party apps. Will we get loinc code for labs, CPTs for procedures, IDCs for meds and so on.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Good timing, @stevenhoward I got an email from Apple approximately 75 minutes ago announcing New Apple Vision Pro developer lab dates are now available.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
@bdesai, did you ever find a substitue for DarkSky's summary? I'm missing it too.
Topic:
App & System Services
SubTopic:
General
Tags:
Hello. I need your help. We are developing an application where users provide premium content. Followers have to subscribe to each user's account to access their content through a renewable subscription. Like on Twitch application. Example: User 4 can subscribe to user 1, user 2 and user 3. He will pay every month, 3 subscriptions. The problem is that we can't create all the subscription groups manually because it would be too much work and not scalable. According to the documentation, if we have 1000 premium users (who sell their content), we have to create 1000 subscription groups manually and submit the application for each new selling user. How does Twitch make it possible for a user to subscribe to several accounts at the same time? Can I find documentation on this subject? Thanks in advance.
IOS WhatsApp app does not realize the WhatsApp group Joined caller's details.
Topic:
App & System Services
SubTopic:
General