I have a Unity AR project that I want to build for iOS. The build in Unity succeeds just fine, but when it opens in XCode, whatever I do, it keeps showing this error in GameAssembly: "Command PhaseScriptExecution failed with a nonzero exit code". This error also doesn't open when choosing "Reveal in Log".
I have added the IL2CPP package in the Unity version, deleted and reentered scenes and no issue on Unity's side. On XCode I signed in with my developer account, tried deleting derived data, made a clean build and still the issue persists.
Xcode
RSS for tagBuild, test, and submit your app using Xcode, Apple's integrated development environment.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I'm really sick of Apple and their BS kickbacks they get from github and the other source control outfits restricting what source control packages we can use inside of XCode.
We have used Code Commit with AWS for YEARS! We are not switching but apple's Xcode will not allow us to add it as an account. We used to be able to use it, but Apple took away the GIT account setup so now you have to use one of their kickback outfits.
This is complete BS Apple. Even AWS realized how important Code Commit is and made it available to everyone again and pledged full support going forward.
How about you get off your collective sixes and do the same.
I'd like an explanation on why you took away the one feature that allows us to use what works for us.
Hi,
I am working through the https://developer.apple.com/tutorials/app-dev-training/editing-reminders
The app runs as described, but in the Xcode 26.1.1 console, I get numerous warnings that say:
Warning: You are setting a new content configuration to a cell that has an existing content configuration, but the existing content view does not support the new configuration. This means the existing content view must be replaced with a new content view created from the new configuration, instead of updating the existing content view directly, which is expensive. Use separate registrations or reuse identifiers for different types of cells to avoid this. Make a symbolic breakpoint at UIContentConfigurationAlertForReplacedContentView to catch this in the debugger.
Does this app need to be updated for Xcode 26, or are there settings in Xcode 26 that I need to make to get rid of these warnings?
Thanks
Topic:
Developer Tools & Services
SubTopic:
Xcode
I have Mac mini intel, and updated top Sequia 15.7.2 and updated Xcode to 26 and now it crashes on launch. I uninstalled and reinstalled and still crashes. I uninstalled and installed Xcode 16.4 and that crashes on launch also. I've looked all over for help but cannot find anything. Can anyone please help me with this?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Stale TBD Files Cause Runtime Crash When Framework Changes from Dynamic to Static
Summary
When using EAGER_LINKING=YES, Xcode generates TBD files for dynamic frameworks. When a framework changes from dynamic to static, Xcode doesn't remove the stale TBD, causing dyld: Library not loaded crash at runtime.
Environment
Xcode 16.4 (16F6), macOS Darwin 24.6.0, iOS Simulator 18.5
Steps to Reproduce
Project Structure:
MainApp (EAGER_LINKING=YES)
ProjectA/SharedLib (dynamic, mh_dylib)
ProjectB/SharedLib (static, staticlib)
Steps:
Build with ProjectA (dynamic framework) → TBD created in EagerLinkingTBDs
Switch workspace to ProjectB (static framework) without cleaning DerivedData
Build again → BUILD SUCCEEDED
Run app → CRASH: dyld: Library not loaded
Root Cause
Xcode adds -F EagerLinkingTBDs before -F Build/Products:
-F/.../EagerLinkingTBDs/Debug-iphonesimulator ← checked FIRST
-F/.../Build/Products/Debug-iphonesimulator ← checked SECOND
The linker finds the stale TBD first and treats the framework as dynamic, even though the actual binary is now static.
Evidence
# SharedLib is static
$ file SharedLib.framework/SharedLib
current ar archive random library
# But stale TBD still exists
$ ls EagerLinkingTBDs/.../SharedLib.framework/
SharedLib.tbd ← STALE!
# MainApp incorrectly references dynamic library
$ otool -L MainApp.app/MainApp.debug.dylib | grep SharedLib
@rpath/SharedLib.framework/SharedLib ← WRONG!
Attempted Workarounds (All Failed)
Workaround
Result
FRAMEWORK_SEARCH_PATHS = "$(BUILT_PRODUCTS_DIR)" "$(inherited)"
Xcode still adds EagerLinkingTBDs first
EAGER_LINKING = YES on static framework
Build failure - empty TBD
OTHER_LDFLAGS modifications
Linker still uses TBD
Expected Behavior
When a framework changes from dynamic to static, Xcode should remove the stale TBD file from EagerLinkingTBDs.
Suggested Fix
Remove TBD files when building static library targets
Track MACH_O_TYPE changes and invalidate TBD files accordingly
Hello All,
I am new to apple ecosystem. We have a xcode project whose code is scattered across different repos. We are trying setup CI/CD for this Xcode project to get build so that we could know build issue.
Clone/Update all repos – which I can do via some script
Generate xcode projects from sources synced in step 1. This is where we want your help. How should we approach this? What apple suggest for this ? In this step we don't want to use any third part tool (like CMake) to generate Xcode projects.
Build targets to know build errors – This we can easily do via xcodebuild command line tool.
Please share you input/thought on this. Your input is highly appreciated.
Hello,
I got a weird issue with xcodebuild, the tool gives the error that requested device could not be found but I already add it. The issue is solved if I remove the -scheme (and deveriedDataPath. Do you have any idea what is wrong with the parameter or it is the xcodebuild error itself?
haiphan@MacMini MetalTest % xcodebuild -project MetalTest.xcodeproj -destination 'platform=macOS,name=Any Mac' -scheme MetalTest
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project MetalTest.xcodeproj -destination "platform=macOS,name=Any Mac" -scheme MetalTest
2025-12-05 12:18:25.594 xcodebuild[17581:2982049] Writing error result bundle to /var/folders/x7/rmx20t393rx49t6gyx3fh_vdmz2lm8/T/ResultBundle_2025-05-12_12-18-0025.xcresult
xcodebuild: error: Unable to find a device matching the provided destination specifier:
{ platform:macOS, name:Any Mac }
The requested device could not be found because no available devices matched the request.
Available destinations for the "MetalTest" scheme:
{ platform:macOS, arch:arm64, id:00006020-000E29861AE8C01E, name:My Mac }
{ platform:macOS, arch:x86_64, id:00006020-000E29861AE8C01E, name:My Mac }
{ platform:macOS, name:Any Mac }
Topic:
Developer Tools & Services
SubTopic:
Xcode
Xcode 26.2 RC has been out for over 24 hours and it's still not possible to submit apps.
My Xcode does not show my Recent projects for a while now. I have different projects on my Mac that I open using Xcode and it can't remember the recent ones and never shows it.
Does anyone know how to fix that? I've tried to clean caches, restart the Mac, download the Xcode again...
MacOs: Tahoe 26.1
Xcode: 26.1.1
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi,
I have been using Claude with Xcode 26.1.1 and it was working fine till a couple of days ago, when it started giving me an error message on every query:
"Message from Anthropic: This request would exceed your account's rate limit. Please try again later."
I am on the Pro model, and I can use the Claude.ai website just fine. The usage limits on the website show I've used only 11% of the weekly limit, and 4% of the 'current session'. So I'm wondering if this is an Xcode bug / issue, and if there is a workaround.
I have restarted Xcode, restarted the Mac, logged out of Anthropic and logged back in, tried Xcode 26.2 beta as well, but no luck.
Topic:
Developer Tools & Services
SubTopic:
Xcode
If I am using reverse-geocode to a state to determine if the State is Texas then how can I test this?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I'm looking for a way to make the following possible in Xcode (26.0 or later):
I select one or more lines of code. I then enter a hotkey (or select a menu item) that results in adding the line:
#ifdef SOME_MACRO
before the selection and adding the line:
#endif
after the selection.
Example:
Start with the following lines of code:
BOOL x = NO;
int y = 4;
NSString *str = @"Hello";
If I then highlight the int y = 4; line and use the proper hotkey or menu, the result would be:
BOOL x = NO;
#ifdef SOME_MACRO
int y = 4;
#endif
NSString *str = @"Hello";
Is something like this possible in Xcode?
I looked at code snippets but that doesn't seem to support wrapping existing code.
I looked at the Xcode Settings under Editor and Shortcuts and didn't see a way to add such a custom shortcut.
When I try to validate my app I get the following error:
Invalid bundle. Because your app supports Multitasking on iPad, you need to include the LaunchScreen.storyboard launch storyboard file in your com.augmentedReality.virtualTags bundle. Use UlLaunchScreen instead if the app's MinimumOSVersion is 14 or higher and you prefer to configure the launch screen without storyboards. For details, see: https:// developer.apple.com/documentation/bundleresources/information_property_list/
uilaunchstoryboardname (ID: 236f630a-a014-48e8-910a-77d9c0ff6f51)
What should I do to fix it?
In the previous Xcode version and on another app it did not appear.
MacBook Pro M5, Tahow 26.1, Xcode 26.1.1
After having used Obj-C and C++ for years, I recently (~6 months) moved to Swift, which is hard for me but most often sends less obscure error messages (not always). My trouble is 1- why is it soooooo long (sometimes up to 20s - that's horrible) to get an object's variables accessible in the debugger? 2- In Xcode 16 why is it no longer possible to arrange my files as I did before (organised into folders from within Xcode - horrible when you get a bigger and bigger project)? 3- Why has it become impossible to see the retention cycles and retaining objects from with the memoryGraph (it's worth ~nothing) now !
Currently Xcode has iOS simulators that allow easily testing apps on older versions of iOS. It would be helpful if there was also a macOS simulator for testing apps on older versions of macOS.
FB21229682
https://github.com/feedback-assistant/reports/issues/724
I have been using Xcode Version 26.1.1 on macOS Tahoe Version 26.1. In VIM mode, whenever I quickly tap d twice, to delete the complete line, most of the time Xcode crashes. Is anyone else facing this issue? Should I move to any older version of Xcode or any other solve for this?
I use CI/CD dsym, downloaded into local directories, but there seems no direct way using it in Xcode
when does an intel macbook pro 2020 get the last xcode update i.e when does this type of mac stop to be capable of publishing on app store ?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I have a view inside a Swift Package that relies on an external Swift Package. My Preview Canvas breaks as soon as I use code from the external package:
import ComplexModule // From swift-numerics
import SwiftUI
struct MyView: View {
// Commenting out this line will make Previews work
let number: Complex<Double> = 123
var body: some View {
Text("Hello World")
}
}
#Preview {
MyView()
}
This is part of the error the preview emits:
== PREVIEW UPDATE ERROR:
GroupRecordingError
Error encountered during update group #33
==================================
| [Remote] JITError: Runtime linking failure
|
| Additional Link Time Errors:
| Symbols not found: [ _$sSd10RealModule0A0AAMc, _$s13ComplexModule0A0VMn, _$s13ComplexModule0A0V14integerLiteralACyxG07IntegerD4TypeQz_tcfC ]
|
| ==================================
|
| | [Remote] LLVMError
| |
| | LLVMError: LLVMError(description: "Failed to materialize symbols: { (static-MyTarget, { __replacement_tag$1 }) }")
Did anyone else see this before?
This is a M4 iMac 32GB 2TB where over the last few months memory use has been crazy. The worst offender is SimulatorTrampoline. I just opened a default iOS app and ran it in a simulator. So this is as simple as it gets: there's 1 SF Symbol and "Hello, world!" text.
iStatMenus shows SimulatorTrampoline at 10.7GB, Safari 5.2GB, Xcode at 3.2GB, and swap at 548MB
meanwhile ActivityMonitor shows the top memory use of Ildb-rpc-server at 2.30GB, Xcode at 523.4MB Swap is 548MB is the only number that matches and the fact that Memory used is ~26GB total.
Is this amount of memory use normal? Is iStat menu reporting something different than Activity monitor. This computer used to never swap. Any suggestions?