Post

Replies

Boosts

Views

Activity

No option for App store / TestFlight for archive
Hi! I have now spend a few days of trying to only get the option in Xcode to distribute to App Store. My app works on my own device, I have paid developer account and created a record for the app and its bundle id in App Store Connect. After archive the only options I can see is "Release testing, Enterprise, Debug and Custom". I have verified a lot of settings in both info.plist and build settings, without luck. I also see that the "Validate" button is greyed out, and the "SKIP_INSTALL" does not do the trick to enable it, and the archive is not a generic one, its explicit for watchOS. Using Xcode 16.2. Any suggestions of what to try before registering a support case.
0
0
145
Jan ’25
the ID [":"] occurs multiple times within the collection, this will give undefined results!
Hi! After upgrading to Xcode 16.1 my watchOS app is getting below error using a DatePicker configured with: displayedComponents: .hourAndMinute. I cannot find a solution for this error/warning. It only appears when im using : .hourAndMinute or : .hourAndMinuteandSeconds, but not .date. Note! My code is unchanged only change I Xcode upgrade. Any suggestions? ForEach<Array, Array, _ConditionalContent<_ConditionalContent<_ConditionalContent<_ConditionalContent<YearPicker, MonthPicker>, _ConditionalContent<DayPicker, ComponentPicker>>, _ConditionalContent<_ConditionalContent<ComponentPicker, ComponentPicker>, _ConditionalContent<AMPMPicker, ModifiedContent<Text, _PaddingLayout>>>>, EmptyView>>: the ID [":"] occurs multiple times within the collection, this will give undefined results! import SwiftUI import WidgetKit struct TimeEditView: View { let title: String @Binding var storedValue: String var body: some View { Form { DatePicker( title, selection: Binding<Date>( get: { Date.from(storedValue) ?? Date() }, set: { newDate in storedValue = newDate.toString() } ), displayedComponents: .hourAndMinute ) .onChange(of: storedValue) { WidgetCenter.shared.reloadAllTimelines() print("Morning Start changed!") } } .navigationTitle(title) } }
0
0
246
Dec ’24
WatchOS DatePicker hourAndMinute
Hi! Im trying to get rid of the third separator used to show seconds in in view while using displayedComponents: .hourAndMinute for WatchOS. As shown in the picture, the first Datepicker shows a second ":" separator for seconds even though its configured to only show hour and minutes. The second Datepicker is configured to show hourMinuteAndSecond which makes sense that the second ":" is rendered. What can I do to get rid of the seconds separator when the Datepicker is configured for .hourAndMinute only? The locale is Swedish and 24hr clock. Best Regards
Topic: UI Frameworks SubTopic: SwiftUI
2
0
222
Jul ’24