Search results for

A Summary of the WWDC25 Group Lab

10,109 results found

Post

Replies

Boosts

Views

Activity

Reply to Foundation Models Adapter Training Toolkit v0.2.0 LoRA Adapter Incompatible with macOS 26 Beta 4 Base Model
Thank you for responding! metadata.json from the .fmadapter package: { adapterIdentifier: fmadapter-foundation-lab-9799725, author: Foundation Lab, baseModelSignature: 9799725ff8e851184037110b422d891ad3b92ec1, creatorDefined: {}, description: Tool adapter., license: , loraRank: 32, speculativeDecodingDraftTokenCount: 5 } Code used to load the adapter: // From test-adapter-minimal.swift:39 let adapter = try SystemLanguageModel.Adapter(fileURL: adapterURL) // Also tried the name-based initializer: adapter = try await SystemLanguageModel.Adapter(name: adapterName) Please help make progress here. Thank you!
Jul ’25
How to specify TLS key exchange groups with NWProtocolTLS.Options
I am trying to establish a TLS 1.3 connection to a server that only accepts the SECP256R1 and FFDHE2048 TLS key share groups using the following code but the server is failing the TLS handshake because my client is not using a supported key exchange group. How do I specify which TLS key exchange group my client should use during the handshake? let tlsOptions = NWProtocolTLS.Options() if let secIdentity = getSecIdentity(), let identity = sec_identity_create(secIdentity) { sec_protocol_options_set_min_tls_protocol_version( tlsOptions.securityProtocolOptions, .TLSv13) sec_protocol_options_set_local_identity( tlsOptions.securityProtocolOptions, identity) } let tlsParams = NWParameters(tls: tlsOptions, tcp: .init()) let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(host), port: NWEndpoint.Port(port)) let nwConnection = NWConnection(to: endpoint, using: tlsParams) nwConnection.stateUpdateHandler = stateDidChange(to:) nwConnection.start(queue: queue) Thanks!
1
0
599
Sep ’23
How to add and move a group (folder) in Xcode project?
After I add a new group to my project inside the project navigator in Xcode, by right clicking, it always seems to appear somewhere I don't want it - for example, even if I am under App Delegate at the time of right clicking, it will still land right at the top of everything else. How can I add it where I need it to avoid having to move it? Also, I am not sure how to move a group in an efficient manner. When I try to drag and drop a group folder to another spot within my project navigator in Xcode, a green drag and add line appears and it automatically adds a duplicate. I then have to delete the original folder but even so I don't feel comfortable doing so.
5
0
5.4k
Aug ’17
twos settings with app group issue
I have a tvos application and a topshelf extension that share NSUserDefault settings via an App group.I instantiated the user defaults in the following manner let userDefaults = NSUserDefaults(suiteName: group.xxx.xxx.xxx)!Everything works as expected; settings are shared between the app and the top shelf extension.However I have not been able to get the Settings App to work with the app group.I have created a key in the Root.plist of my settings bundle called ApplicationGroupContainerIdentifier with the app group name, but that does not make work.The Settings App does not see values entered by the application or vice versa.I tested using the standard way of instantiating the userdefaults: userDefaults = NSUserDefaults.standardUserDefaults()That works but of course then the topshelf extension does not share any settings with the app.I would appreciate any help.Maybe the Settings App in tvOS doen not support app groups yet, I don't know.Thanks for any help
0
0
409
Nov ’15
Get all Products for in a subscription group
If I use SubscriptionStoreView.init(groupID), it seems to be able to look up all the Products that have that subscription group ID. But I don't see any public method for doing that myself. Am I missing something, or is SubscriptionStoreView using a private method to do this lookup? I know that historically it has always been necessary to know the product IDs of all the products you want to sell; you have never been able to ask Store Kit to give you a list. SubscriptionStoreView doesn't seem to have this limitation, which is a bit surprising.
0
0
660
Feb ’24
Error -34018 calling SecItemCopyMatching (no group)
Hi, I'm getting the error code -34018 in the VisionOS simulator when calling SecItemCopyMatching with this query: let getquery: [String: Any] = [kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: name, kSecReturnData as String: kCFBooleanTrue!, kSecMatchLimit as String : kSecMatchLimitOne ] The console says: copy_matching Error Domain=NSOSStatusErrorDomain Code=-34018 Client has neither application-identifier nor keychain-access-groups entitlements UserInfo={numberOfErrorsDeep=0, NSDescription=Client has neither application-identifier nor keychain-access-groups entitlements} I'm NOT using groups. I've tried changing the bundle id. Xcode version 15.0 beta 2 (15A5161b) Anyone have any ideas? Anyone using the keychain in their visionOS app? :-)
2
0
1.5k
Jul ’23
network extension, app groups, unix domain socket
Hi to all.I am developing network extension and have several issues that I faced and have no idea how to solve.So:1. there is sandboxed application that can install/unintall own network extension;2. there is App Group(https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_application-groups?language=objc), sandboxed application and appropriate network extension are included into group via owns entitlement files;3. App group registered manualy on https://developer.apple.com/account/resources/identifiers/list/applicationGroup, the same identifier is used in appropriate entitlement files. Identifier on site looks like group.TEAM_ID.com.company.app-group. Identifier in entitlement looks like TEAM_ID.com.company.app-group, i.e. without precending group;4. It is required to use unix domain socket for IPC communication between sandboxed application and network extension(I am porting existing software, so this is not a b
5
0
2.4k
May ’20