Post

Replies

Boosts

Views

Activity

Unincluded dependencies failing to build for watchOS companion app.
When trying to use the watchOS preview the simulator fails to load and throws about 15 errors. Clearly the simulator is trying to load all of the iOS packages to the watchOS simulator. However, these packages clearly aren't included in the watchOS app. Furthermore, both apps build successfully to the main simulators, just not the previews. Having a list of errors that simply should not be there is a pretty big annoyance when something is going wrong. How do I fix this?
0
0
137
2w
.presentationDetents not working on iOS 17
Hello, I have the following code: .sheet(isPresented: $viewModel.isExerciseSelected) { ExerciseEditSheetView(viewModel: viewModel) .presentationDetents([.fraction(0.4)]) } This code correctly sizes the sheet on my iOS 18 simulator, but does not work on my iOS 17 simulator as well as my actual phone running iOS 17. Instead the sheet always fullscreens. Although its not the end of the world it is pretty annoying. Is there anything I'm missing? Thanks in advance.
1
0
126
3w