Post

Replies

Boosts

Views

Activity

Reply to I can't run or create a simulator that isn't iOS26 after downloading the Xcode Beta 3
Let's go through this one issue at a time: "I couldn't build my app": Why not? What error(s) are you seeing? Being unable to build your app has nothing to do with running your app on a Simulator or device (other than it needing to build before you can deploy it). "tried to create a simulator with iOS18 but it didn't show up": Meaning you don't have iOS 18.5 installed. "I tried deleting iOS18 platform and downloading it again": Where from? Xcode > Settings > Components? That's the best place to manage your installed runtimes. "I tried deleting Xcode Beta but it didn't solve the problem": The Xcode and Xcode-beta apps are entirely separate from the installed runtimes. The runtimes are installed in a separate location, which is very flexible because it saves disk space by allowing them to be shared between any installed Xcode apps. "I deleted Runtimes folder, it didn't solve": Don't do this. Use Xcode's Settings > Components to manage your runtimes. So, let me know what's listed in your Xcode (not Xcode-beta) app's Settings > Components window. If iOS 18.5 is listed but not installed, try clicking "Get" to install it.
Jul ’25
Reply to icloud capability not working?
When you created the app you selected "None" for storage, and now you want to add storage. The easiest way to do this is to create a completely new project and select the correct storage option, and see what that new project contains that your existing project doesn't. You should be able to figure out what keys need adding to a plist, or what code needs to exist in which files, etc. I am not suggesting you move your code from your current project into the new one; that would cause you far more problems than you need. Just compare what you have already and what the new project has, and make them the same. (The last thing you should attempt is to use an LLM or "AI" - you will spend far longer trying to give it the right context.)
Jul ’25
Reply to iOS 26 lets you swipe to delete history
You should probably raise these issues as bugs in the usual way. They won't really get progressed if they're only posted in these Developer Forums. You need to raise each issue you find separately at https://feedbackassistant.apple.com/ You can post the FB numbers here if you want, so that others can link to them.
Jul ’25
Reply to Preview crashes when using ForEach with a Binding to an array and generics
It also crashes in Xcode 16.4 because what you're doing isn't valid. In your second example, line 28 is wrong. HelloView does not have any Bindings in it; it just takes a label parameter, so line 29 passes in element.label. Correct. Line 28 is treating your elements State var as though it's a binding, by adding the $ in front. And you're also adding the $ to the element part towards the end of the line. elements is a State var and element is a var whose label property is being passed into a view that does not have a Binding. This is why Preview crashes. It will compile if line 13 is this instead: @Binding var label: String, but based on what you're doing with label inside HelloView, i.e. you're not changing it, there's no need for it to be a binding var.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’25
Reply to onSubmit modifier not triggered when placement is automatic in searchable modifier.
You should probably raise this as a bug in the usual way. It won't really get progressed if it's only posted in these Developer Forums. You need to raise each issue you find separately at https://feedbackassistant.apple.com/ You can post the FB numbers here if you want, so that others can link to them. When raising a bug it's important to mention which version of which operating system you've found the issue in, e.g. iOS 18.5, iOS 26 beta 3, or visionOS 26 beta 3 etc.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’25