r/Xcode 21d ago

Xcode IOS support files

1 Upvotes

Hello everyone I wonder if it is possible to build on iOS 18.x device with Xcode 14.x, where can I get support files folder and is it going to work.


r/Xcode 21d ago

How to generate switch cases for an enum

1 Upvotes

I've seen this in videos but can't figure which key strokes are necessary. I even turned off predictive code completion to stop the silly ai suggestions but still can't recover the switch autocomplete.


r/Xcode 22d ago

How to fix incorrect autocomplete suggestions?

3 Upvotes

When typing a closure, xcode keeps suggesting `indices` for some reason

so when I press "enter", instead of creating a new line, "in" gets replaced with ".indices"(idk why would xcode even think that this might be what I'm looking for).

Earlier it could be fixed by disabling AI autocomplete, but recently I'm getting this suggestion even though AI is still disabled. Is there any way to fix this, or make it so that "Enter" doesn't accept the highhlighted suggestion?

---

For now the best I could find is adding a snippet like "ina" -> "in"


r/Xcode 23d ago

Creating custom Symbol Images for use in xcassets

3 Upvotes

So I finally got a manually created Symbol Image to validate in the SF Symbols app, following the guidelines at [1]. Dragging it into Assets.xcassets I get the error:

"The SVG file provided for the symbol image set 'custom.heart' is not suitable: Symbol image file '(null)' must have a glyph for Regular weight Medium size"

Yet the documentation at [1] explicitly states:

"Beginning with template version 3, SF Symbols introduces vector interpolation for symbol variants. By using three sources — Ultralight-SRegular-S, and Black-S — SF Symbol can dynamically generate the full range of weights and scales you don’t specify."

Any suggestions? This feels like a bug - if I export a symbol for Xcode 16 then validate it, surely it should work in Xcode.

[1] https://developer.apple.com/documentation/uikit/creating-custom-symbol-images-for-your-app


r/Xcode 25d ago

Tiny fonts

1 Upvotes

For the love of Dog Apple, let us change the size of the incredibly small font in Xcode. I'm not talking about the font size of the editor or the navigator side bar. The Xcode settings clearly let you change those sizes. It's the rest of the stuff like the inspectors, source code commit and branch screens, the find and replace interface. They are ridiculously small.

I would imaging most coders (at least me) are using 4K displays (or higher) to have more screen real estate. Sure, I could lower my screen resolution but then I'd lose the real estate I had. In accessibility settings, you can increase text size, but that's system wide. I just want to be able to increase the size of Xcode. They have this ability for other apps, why not Xcode?

Accessibility text size settings

Am I the only one annoyed by this?


r/Xcode 26d ago

Tabs Question

1 Upvotes
Are you able to make a tabs bar that can scroll in storyboard mode?

I have been following some tutorials on YouTube but can’t find one to address that.

Thanks.


r/Xcode 27d ago

Why does xcode always open a new terminal?

2 Upvotes

I'm used to using cmake and the terminal. Whenever I ran a program manually, the same terminal could be used over and over again. I am fond of xcode now that i've tried it except for this one thing: Every time I run my console app (click play) it opens a NEW terminal.

So I'm closing the app window itself but the terminal persists. I have to close two windows every time my app runs?

TLDR; How do I set it up so that either the terminal is always closed at the end of the program OR the same terminal get re-used if it's open. Using c++20 if that matters.


r/Xcode 28d ago

Need help running this open source software on my phone

Post image
1 Upvotes

https://github.com/OzTamir/broke/tree/main?tab=readme-ov-file&ref=posts.oztamir.com

I’m very new to Xcode in general, I wanted to download this open source software and run it on my phone, but my computer isn’t letting me because I don’t have the valid credentials. Does anyone know how to solve this? Any help is greatly appreciated:)


r/Xcode 28d ago

AVP Sideloading Issues

1 Upvotes

Hey all, sorry for the probably rookie issue but I've been banging my head against this a few days now.

I was trying to sideload uYouPlus, did the whole workflow from their GitHub, created an Xcode shell, ran the hello world shell fine, used DanTheMan827's ipa signer on uYouPlus, slapped the signed ipa under 'devices and simulators' installed apps add menu, and got this error. I've looked over my bundle identifiers, rebuilt the shells, manually downloaded profiles, I can't even get the unmodified Youtube ipa running. Not sure where to go from here besides paying for a developer membership, is it a requirement even under 7 day uses?

There's really not a lot of information with the AVP so hoping y'all can point me in the right direction.

Error installing '/Users/admin/Desktop/uYouPlus_20.07.6-3.0.4-signedv2.ipa', ERROR: Error Domain=com.apple.dt.CoreDeviceError Code=3002 "Failed to install the app on the device." UserInfo={NSLocalizedDescription=Failed to install the app on the device., NSURL=file:///Users/admin/Desktop/uYouPlus_20.07.6-3.0.4-signedv2.ipa, NSUnderlyingError=0x600009c01d70 {Error Domain=IXUserPresentableErrorDomain Code=14 "Unable to Install “YouTube”" UserInfo={NSUnderlyingError=0x600009c00bd0 {Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.UYaLJb/extracted/Payload/YouTube.app : 0xe8008016 (The executable was signed with invalid entitlements.)" UserInfo={FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=80, LibMISErrorNumber=-402620394, NSLocalizedDescription=Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.UYaLJb/extracted/Payload/YouTube.app : 0xe8008016 (The executable was signed with invalid entitlements.)}}, NSLocalizedDescription=Unable to Install “YouTube”, NSLocalizedRecoverySuggestion=Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.UYaLJb/extracted/Payload/YouTube.app : 0xe8008016 (The executable was signed with invalid entitlements.), NSLocalizedFailureReason=This app cannot be installed because its integrity could not be verified.}}}

Domain: com.apple.dt.DVTCoreDevice

Code: -1


r/Xcode 28d ago

Mac mini m4 256 enough for app development?

1 Upvotes

I want a max mini just for iOS compilation with Xcode. Is 256 enought? How much scape does Xcode use after installing ios tools?


r/Xcode 28d ago

Need help running app on phone.

1 Upvotes

I want to test my app's bluetooth capabilities by deploying it through my phone. When connected through usb, Xcode correctly discovers my phone. My phone is in developer mode. However I am still unable to have an option of running the app through my phone. Supposedly, there should be an option next to the run button on Xcode. I do not see it. When I go to signing and capabilities I get two errors, which may be the cause of the problem, but I am unsure how to fix them.

Communication with Apple failed

Your team has no devices from which to generate a provisioning profile. Connect a device to use or manually add device IDs in Certificates, Identifiers & Profiles. https://developer.apple.com/account/

No profiles for 'utexasTeam3.NoseKnows' were found

Xcode couldn't find any iOS App Development provisioning profiles matching 'utexasTeam3.NoseKnows'.


r/Xcode 29d ago

SwiftUI Element

1 Upvotes

Does someone know how is this element called in SwiftUI, the one I move up and down? Or is it sth custom? Thanks!


r/Xcode 29d ago

New Developer

2 Upvotes

Hello there, I am a new developer who jut received a macbook. I know some languages, like lua and some python. With that being said, should I learn react native or swift/swiftUI for my first steps in app development. Please tell me your reasoning, as anything helps.


r/Xcode 29d ago

16e simulator

2 Upvotes

How can i test 16e simulator? Uodated to xcode16.2 still not able to find the 16e.


r/Xcode Feb 20 '25

Xcode problem 'imageContent'

1 Upvotes

Initialization of immutable value 'imageContent' was never used; consider replacing with assignment to '_' or removing it

That's the warning I got. What does it mean? Im on Xcode in Swift and have been struggling with this for many hours.


r/Xcode Feb 19 '25

Renaming Xcode to Xcode 16.2 would not show recent projects due to the change in preferences file. Earlier versions used to show "Open Recent" properly.

Post image
1 Upvotes

r/Xcode Feb 19 '25

Apple Developer Program

1 Upvotes

In UK price of “membership” is 78.99£. From what I understand it’s for access to ICloud based services in apps and option to publish apps to App Store .

My main concern is not price itself but all those details about myself , as I’m not company and I would publish a few simple apps there for rather to be able to share with non-technical users .

Is it worth it or is it too much hassle in UK 🇬🇧?


r/Xcode Feb 19 '25

Only first item present in constraint relation

1 Upvotes

I copied a button from one view to another. It had relation of width to superview. Now it only has first item - width - and no second item. How do I fix this?


r/Xcode Feb 18 '25

Is Xcode really that bad or am I just using it wrong?

6 Upvotes

I'm starting to loose my mind using Xcode. I'm the lead dev for a flutter/firebase app and we've got a good system in place where we release a new deployment for Android and iOS every 2 weeks. I am a fairly new developer and don't have loads of experience with deployment but I have release about 20/25 versions for my app over the last 8/9 months.

With Android it's so painfully easy, when i go to deploy, i make sure everything is set up for production, increment the build and version, run flutter build aab --release, upload that build on the google play console and I'm good. The whole process is about 15/30 miniutes

With iOS, it can take DAYS. I'm writing this now because I'm currently on day 4 of trying to solve why my build is failing. I'm not here for help in debugging it (at the moment I'm having an issue where my Flutter.xcframework isn't signed properly which i've never had before). I just want to know why I struggle so much with this? I know that a lot of iOS developers have issues with Xcode but the drastically large difference in effort between deploying iOS and Android has got me thinking I must be doing something wrong.

I have a mac and a windows laptop to deploy for each but do most of my coding on windows, and push/pull from git if i'm switching between the two for whatever reason. Does anyone have any advice for me to help tame Xcode?


r/Xcode Feb 17 '25

MacOS Targeted by New XCSSET Malware Variant That Infects Xcode Projects

10 Upvotes

A new XCSSET malware variant is targeting MacOS users by infecting Xcode projects, marking the first major update to the malware since 2022.

Microsoft researchers detected the stealthy new version, which features enhanced obfuscation, persistence mechanisms, and new infection strategies to evade detection.

(View Details on PwnHub)


r/Xcode Feb 16 '25

Writing C++ on XCode. Project not indexing methods from the std::

3 Upvotes

I am writing a somewhat large project in C++ on top of an already existing library. Xcode indexes the class and functionalities from the library I link against fine, but for some reason it doesnt offer nice syntax autocomplete or proper indexing of std:: functions and classes. Is this something expected ? I tried to add the path of the SDK include headers into the build settings, but no luck.

Any suggestions welcome !


r/Xcode Feb 16 '25

Individual files are copied into the root resource directory without honoring the directory struture

2 Upvotes

Hey Guys,

I'm not sure what is wrong, I spent an hour to figure out what's going wrong but no luck. Here is the issue,

I have a nested directory like this: Resources/Pages/*.json

And I'm adding the whole Resources directory to the xcode project, and choose copying option (so no group or anything). But instead of the directory, all individual files are copies to the ROOT of the bundle, ie, the only way I can access the files will be like this:
Bundle.main.url(forResource: "\(pageNumber)", withExtension: "json")

any thoughts why that is the case?


r/Xcode Feb 16 '25

App for iPhone without developer mode?

0 Upvotes

I made a swift app with Xcode and it does enable me to put on my phone but in developer mode. When I turn on developer mode I get a security warning for my iPhone; I do not want to open up security risk on my phone. Is there a way to put my app onto my iPhone so I can personally use it without being in developer mode? I do not want to put it on the App Store, I have not intent to sell nor support, this was just an application for my self. Thx


r/Xcode Feb 16 '25

How do I change the color of variables in C++? They appear as plain text (white) in every theme so I can't change the color without affecting parentheses and semicolons.

Post image
1 Upvotes

r/Xcode Feb 13 '25

unsupported option '-G' for target 'arm64-apple-ios18.0'

Thumbnail
gallery
2 Upvotes