Search results for

A Summary of the WWDC25 Group Lab

10,366 results found

Post

Replies

Boosts

Views

Activity

Questions about Subscription Groups in In-App Purchases
Hello, I have a question about subscription groups in in-app purchases. Suppose I create a subscription group like this: Subscription Group A Subscription Item A1 (one month) Subscription Item A2 (one week) Subscription Item A3 (one year) The documentation mentions, A subscription group is made up of subscriptions with different access levels, prices, and durations so people can select the option that best fits their needs. Since people can only buy one subscription within a group at a time. Does this mean that if a user purchases Subscription Item A1 in Subscription Group A, they can only purchase other subscription items in Subscription Group A after the one-month period ends, when that subscription expires?
1
0
363
Oct ’24
Game Center Group Leaderboard issue
I have an iOS game with one Game Center leaderboard. Recently I published the game and it works fine with no issues. Then I did light version of the game and I'd like to use the same leaderboard for both games. I combined both versions of the game into the Game Center Group and modified leaderboard ID, because Apple requires to start group leaderboard names with grp..Now, if I load scores I receive nil. But if I firstly submit some score and load after that I receive only score for the local player. I checked the leaderboard on itunesconnect and I know for sure that there are a lot of records in the leaderboard. The leaderboard is the same as it was before combining into the group. I thought that Game Center needs some time to update, but I've waited about several days and still see no changing.Do I do something wrong? Or this is just a Game Center bug?I found some similar issues here but with no reply. Does anyone has any ideas? Any help appreciated!
3
0
1.4k
Mar ’17
Reply to Unable to edit problematic keychain-access-groups setting of downloaded provisioningprofile for signing
Solution Summary: To build using EAS build, we need an Apple Distribution Certificate, but EAS's credentials tool creates an iOS Distribution Certificate. Therefor what is needed is to create the distribution cert on Apple Dev portal, download the .cer file from there, add it to your OSX keychain, then export to .p12 with a password. Then when using EAS build, you will choose: > eas build --profile production --platform ios --local ... ... Generate a new Apple Distribution Certificate? … no Path to P12 file: … /path/to/your.p12 P12 password: … *the password your exported to .p12 with* Would you like to reuse the original profile? … no Generate a new Apple Provisioning Profile? … yes During the build process, your OSX should prompt you for your OSX login chain pw (Your OSX admin pw, not the .p12 export password) multiple times. As for the keychain-access-groups entitlement, even though XCode complains as follows: Provisioning profile doesn't include the com.apple.developer.keychain-access-
Feb ’25
Xcode 7.3 group - autocomplete
I don't know if anyone else is experiencing similar problems. In Xcode project, I have several groups, and each one is 1 or 2 levels deep. groupA - fileA.h, fileA.mgroupB - GroupC - fileC.h, fileC.m(groupC is under GroupB)I have fileC.h imported in fileA.m. When I edit fileA.m, the autocomplete function stopped working when I try to access those defined in fileC.When I switch back to Xcode 7.2 the autocomplete works fine.
1
0
1.7k
Mar ’16
Group A Dictionary By Key Value
Im sure i cant be the only one to have an app needing this functionality, yet i cant come across and Library to help with it thus far.I have an Dictionary such as[[order: 31399, builder: Test, area: North], [order: 4244, builder: Test, area: North][order: 41499, builder: new, area: South]]Im wanting to group this data by Area in this case into a dictionary like so [[North: [[order: 31399, builder: Test, area: North], [order: 4244, builder: Test, area: North]]],[South: [[order: 41499, builder: new, area: South]]]]Or maybe even 2 levels down, by area and then by builder in the area. In JS i have used D3 and this process is super simple with nesting, in swift its becoming a nightmare. Even if i can just get 1 level grouping i will be happy at this point. Any help is appreciated. Thanks
4
0
213
Mar ’16
"Responsible Caller" seems arbitrary in Instruments Zombie Allocation Summary View?
I'm wondering if anyone else is seeing this:it looks to me like the Responsible caller value in the allocation summary is misleading, and randomly dropping to stack frames. for example, right now i'm looking at a summary that has these three lines (among others):Retain -[Solution initWithContentsOfURL:] Retain -[Solution init] Release -[Solution init]seems line 2 and three match, right? think again. if you look at the full stack frames for each, you see this: 0 Fire -[Solution init] /Users/mh/Code/Fire/SharedProjectSystem/Solution.cs:0 1 Fire -[Solution initWithContentsOfURL:] /Users/mh/Code/Fire/SharedProjectSystem/Solution.cs:85 2 Fire +[Solution solutionWithContentsOfURL:] /Users/mh/Code/Fire/SharedProjectSystem/Solution.cs:664 3 Fire -[SolutionDocument readFromURL:] /Users/mh/Code/Fire/SharedCoreApp/SolutionDocument.cs:70 4 Fire -[SolutionDocument readFromURL:ofType:error:] /Users/mh/Code/Fire/SharedCoreApp/SolutionDocument.NSDocument.cs:78 5 AppKit -[NSDocument _initForURL:withContentsO
0
0
509
Apr ’17
Reply to WidgetKit WidgetConfigurationIntent Parameter Icons
I have solved this problem. The answer was in the WWDC25 video Get to know App Intends. Here's an example of an WidgetConfigurationIntent to toggle a chart showing data points on or off including icons for the two data point display options. struct WatchDataPointsWidgetIntent: AppIntent, WidgetConfigurationIntent { static var title: LocalizedStringResource = Data Points Widget Configuration static var description = IntentDescription(Configure individual data point display for Watch Widgets.) static var isDiscoverable: Bool { return false} init() {} func perform() async throws -> some IntentResult { print(WatchDataPointsWidgetIntent perform) return .result() } @Parameter(title: Chart Display Options, default: ChartDataPointsOption.showDataPoints) var showDataPoints: ChartDataPointsOption? static var parameterSummary: some ParameterSummary { Summary(Chart Options: (.$showDataPoints)) } } enum ChartDataPointsOption: String, AppEnum { case showDataPoints case hideDataPoints static let typeDis
Jun ’25
App group shared user defaults
In iOS 16 beta 3, my iOS app sets some strings in the shared user defaults of the app group. The iOS widget extension reads the strings from the shared user defaults correctly, but the watchOS app and watchOS widget extension could not read them (get nil). Integers stored in the shared user defaults can be read everywhere. All targets are in the same app group. Does anyone have similar problems?
7
0
6.3k
Jul ’22
Is there a limit to how many Subscription Groups we can create in total?
We have identified Subscription Groups for our use-case based on the below note from Apple, but there is no mention of any limitations in the doc. Can we create unlimited number of Subscription Groups or is there a limit? If your app needs to offer users the ability to buy multiple subscriptions — for example, to subscribe to more than one channel in a streaming app — you can add these subscriptions to different groups. Users who buy subscriptions in multiple groups will be billed separately for each subscription. Thanks in advance!
1
0
1.5k
Jul ’22
Reply to Should ModelActor be used to populate a view?
I decided to run this task on app launch to sync the clinical labs into the SwiftData store. This allows me to use Query macro in the views where it's needed and no need to combine lab results. Let me know if this is the right approach: import SwiftData import SwiftUI import OSLog @ModelActor actor HealthKitSyncManager { private let logger = Logger(subsystem: com.trtmanager, category: HealthKitSyncManager) func sync() async { do { // Get all Clinical labs let hkClinicalRecords = try await TRTHealthKitService.getHKClinicalRecords() guard !hkClinicalRecords.isEmpty else { return } // Get existing HealthKit IDs in one query let descriptor = FetchDescriptor( // predicate: #Predicate { $0.source == .clinicalRecord } ) let existing = try modelContext.fetch(descriptor) .compactMap { $0.fhirResourceId } let existingIDs = Set(existing) let missingRecords = hkClinicalRecords.filter { lab in guard let fhirResource = lab.fhirResource else { return false } return !existingIDs.contains(f
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’25