Search results for

A Summary of the WWDC25 Group Lab

10,097 results found

Post

Replies

Boosts

Views

Activity

Backing up and restoring an app group container
We're in the process of moving our app's storage from the app container to an app group container so that the data can be accessed by app extensions (such as share extensions) as well. However, we found that Xcode does not backup app group containers via the Devices and Simulators window. How can I include the app group in the backup and restore process? Similarly, could you confirm that app groups are indeed included in the iCloud backup and restore process?
4
0
1.9k
Nov ’21
Can volunteer groups apply for a developer ID ?
There is a volunteer run group on GitHub who maintain a well known public domain cross-platform Python script. They build binaries for Linux, Windows and macOS. The macOS binaries are only ad-hoc signed. Thus, in macOS 15, they are rejected by Gatekeeper – requiring user intervention to be used. There are a lot of components each of which must be approved in Settings with admin credentials. It would be best if these binaries were code signed. However, the core group of devs changes over time and so, using one person's name might not be ideal. Can such a volunteer group apply for a developer certificate so that they can sign the macOS binaries ? I ask because Apple's requirements for enrolling in the Development Program include that an organisation be a legal entity and this group is not a legal entity. Thnaks.
0
0
504
Oct ’24
How safe is the shared container for an App Group?
In order for data (contained within a number of our created apps) such as user IDs, email addresses and user specific text stings to be shared between apps, we are considering saving this data to the shared container's NSUserDefaults using an app group.We would like to ask you the following question:How safe is the shared container for an App Group from a security perspective?We searched for an official Apple document, however, we were unable to find material stating clearly the safety of an app group's shared container.Below is what material we found through our investigation.- https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/DesigningaWatchKitApp.html#//apple_ref/doc/uid/TP40014969-CH3-SW1 Overview > WatchKit App Architecture > Sharing Data with Your Containing iOS App An app group is a secure container that multiple processes can access.- https://www.apple.com/business/docs/iOS_Security_Guide.pdfIf there is any oth
6
0
4.3k
Jul ’15
IPC within app group
Hi folks, I'm trying to build communication between the main app and its helper via inter-process communication. I found here that it is possible if the apps are in the same app group. But I really cannot make it work, and cannot understand what I do wrong. It works all good if I add com.apple.security.temporary-exception.mach-lookup.global-name entitlement, so the setup seems to be correct? Where should I look to fix it? Also because having that entitlement means that it is gonna be tricky to get through the App Review.
4
0
1.5k
Sep ’21
Testing a Locale with custom grouping separator
My app processes numbers, and depends on the grouping separator on the system locale (Locale.current). The user can set a completely custom symbol as their number separator in the macOS System Preferences. In my tests, I need to verify that custom grouping separators on Locale objects work correctly. But I can't set a custom grouping separator as the groupingSeparator property on Locale is read-only: /// For example, for en_US, returns ,. public var groupingSeparator: String? { get } How do I create a Locale object for testing purposes, that will simulate a custom locale the user might have configured in the System Preferences?
3
0
1.2k
Mar ’21
Reply to Develop in swift fundamentals and xcode 12
Thanks. I downloaded the material and opened Lab - Classes.playground with XCode 12 (12GM Version 12.0 (12A7208)) with no problem. I tried also to open Lab - Collections.playground with Version 12.2 beta (12B5018i). It works as well. It works the same way as in XCode 11. I did not experienced any forced Quit. Note: to see code, I had to tap on the link at the bottom of the page, not very intuitive.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’20
Save an Identity into app group Keychain
Hello everyone, I am trying to save an identity into a group keychain. I am doing it this way, following the documentation: let queryAdd: [String: AnyObject] = [ kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: kSecImportItemIdentity as AnyObject, kSecValueData as String: identity as SecIdentity, kSecAttrAccessible as String: kSecAttrAccessibleWhenUnlocked, kSecAttrAccessGroup as String: accessGroup as AnyObject ] let resultCode = SecItemAdd(queryAdd as CFDictionary, nil) if resultCode != noErr { print(Error saving to Keychain: (resultCode)) } I am getting error (or resultCode) -50, which means password has not been save successfully. As a no-team programmer, my accessGroup it's just the group Bundle identifier, registered in Signing & Capabilities -> Keychain Sharing. I don't know if maybe the reason of this code is because the group is not alright or something else it's happening, although it looks I am using the identity the right way.
2
0
1.1k
Aug ’20
App for a Closed Group Of Users
Hi,does apple allow apps for a Closed Group of Users ?I want to create an app for a private club for managing club events and registrations therefore.I will only allow users with valid credentials when acessing the App. For other users this App will have no value.Are those kinds of (private) apps allowed in the iStore or will they be rejected ?Thanks for any information
3
0
1.3k
Feb ’17
SIMD-group shuffle on iOS?
It seems like the SIMD-group shuffle instructions (e.g. simd_shuffle(), simd_shuffle_down(), simd_shuffle_xor() etc. – subsection 5.13) aren't supported on iOS (#include <metal_simdgroup> throws an error).I'd like to know why aren't these instructions available on iOS – is it because the GPU architectures don't allow for these instructions to be implemented (why?), or is there any other reason?Furthermore is there a plan to add these instructions to iOS?
4
0
2.4k
Aug ’17
Communication Notifications not grouping notifications by conversation
I've implemented Communication Notifications in my messaging application but am having difficulty with figuring out why notifications aren't being grouped by conversation - instead, they all collapse into a single group. I've verified that the conversationIdentifier of the INSendMessageIntent is being correctly set for my notifications, along with the speakableGroupName. Is there anything else I could be missing to achieve the desired conversation grouping behaviour?
2
0
505
Jun ’24
Why can't I create a new group in Xcode?
I need to put a file inside a group in xcode, but every time I try, it throws an error. This is what I did: I selected the file that I want -> New group from selection. When I name the group and hit enter, I get the following error: `An unknown error occurred. Domain: com.apple.dt.SourceControlErrorDomain Code: -1 Recovery Suggestion: failed to read index: '/Users/Path_to_project/.git/index' no longer exists (-1) User Info: { DVTErrorCreationDateKey = 2022-11-30 18:32:36 +0000; com.apple.dt.sourcecontrol.UnderlyingErrorString = failed to read index: '/Users/path_to_project/.git/index' no longer exists (-1); }` The file, let's call it helper.swift is in the same level as projectNameApp.swift. It was working fine until a coupe of days ago. Out of nowhere xcode started throwing a permission related error for helper.swift. The error goes like this -> The file “Helper.swift” couldn’t be opened because you don’t have permission to view it. I have both read and write permission for t
0
0
647
Nov ’22
Migrating to Game Center Groups
Hey,I have an existing iOS App with Game Center Leaderboards and Achievements that I now want to transfer to a Game Center Group for multi-platform shared leaderboards. (OS X / tvOS)1. I have an update already in the review pipeline set to the standard leaderboard id's.2. I have setup a Game Center Group for this App post this being in review.3. I want to retain all player scores / achievementsNotes: According to Diego:I migrated to my game to GC groups, then submitted my game for OS X using the grp prefix. I didn't have to make any changes to the iOS version, it just worked. Game is called Arcane Tower in case you're interestedI checked his App on iOS and OS X and the leaderboards are in sync.So it seems the old id's (original ones) seem to keep in sync with the new grp versions. However if you create a new application using these you must use the grp prefix to address them (say the OS X version or tvOS).My questions are:1. Do I need to modify the iOS leaderboard / achievement id's
0
0
618
Oct ’15
why is onAppear called twice on group in ZStack?
Is this a bug or why does white get printed to console twice but black only once in the below code? If I take out the Text() call then it works like I expect (both onAppear modifiers only called once).import SwiftUIstruct ContentView: View { var body: some View { ZStack { Group { Rectangle().fill(Color.black) } .onAppear() {print(black)} Group { Rectangle().fill(Color.white) Text(black on white).foregroundColor(.black) } .onAppear() { print(white)} } }}struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() }}
6
0
4.9k
Mar ’20