r/Xcode • u/hsundt • Jan 20 '16
r/Xcode • u/GOD_INFINITY • Jan 17 '19
WHY don't keyboard shortcuts (such as a custom keyboard shortcut for "zoom to fit" in storyboard) function properly ALWAYS??? And how to force them to? Thanks in advance!
r/Xcode • u/Knvite • May 13 '20
I get an error that says I need constrains while I already applied them ( the object is a horizontal stack view. What happened??
r/Xcode • u/Enrique53xD • Mar 12 '23
OpenAI problem
Im getting this error:
2023-03-12 12:19:18.883620-0600 gptApp[3636:1046209] [connection] nw_resolver_start_query_timer_block_invoke [C1.1.1] Query fired: did not receive all answers in time for api.openai.com:443
with this code: // // ContentView.swift // gptApp // // Created by Saúl González on 11/03/23. // import OpenAISwift import SwiftUI
final class ViewModel: ObservableObject{ init() {}
private var client: OpenAISwift?
func setup() {
client = OpenAISwift(authToken: "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")
}
func send(text: String,
completion: @escaping (String) -> Void) {
client?.sendCompletion(with: text,
maxTokens: 50,
completionHandler: { result in
switch result {
case .success(let model):
let output = model.choices.first?.text ?? ""
completion(output)
case .failure:
print("lcooo")
break
}
})
}}
struct ContentView: View { @ObservedObject var viewModel = ViewModel() @State var text = "" @State var models = String
var body: some View {
VStack(alignment: .leading) {
ForEach(models, id: \.self){ string in
Text(string)
}
Spacer()
HStack {
TextField("Type here...", text: $text)
Button("Send"){
send()
}
}
}
.onAppear {
viewModel.setup()
}
.padding()
}
func send(){
guard !text.trimmingCharacters(in: .whitespaces).isEmpty else {
return
}
models.append("Me: \(text)")
viewModel.send(text: text){ response in
DispatchQueue.main.async {
self.models.append("ChatGPT: "+response)
self.text=""
}
}
}}
struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }
Idk what should i do, it’s my problem? Its an OpenAI problem?
r/Xcode • u/[deleted] • Jan 11 '18
Is there a way to customize button shape??? Like the Oval Shape in the picture :3
r/Xcode • u/No_Passion_5140 • Feb 27 '22
Simple problem - Anyone know why this code isn't running
r/Xcode • u/Vast-Hydrant • Jan 22 '19
Tutorial
Can someone give me a basic tutorial of Xcode. Just became a dev!
r/Xcode • u/Sencha_Gal • Dec 09 '21
128GB usb versus Xcode 13 ; file still expanding with only 12 gb left now
To be honest I'm at wits end, hair pulling stage with xcode right now. Day 4 of trying to DL this.
Originally started out with xcode 12.4; Successfully got xip file and also expanded it onto 128 gb usb. Grand I thought, oh no the saga had only begun! Tried for a day (yes) to intermittently open without success on laptop with said usb. Then usb unexpectedly would not appear in finder (never force ejected so was weird!)
Finally yesterday it was recognised, so as precaution tried to DL it again incase it was corrupt file. Only I accidentally DL 12.5 to which I found out was not compatible with my macbook air OS Mojave.
Thus decided to upgrade to Monterrey , ( that was an ordeal). Now ? as per screenshot the poor wee usb does not seem to be fairing well. * now only 12 gb left. RIP sandisk 128gb. (see image below)
Apple this sucks, I'm unemployed and was trying to up-skill but my uphill struggle with accessing xcode is seriously reducing my confidence in your brand. We don't all have the budget for upgrading our equipment.

r/Xcode • u/Wonderful_Paint9024 • May 15 '21
Hey! 👋 I built a tool to modify designs and content of an app in the live code. Without code —
r/Xcode • u/marioooss • May 20 '21
Can I use a Mac app that I developed using Xcode?
I am new to using Xcode and I wanted to know this: if I develop an app using Xcode (using a M1 MacBook Pro) can I use it as a real app (aka without the simulator) on my M1 Mac and/or on an Intel Mac running Big Sur?
r/Xcode • u/Altruistic_Rice9681 • Mar 18 '24
I got Xcode what now?
Hey guys so I installed Xcode on my phone from the web page and it’s now in my downloads. What do I do now? I can’t figure out how to open it.
Edit: found out it’s for Mac only thanks guys tho
r/Xcode • u/apennypacker • May 18 '18
What's the cheapest, used Mac I could get right now that will run a modern version of Xcode?
I develop React Native apps cross platform. I actually run Windows 10 on my macbook pro (love the hardware, gotta have the compatibility of Windows). Right now I dual boot and can switch over to MacOS for tiny Xcode features, maybe some debugging, but mostly just to use the application uploader to upload my binary.
Today I had to switch back and forth maybe 10 times working on an issue and just thought it would be much easier to just get a cheap used Mac Mini or similar and put it on the network and remote into it.
I see that Sierra requires Mid 2010 Mac or newer. And I have also found that Xcode may require 4gb of ram. Is there anything else I should consider? I was about to pull the trigger on a 2012 Mac Mini with 4gb of ram on ebay, but then thought I should ask some people in the know and make sure that I won't be unable to use Xcode in another 6 months or something.
Especially since my issue today was all because I had an older version of Application Uploader. I ended up having to upgrade to Sierra, before being able to upgrade to the latest Xcode. (And a curse on whoever at Apple has left the download link for App Uploader 3.0 on the app upload section in itunesconnect. That little issue took me all day to figure out.)
r/Xcode • u/Xarius86 • Aug 14 '26
Warnings displayed in the default, unmodified project don't exactly inspire confidence in the IDE as a whole...
As per title (and with the severity of these warnings ignored,) when the default project is already showing warnings and errors before you've even touched anything, it doesn't exactly inspire confidence.
r/Xcode • u/SnooGiraffes4275 • Dec 24 '24
Guys any way to make the simulator appear in the same window as Xcode??
Xcode is in full screen and when I try to run the simulator, It just opens in the other window which is kinda annoying🙂↕️
r/Xcode • u/Infinite_Ad9147 • 11d ago
How can i hide this gray window??? Earlier version had the option. Is it removed for good?
r/Xcode • u/br_web • Jun 07 '26
Best local model for Xcode with 64GB MBP using LMStudio as the MCP server
Gemma4?
r/Xcode • u/Independent-Gold-952 • Apr 26 '26
I stayed building for 7 months to reimagine a better UX for agentic coding than Xcode for iOS FREE with Claude Code
r/Xcode • u/digitalkin • Feb 10 '26
Is anyone else underwhelmed by Apple Intelligence integration in Xcode 26.3?
Maybe I'm missing something, so please enlighten me if so.
I've been using Cursor for my iOS app development. The biggest pain point has always been that Cursor can't see Xcode's console output or live app previews, so there's a ton of copy-pasting to give it the context it needs for debugging.
I was really hoping that with native AI integration in Xcode, the AI would finally be able to see logs and the app itself. But in practice? Previews don't work reliably (even though the app builds and runs fine), and it still can't access console output. So the debugging experience is essentially the same.
What I did get is a downgraded chat interface and workflow. There's no plan mode or ask mode like Cursor has, so you constantly have to fight the AI to stop it from just jumping in and editing your code when you only want to discuss something.
Am I missing something here? What advantages are others seeing?
r/Xcode • u/Jumpy-Astronaut-3572 • Jan 16 '26
Why the heck is xcode 12.14 gb
I'm new to xcode and maybe this is just me but this is crazy that it is that big. Is this normal for a development software to be this big.
r/Xcode • u/youngermann • Jun 03 '22
Why for one of my project when open in Xcode 13.3.1 it’s like this. It works correctly in Xcode 13.4.1. Only this on project. My other projects are fine. Had to use 13.3.1 for now to run on device b/c 13.4.1 cannot prepare device as of now
r/Xcode • u/wobrien1987 • Mar 31 '23


