I just want to rant why is Xcode such a bad ide and I wish Apple can do a better job on Xcode. Here's why:
The preview is so slow. Most of the times it's just faster for me to test on a real device.
It is so slow, and many times I need to force quite after it's being unresponsive for sometimes. When I'm working on larger projects, the loading time becomes extremely slow especially when there's other clients that might be reading the same files like a Git client or simply iCloud.
The breakpoint is so slow. I don't know why, is it an iOS thing? But when I'm on ASP.Net the breakpoints are super fast. For Xcode it takes a long time to pause and show data.
It's so big
I don't know why it is so hard for Apple to make their ide better. The community has been unsatisfied with Xcode for a long time. There's many tricks on the internet that you can find to help you resolve some issues with your project that's actually related to Xcode. Instead of using these tricks, Apple should just fix these issues. Learn from Intellij!
Xcode
RSS for tagBuild, test, and submit your app using Xcode, Apple's integrated development environment.
Posts under Xcode tag
200 Posts
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
If I create a playground project that uses a JSONDecoder I get the following error.
The LLDB RPC Server has crashed. The crash log is located at ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.
I have raised feedback for this, FB17702087, but I hope that there may be a workaround.
The code I am using to try and get this to work is from The Apple Developer Documentation - JSON Decoder
var greeting = "JSON Test 3"
struct GroceryProduct: Codable {
var name: String
var points: Int
var description: String?
}
let json = """
{
"name": "Durian",
"points": 600,
"description": "A fruit with a distinctive scent."
}
""".data(using: .utf8)!
let decoder = JSONDecoder()
let product = try decoder.decode(GroceryProduct.self, from: json)
print(product.name) // Prints "Durian"
A screenshot of the playground showing the error
The crash log (the file type has been changed to txt as ips file types cannot be selected for upload.
lldb-rpc-server-2025-05-28-140832.txt
Hi everyone,
We're developing an AR app using Unity with Vuforia for object detection. Our app works well in full-screen mode, including detection and post-detection phases. However, we're facing a specific issue in iPad Split View multitasking mode.
Problem:
The AR camera (Vuforia-based) freezes during object detection if another app is opened in Split View.
Post-detection, everything works fine in Split View. The problem only occurs during detection.
Testing Environment:
iPadOS 16+
Unity with Vuforia plugin
Using EnableMultitaskingCameraAccess() method with AVFoundation to support camera multitasking
AR scene is set up properly with detection capabilities in full-screen
Xcode Version 16.3 (16E140)
App developed in Flutter Flutter 3.29.3
Test iPhone device: iPhone 16 Pro running iOS 18.5
I have an app that requires Camera access. This used to work before with iOS 18.4.x. I have dumbed down my app to just get Camera permission. Even then it fails
flutter: Camera permission: PermissionStatus.denied
flutter: Photos permission: PermissionStatus.denied
flutter: Microphone permission: PermissionStatus.denied
flutter: --- End Debug Info ---
flutter: Loaded translations from asset for en_US
container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled
container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled
container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled
container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled
container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled
container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled
flutter: CAMERA PERMISSION STATUS: PermissionStatus.permanentlyDenied
Camera permissions don't show up in my App settings or under "Settings -> Privacy and Security -> Camera" and I am at loss to understand why this is happening.
Hi ,
I am currently encountering issues while running a Titanium application using Xcode 16. I would like to request your guidance on resolving the following problems:
When running the Titanium app on a real device, I receive the following warning in Xcode and the app does not proceed beyond this point and the app is crashing on launch.
warning: (arm64) /Users/Library/Developer/Xcode/DerivedData/Procedures-hamsarmfbtnowbcdocpmydtuafnp/Build/Products/Debug-iphoneos/Procedures.app/Procedures empty dSYM file detected, dSYM was created with an executable with no debug info.
Thank you
Hello,
I'm sure I've probably missed a checkbox somewhere.. I have a mulitiplatform app, when building from Xcode, and not using the testing config, both iOS and macOS show the correct App Store currency..
When I distribute a build through TestFlight, my Mac version shows a
different country/currency price (the US one). I can't find anywhere to change this. My Mac is signed into the same sandbox account as my iOS device.
Can anyone help?
I am using SwiftData for my model. Until Xcode 15 beta 4 I did not have issues. Since beta 5 I am receiving the following red warning multiple times:
'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release
This seems to be a CoreData warning. However, I am not using CoreData directly. I have no way to change the config of CoreData as used by SwiftData.
My model just uses UUID, Int, String, Double, some of them as optionals or Arrays. I only use one attribute (.unique).
Hello! I need to clarify whether it is currently possible to build a browser based on Chromium and upload it to the App Store or TestFlight for MacOS?
At the moment, when trying to build the browser with App Sandbox function, an error appears:
[2849:52739:0416/142702.300453:FATAL:mach_port_rendezvous.cc(410)] Check failed: kr == KERN_SUCCESS. bootstrap_check_in com.name.namebrowser.MachPortRendezvousServer.2849: Permission denied (1100)
"Hello everyone, I'm experiencing an issue with App Store Connect and Xcode. My client has granted me admin access to upload an app to TestFlight. However, while I can see the account in App Store Connect, it's not visible in Xcode. I suspect the client's account might be a personal account rather than an organizational one. Can anyone suggest what I might be missing or what additional steps need to be taken? For context, I can see all other teams, but this particular team is not appearing in Xcode. Any help would be appreciated!"
I’m experiencing an issue where Xcode cannot access my Team ID, even though my Apple Developer Program membership appears active and I have paid for it.
• When I visit Certificates, Identifiers & Profiles, I get this popup:
“Unable to find a team with the given Team ID XXXXXXXXXX to which you belong. Please contact Apple Developer Program Support.”
• My Apple ID still shows an active Developer Program membership under System Settings → Media & Purchases.
• In App Store Connect, I can still see my Team ID and access my account.
This issue was previously resolved via phone support after I was incorrectly locked out. I had paid twice, and was refunded once, but now the issue has returned - and support claims I was refunded twice, which is false (I have proof from my bank).
I’ve contacted support multiple times, and my case has been sitting with the operations team for weeks. No explanation. No resolution. Just silence.
I paid for a service I’m not receiving. Has anyone dealt with a similar issue or found a way to escalate it effectively?
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
Accounts
Xcode
Developer Program
I'm trying to build an MDLMesh then add normals
let mdlMesh = MDLMesh.newBox(withDimensions: SIMD3<Float>(1, 1, 1),
segments: SIMD3<UInt32>(2, 2, 2),
geometryType: MDLGeometryType.triangles,
inwardNormals:false,
allocator: allocator)
mdlMesh.addNormals(withAttributeNamed: MDLVertexAttributeNormal, creaseThreshold: 0)
When I render the mesh, some normals are (0,0,0). I don't know if the problem is in the mesh, or in the conversion to MTKMesh. Is there a way to examine an MDLMesh with the geometry viewer?
When I look at the variable values for my mdlMesh I get this:
Not too useful. I don't know how to track down the normals.
What's the best way to find out where the normals getting broken?
Is anybody able to save the autocreated testplan successfully with Xcode 16.3? I get a crash no matter what (different filenames, locations, machines, ...). Now created a template project: same thing.
Xcode Version 16.3 (16E140) on macOS 15.5 (24F74)
Known issue, or am I holding it wrong?
Hi everyone,
I'm working on an iOS app developed with React Native (version 0.69.4), and I'm running into an issue when trying to upload the archive to App Store Connect.
My app is designed to work only in landscape orientation, so in Xcode I’ve set the supported interface orientations accordingly—only landscape left and landscape right are checked, and portrait options are unchecked.
However, when I try to upload the build to App Store Connect, I receive an error indicating that the app must support the portrait orientation on iPhone. The upload process is being blocked due to this setting.
For the functionality and layout of the app, supporting portrait mode is not ideal. Is there any recommended way to configure an app so that it can still be uploaded successfully while supporting only landscape orientation on iPhones?
Any advice or workarounds would be greatly appreciated.
Thanks in advance!
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store
Xcode
Organizer Window
App Submission
After the update of the Xcode to latest version, I’m getting “No Such Module Unity Framework” as error. the complete information is below.
I had to update the Xcode and the O.S as per the Apple Requirement from my older version of 14.x to latest 16.3. I had no issued running the Unity within my iOS App till the recent update.
Previous Setup:
Unity was successfully integrated into this iOS app and running fine before the update.
As it was working till the Xcode version 14.3, i have not changed any code relevant to Unity.
What I’ve Tried:
a. Added UnityFramework.framework to “Link Binary with Libraries” and marked it as “Embed & Sign”.
b. Verified Framework Search Paths include $(PROJECT_DIR)/UnityProject/build/Debug-iphoneos
c. Cleaned build folder, deleted Derived Data
d. Checked [CP] Embed Pods Frameworks step in Build Phases
Stuck On: Xcode still throws "No such module 'UnityFramework'" — it’s as if the framework isn’t being built or seen from my main project.
Request for Help:
Has anyone encountered this issue post-Xcode 16.3 update from 14.x. I’d really appreciate any guidance, updated workflows, or even a checklist of steps for properly integrating Unity into an existing iOS app with the new Xcode build system.
I have a ContentView in my app which includes the line of code FileUploadProgressAttributes. this struct is defined in a file included in the target FileUploadProgressExtension. and it is an ActivityAttributes.
in ContentView I imported FileUploadProgressExtension, and the xcode is able to find the FileUploadProgressAttributes during prebuild. but during build, it gives me
Undefined symbols for architecture arm64:
"FileUploadProgressExtension.FileUploadProgressAttributes.init(filename: Swift.String) -> FileUploadProgressExtension.FileUploadProgressAttributes
the workaround i found is to add the file with the FileUploadProgressAttributes to my app's target, but I'm not sure if this is the right thing to do. When Xcode created the extension for me, it added the extension target as a target dependency of my app. so obviously if i added this file to my app target it makes the extension target pointless.
First time working with widgets so I'm not sure if I'm missing something.
I added gesture support to my app that supports iOS 16 and 17 and have never had issues with it.
However, when I compiled my app with Xcode 16 I immediately noticed a problem with the app when I ran it in the simulator. I couldn't scroll up or down. I figured out it’s because of my gesture support.
My gesture support is pretty simple.
let myDragGesture = DragGesture()
.onChanged { gesture in
self.offset = gesture.translation
}
.onEnded { _ in
if self.offset.width > threshold {
...some logic
} else if self.offset.width < -threshold {
...some other logic
}
logitUI.debug("drag gesture width was \(self.offset.width)")
self.offset = .zero
}
If I pass nil to .gesture instead of myDragGesture then scrolling starts working again.
Here’s some example output when I’m trying to scroll down. These messages do NOT appear when I run my app on an iOS 16/17 simulator with Xcode 15.
drag gesture width was 5.333328
drag gesture width was -15.333344
drag gesture width was -3.000000
drag gesture width was -24.333328
drag gesture width was -30.666656
I opened FB14205678 about this.
I'm implementing the 'new' QLThumbnailProvider for our macOS app...
So I just created the skeleton from Xcode, added our QLSupportedContentTypes in Info.plist, and have the skeleton code like below:
import QuickLookThumbnailing
class ThumbnailProvider: QLThumbnailProvider {
override func provideThumbnail(for request: QLFileThumbnailRequest, _ handler: @escaping (QLThumbnailReply?, Error?) -> Void) {
// cannot trigger break point here!
}
I understand I should test the Thumbnail Extension by using:
$ qlmanage -t my_file.ext
Testing Quick Look thumbnails with files:
my_file.ext
But I don't know what process to attach to in the Xcode debugger... a bit clueless...
I've skimmed relevant parts of https://developer.apple.com/videos/play/wwdc2019/719, but there is no real debug tips...
Does anyone know if it is possible to debug with Xcode or not? And if possible, then how? 😅
I am using a Mac computer running macOS 15.5 with Xcode version 16.3 (16E140) and an iPhone XS Max on iOS 18.5. When debugging my app on the real device using Xcode, the app gets stuck on the launch screen and fails to proceed to the main interface. There is no output in the Xcode console, and the top of the window continuously shows "attaching to [app name] on [iPhone name]". Here are the details:
The same issue occurred when the phone was running iOS 18.4.1.
When I tested on another real device running iOS 17, the app launched and ran normally.
I’ve tried clearing the cache, but it didn’t help.
I deleted the ~/Library/Developer/Xcode/iOS DeviceSupport folder, let it re-download the necessary files, and ran the app again, but the issue persists.
I’m currently out of ideas and would appreciate any assistance.
All is fine in Xcode15, no LLDB errors whatsoever, but in Xcode16 I can't get any variable displayed in the console because of the following error:
error: type for self cannot be reconstructed: type for typename "$......." was not found (cached)
error: Couldn't realize Swift AST type of self. Hint: using `v` to directly inspect variables and fields may still work.
I've checked the output of swift-healthcheck and there are several messages like this:
SwiftASTContextForExpressions(module: "ROA", cu: "ROA+ViewLayer.swift")::LoadOneModule() -- Missing Swift module or Clang module found for "UIKit", "imported" via SwiftDWARFImporterDelegate. Hint: Register Swift modules with the linker using -add_ast_path.
I added -add_ast_path to the OTHER_LDFLAGS in the faulty module's build settings but no luck.
How can I debug my project in Xcode16?
I'm pulling my hair out here with this new Xcode 16, it complains that my app's dSYM is empty though it's clearly not, it's about 25MB.
I'm working on a project using an internal static library, everything is built inhouse using swift, we own all the source code. It worked just fine until the other week, when I updated the Xcode, and now I can't debug anything. I keep getting "type for self cannot be reconstructed" when I run "po self.some_property". Why is that?
The Debug information Format is set to DWARF with dSYM File for both the executable and lib projects.
I've been a Unix guy since before I knew myself and I enjoy fixing things myself, down to bare metal, but man, this bug is driving me crazy. Is it even a bug??
It's the first time in more than 15 years since I started coding on Mac and iPhone when a bug has defeated me. I was always able to fix things using just the documentation and google, but the Apple toolchain is getting worse and worse nowadays.
I remember the time when Apple made the complicated things simple, now they make the simple things complicated :(
I just split the static lib from the main project one year ago, because of the ridiculously long build time. Should I merge back all the code in a single project? Something seems wrong to me.
So I created this account to ask the masters. How can I get back my debug info (and sanity)? Using Xcode 15 is not an option because it doesn't run on Sequoia.