Build, test, and submit your app using Xcode, Apple's integrated development environment.

Xcode Documentation

Posts under Xcode subtopic

Post

Replies

Boosts

Views

Activity

Xcode 16 not able to load simulator
I am using Xcode from past 3 months and it was working fine but today after update the xcode is very slow and simulator is not loading Here are logs that I am able to get == DATE: Monday, 23 September 2024 at 7:59:17 PM India Standard Time 2024-09-23T14:29:17Z == PREVIEW UPDATE ERROR: AppLaunchTimeoutError: Failed to launch app ”Test16Project.app” in reasonable time The app ”Test16Project.app” did not launch on ”iPhone 16 Pro” in 15 seconds. bundle identifier: text.Testing.Test16Project device name: iPhone 16 Pro path: /Users/newsbytes/Library/Developer/Xcode/DerivedData/Test16Project-aqxeusbqtdgwgrdxunllddzqyzwq/Build/Products/Debug-iphonesimulator/Test16Project.app == PREVIEW UPDATE ERROR: AppLaunchTimeoutError: Failed to launch app ”Test16Project.app” in reasonable time The app ”Test16Project.app” did not launch on ”iPhone 16 Pro” in 15 seconds. bundle identifier: text.Testing.Test16Project device name: iPhone 16 Pro path: /Users/newsbytes/Library/Developer/Xcode/DerivedData/Test16Project-aqxeusbqtdgwgrdxunllddzqyzwq/Build/Products/Debug-iphonesimulator/Test16Project.app == VERSION INFO: Tools: 16A242d OS: 23G93 PID: 1116 Model: iMac Arch: x86_64h == ENVIRONMENT: openFiles = [ /Users/newsbytes/Desktop/Test16Project/Test16Project/ContentView.swift ] wantsNewBuildSystem = true newBuildSystemAvailable = true activeScheme = Test16Project activeRunDestination = Any iOS Device variant iphoneos undefined_arch workspaceArena = [x] buildArena = [x] buildableEntries = [ Test16Project.app ] runMode = JIT Executor == SELECTED RUN DESTINATION: Generic | iOS 18.0 | iphoneos | undefined_arch | GenericiOS | no proxy == EXECUTION MODE OVERRIDES: Workspace JIT mode user setting: true Falling back to Dynamic Replacement: false == PACKAGE RESOLUTION ERRORS: ------------------------------------- Translated Report (Full Report Below) Incident Identifier: C461C69D-1F80-4A0D-B557-8A4425D0C259 CrashReporter Key: 238ECF50-D585-D26B-E449-45E2A49004C2 Hardware Model: iMac19,1 Process: MobileCal [7760] Path: /Volumes/VOLUME/*/MobileCal.app/MobileCal Identifier: com.apple.mobilecal Version: 1.0 (1) Code Type: X86-64 (Native) Role: Non UI Parent Process: launchd_sim [6541] Coalition: com.apple.CoreSimulator.SimDevice.251B8E2E-21BD-4668-A0D8-D3DC5D1FA3BE [1654] Responsible Process: SimulatorTrampoline [1174] Date/Time: 2024-09-23 20:08:53.5192 +0530 Launch Time: 2024-09-23 20:08:13.8949 +0530 OS Version: macOS 14.6.1 (23G93) Release Type: User Report Version: 104 Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: FRONTBOARD 2343432205 <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:process-launch watchdog transgression: app<com.apple.mobilecal((null))>:7760 exhausted real (wall clock) time allowance of 30.00 seconds ProcessVisibility: Background ProcessState: Running WatchdogEvent: process-launch WatchdogVisibility: Background WatchdogCPUStatistics: ( "Elapsed total CPU time (seconds): 54.760 (user 37.980, system 16.780), 28% CPU", "Elapsed application CPU time (seconds): 1.595, 1% CPU" ) reportType:CrashLog maxTerminationResistance:Interactive> Triggered by Thread: 0 Kernel Triage: VM - (arg = 0x0) Fault was interrupted VM - (arg = 0x0) Fault was interrupted Thread 0 Crashed: 0 dyld_sim 0x10a14b6cb dyld3::MachOFile::trieWalk(Diagnostics&, unsigned char const*, unsigned char const*, char const*) + 179 1 dyld_sim 0x10a131e0c dyld4::Loader::hasExportedSymbol(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::ExportedSymbolMode, dyld4::Loader::ResolverMode, dyld4::Loader::ResolvedSymbol*, dyld3::Array<dyld4::Loader const*>) const + 358 2 dyld_sim 0x10a13115b dyld4::Loader::resolveSymbol(Diagnostics&, dyld4::RuntimeState&, int, char const, bool, bool, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool) const + 935 3 dyld_sim 0x10a130d69 invocation function for block in dyld4::Loader::forEachBindTarget(Diagnostics&, dyld4::RuntimeState&, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer) const + 116 4 dyld_sim 0x10a14e884 invocation function for block in mach_o::Fixups::forEachBindTarget_ChainedFixups(Diagnostics&, void (mach_o::Fixups::BindTargetInfo const&, bool&) block_pointer) const + 61 5 dyld_sim 0x10a14b062 dyld3::MachOFile::forEachChainedFixupTarget(Diagnostics&, dyld_chained_fixups_header const*, linkedit_data_command const*, void (int, char const*, unsigned long long, bool, bool&) block_pointer) + 198 6 dyld_sim 0x10a14e66c mach_o::Fixups::forEachBindTarget_ChainedFixups(Diagnostics&, void (mach_o::Fixups::BindTargetInfo const&, bool&) block_pointer) const + 130 7 dyld_sim 0x10a130cc9 invocation function for block in dyld4::Loader::forEachBindTarget(Diagnostics&, dyld4::RuntimeState&, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer) const + 255 8 dyld_sim 0x10a150433 dyld3::MachOAnalyzer::withVMLayout(Diagnostics&, void (mach_o::Layout const&) block_pointer) const + 827 9 dyld_sim 0x10a130bc4 dyld4::Loader::forEachBindTarget(Diagnostics&, dyld4::RuntimeState&, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer) const + 92 10 dyld_sim 0x10a136426 dyld4::JustInTimeLoader::applyFixups(Diagnostics&, dyld4::RuntimeState&, dyld4::DyldCacheDataConstLazyScopedWriter&, bool, lsl::Vector<std::__1::pair<dyld4::Loader const*, char const*>>) const + 468 11 dyld_sim 0x10a120d78 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const) + 1617 12 dyld_sim 0x10a1206f4 _dyld_sim_prepare::$_0::operator()() const + 460 13 dyld_sim 0x10a12030e _dyld_sim_prepare + 782 14 dyld 0x119e22e21 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1558 15 dyld 0x119e215d1 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 279 16 dyld 0x119e212e4 start + 1812
1
3
1.4k
Sep ’24
Xcode freezes/ hangs on startup and does not load any application
I recently updated my M1 mac to Monterey 12.5.1 and since my xcode fail to load my project. Xcode opens and hangs as seen in the picture. I have to force quit to close. The installed version of xcode is Version 13.4.1 Things I have tired: Completely removing and reinstalling xcode from the dev site Restarting device Suggestion from here https://stackoverflow.com/questions/11247008/xcode-freezes-on-startup-while-loading-project Even if I fully create a new project from the start screen, it still freezes on load Nothing seems to be working. Wondering if anyone can help Thanks
7
2
6.5k
Sep ’24
PreviewShell crashes and breaks the preview canvas
Since the first beta of Xcode 16, randomly when editing a SwiftUI view a crash report opens with the message "PreviewShell quit unexpectedly." After that, annoyingly often the canvas fails to reload correctly, and shows this broken thing: The only way to get it working again is to restart Xcode, but it happens so often that it really impacts productivity. Does this happen to anyone else? If so, have you found a solution? I've already filed a report (FB14876223)
9
8
3.3k
Sep ’24
Xcode preview crash continuously
Hi. Just update my MacBook Pro M1 with sequoia and Xcode and I got huge problem with preview on simply swiftui pages. This is the full report I got when the preview crash but if I run the app on the device or the simulator it works fine. How can I solve this situation? the crashing thread is number 6 which reports this: Thread 6 Crashed:: Dispatch queue: com.apple.root.user-initiated-qos 0 XOJIT 0x240b899f8 llvm::Error llvm::detail::UniqueFunctionBase<llvm::Error, llvm::jitlink::LinkGraph&>::CallImpl<xojit::ReplacementManager::Plugin::modifyPassConfig(llvm::orc::MaterializationResponsibility&, llvm::jitlink::LinkGraph&, llvm::jitlink::PassConfiguration&)::'lambda'(llvm::jitlink::LinkGraph&)>(void*, llvm::jitlink::LinkGraph&) + 1784 1 XOJIT 0x240c1b46c llvm::jitlink::JITLinkerBase::runPasses(std::__1::vector<llvm::unique_function<llvm::Error (llvm::jitlink::LinkGraph&)>, std::__1::allocator<llvm::unique_function<llvm::Error (llvm::jitlink::LinkGraph&)>>>&) + 76 2 XOJIT 0x240c1ab68 llvm::jitlink::JITLinkerBase::linkPhase1(std::__1::unique_ptr<llvm::jitlink::JITLinkerBase, std::__1::default_delete<llvm::jitlink::JITLinkerBase>>) + 72 3 XOJIT 0x240c2158c llvm::jitlink::link_MachO_arm64(std::__1::unique_ptr<llvm::jitlink::LinkGraph, std::__1::default_delete<llvm::jitlink::LinkGraph>>, std::__1::unique_ptr<llvm::jitlink::JITLinkContext, std::__1::default_delete<llvm::jitlink::JITLinkContext>>) + 3608 4 XOJIT 0x240c20400 llvm::jitlink::link_MachO(std::__1::unique_ptr<llvm::jitlink::LinkGraph, std::__1::default_delete<llvm::jitlink::LinkGraph>>, std::__1::unique_ptr<llvm::jitlink::JITLinkContext, std::__1::default_delete<llvm::jitlink::JITLinkContext>>) + 72 5 XOJIT 0x240c19cc8 llvm::jitlink::link(std::__1::unique_ptr<llvm::jitlink::LinkGraph, std::__1::default_delete<llvm::jitlink::LinkGraph>>, std::__1::unique_ptr<llvm::jitlink::JITLinkContext, std::__1::default_delete<llvm::jitlink::JITLinkContext>>) + 80 6 XOJIT 0x240c0acc0 llvm::orc::ObjectLinkingLayer::emit(std::__1::unique_ptr<llvm::orc::MaterializationResponsibility, std::__1::default_delete<llvm::orc::MaterializationResponsibility>>, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>) + 256 7 XOJIT 0x240bfcbfc llvm::orc::BasicObjectLayerMaterializationUnit::materialize(std::__1::unique_ptr<llvm::orc::MaterializationResponsibility, std::__1::default_delete<llvm::orc::MaterializationResponsibility>>) + 60 8 XOJIT 0x240be3f08 llvm::orc::MaterializationTask::run() + 44 9 XOJIT 0x240b97e1c invocation function for block in (anonymous namespace)::GCDTaskDispatcher::dispatch(std::__1::unique_ptr<llvm::orc::Task, std::__1::default_delete<llvm::orc::Task>>) + 108 10 libdispatch.dylib 0x1801774ec _dispatch_call_block_and_release + 24 11 libdispatch.dylib 0x180178de0 _dispatch_client_callout + 16 12 libdispatch.dylib 0x18018b864 _dispatch_root_queue_drain + 1208 13 libdispatch.dylib 0x18018bf60 _dispatch_worker_thread2 + 232 14 libsystem_pthread.dylib 0x104db7b38 _pthread_wqthread + 224 15 libsystem_pthread.dylib 0x104db6934 start_wqthread + 8 Full Report
5
5
4.4k
Sep ’24
Project needs migration
I have developed my flutter app in Android studio on my HP computer and now that I am trying to run it on the MacBook Pro that I have, I always get this "Error: Your Xcode project requires migration. See https://docs.flutter.dev/ios-project-migration for details." I got into a lot of detail with this and also tried everything the page says of the url given but I cannot seem to get over this problem.
1
0
293
Sep ’24
IOS 16 build / unexpected service error: The Xcode build system has crashed. Build again to continue.
Translated Report (Full Report Below) Process: XCBBuildService [47544] Path: /Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/MacOS/XCBBuildService Identifier: com.apple.dt.XCBBuildService Version: 1.0 (23000.1.226) Build Info: XCBuild-23000001226000000~21 (16A242d) Code Type: ARM-64 (Native) Parent Process: Xcode [25688] Responsible: Xcode [25688] User ID: 502 Date/Time: 2024-09-22 15:45:07.2531 +0530 OS Version: macOS 15.0 (24A335) Report Version: 12 Anonymous UUID: 286B9741-8E5D-765F-A412-4814BBAEFFF8 Sleep/Wake UUID: 633F27DD-DBD3-495A-852E-25513538F671 Time Awake Since Boot: 9600 seconds Time Since Wake: 7346 seconds "name" : "XCBTaskConstruction", "CFBundleVersion" : "23000.1.226" }, { "source" : "P", "arch" : "arm64", "base" : 4397056000, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.dt.XCBTaskExecution", "size" : 1179648, "uuid" : "908f7c32-c5d5-3027-ace3-874d6c83e90c", "path" : "\/Applications\/Xcode.app\/Contents\/SharedFrameworks\/XCBuild.framework\/Versions\/A\/PlugIns\/XCBBuildService.bundle\/Contents\/Frameworks\/XCBTaskExecution.framework\/Versions\/A\/XCBTaskExecution", "name" : "XCBTaskExecution", "CFBundleVersion" : "23000.1.226" }, { "source" : "P", "arch" : "arm64", "base" : 4384325632, "size" : 3653632, "uuid" : "5e5f39eb-5e1c-356d-9d28-28d1b62b7f8b", "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/lib\/libSwiftDriver.dylib", "name" : "libSwiftDriver.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4380737536, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.dt.XCBLLBuild", "size" : 16384, "uuid" : "28f5320e-9f77-3100-a346-b00eb9cadcf6", "path" : "\/Applications\/Xcode.app\/Contents\/SharedFrameworks\/XCBuild.framework\/Versions\/A\/PlugIns\/XCBBuildService.bundle\/Contents\/Frameworks\/XCBLLBuild.framework\/Versions\/A\/XCBLLBuild", "name" : "XCBLLBuild", "CFBundleVersion" : "23000.1.226" }, { "source" : "P", "arch" : "arm64", "base" : 4380590080, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.dt.XCBCSupport", "size" : 65536, "uuid" : "bb4f1b7a-89be-3b20-b5d9-e930fcbca265", "path" : "\/Applications\/Xcode.app\/Contents\/SharedFrameworks\/XCBuild.framework\/Versions\/A\/PlugIns\/XCBBuildService.bundle\/Contents\/Frameworks\/XCBCSupport.framework\/Versions\/A\/XCBCSupport", "name" : "XCBCSupport", "CFBundleVersion" : "23000.1.226" }, { "source" : "P", "arch" : "arm64", "base" : 4389109760, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.dt.llbuild", "size" : 835584, "uuid" : "8b38eaf5-b815-390c-940e-34a645e10bfc", "path" : "\/Applications\/Xcode.app\/Contents\/SharedFrameworks\/llbuild.framework\/Versions\/A\/llbuild", "name" : "llbuild", "CFBundleVersion" : "23000.0.31" }, { "source" : "P", "arch" : "arm64", "base" : 4382588928, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.dt.XCBLibc", "size" : 16384, "uuid" : "be7fa119-c9cc-3863-af3f-ae96cd4228cc", "path" : "\/Applications\/Xcode.app\/Contents\/SharedFrameworks\/XCBuild.framework\/Versions\/A\/PlugIns\/XCBBuildService.bundle\/Contents\/Frameworks\/XCBLibc.framework\/Versions\/A\/XCBLibc", "name" : "XCBLibc", "CFBundleVersion" : "23000.1.226" }, { "source" : "P", "arch" : "arm64", "base" : 4380917760, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.dt.XCBCLibc", "size" : 16384, "uuid" : "31deeefc-7a76-3112-a73b-51f66534b781", "path" : "\/Applications\/Xcode.app\/Contents\/SharedFrameworks\/XCBuild.framework\/Versions\/A\/PlugIns\/XCBBuildService.bundle\/Contents\/Frameworks\/XCBCLibc.framework\/Versions\/A\/XCBCLibc", "name" : "XCBCLibc", "CFBundleVersion" : "23000.1.226" }, { "source" : "P", "arch" : "arm64", "base" : 13191659520, "size" : 115720192, "uuid" : "476e35ff-6787-31e0-870a-597bd525254d", "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/lib\/swift\/host\/lib_InternalSwiftScan.dylib", "name" : "lib_InternalSwiftScan.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4919033856, "size" : 65536, "uuid" : "9fe47d2a-a9b4-3de6-a20d-9153fc7f3563", "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/lib\/swift\/host\/libSwiftIDEUtils.dylib", "name" : "libSwiftIDEUtils.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4921032704, "size" : 294912, "uuid" : "ff5c9933-0266-35a3-a857-52de4f1ca1ca", "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/lib\/swift\/host\/libSwiftCompilerPluginMessageHandling.dylib", "name" : "libSwiftCompilerPluginMessageHandling.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4918607872, "size" : 163840, "uuid" : "e55b9c97-b69a-3240-99d0-26107b16fd45", "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/lib\/swift\/host\/libSwiftSyntaxMacroExpansion.dylib", "name" : "libSwiftSyntaxMacroExpansion.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4919820288, "size" : 114688, "uuid" : "ff72542b-0d39-38f9-b909-2d8585f02814", "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/lib\/swift\/host\/libSwiftOperators.dylib", "name" : "libSwiftOperators.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4919558144, "size" : 32768, "uuid" : "2612e448-1b3d-35fd-b68d-94eca7e31285", "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/lib\/swift\/host\/libSwiftSyntaxMacros.dylib", "name" : "libSwiftSyntaxMacros.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4932501504, "size" : 212992, "uuid" : "2f7da703-7979-3616-b30f-96ce4e2f54c7", "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/lib\/swift\/host\/libSwiftSyntaxBuilder.dylib", "source" : "P", "arch" : "arm64", "base" : 4933500928, "size" : 376832, "uuid" : "4757e13b-4636-326c-8588-82a4070536d4",
1
0
753
Sep ’24
Unnecessary rebuild spm package on watchOS target for Debug configuration
We have a problem with undesirable rebuild with Debug configuration for watchOS target dependencies. There is a iOS project with watch extension target. Both have some SPM package dependency. Build Active Architecture Only for Debug is Yes for both app/extension targets. When build app, watch target is building not only for active arch(arm64) but also i386/x86_64. It can be fixed by adding Excluded Architectures = i386 x86_64 for watch target. But it don't help to avoid rebuild SPM package dependency for this architectures.
3
0
539
Sep ’24
Upload Symbols Failed on XCode 16 for OneSignal framework
XCode version: Version 16.0 (16A242d) macOS: 14.6.1 (23G93) Hi, I'm getting this error while uploading my app using XCode 16. I just updated XCode from 15 to 16. On XCode 15 it worked fine when I uploaded apps, no error no warnings, but on XCode 16 there are list of warnings for OneSignal framwork. Here is one of the error, and the others are all the same (OneSignal has multiple packages). Upload Symbols Failed The archive did not include a dSYM for the OneSignalUser.framework with the UUIDs [***]. Ensure that the archive's dSYM folder includes a DWARF file for OneSignalUser.framework with the expected UUIDs. My Podfile looks like this: target 'my_target' do # other packages pod 'OneSignal/OneSignal', '&gt;= 5.0.0', '&lt; 6.0' pod 'OneSignal/OneSignalInAppMessages', '&gt;= 5.0.0', '&lt; 6.0' end target 'OneSignalNotificationServiceExtension' do pod 'OneSignal/OneSignal', '&gt;= 5.0.0', '&lt; 6.0' pod 'OneSignal/OneSignalInAppMessages', '&gt;= 5.0.0', '&lt; 6.0' end OneSignal uses vendored frameworks, and I don't believe they provided the symbol files. Will this affect my app in any way? How can I resolve this issue?
1
5
3.5k
Sep ’24
Same email address -- different IDs -- how to fix?
I use the same email address both in xCode and at developer.apple.com. I have only one team (individual) in xCode, and it uses that particular email. If I look at the Signing Certificate at Signing and Capabilities at Xcode, there is a 10-digit identifier after it, lets call it QWERTYUIOP. When I then go to the developer.apple.com, and log in with the same email address I use in xCode, my Team ID is different than in xCode, lets call it ASDFGHJKLX. The same identifier can be found at Certificates, Identifiers &amp;amp;amp; Profiles. When I developed an Xcode app and tried to get it processed in developer.apple.com, no bundle IDs were found. If I look at my Keychain Access I have certificates with both IDs available. My Developer Certificates are from xCode (QWERTYUIOP) and my distribution certificates are from developer.apple.com (ASDFGHJKLX). I've deleted and re-created them several times but that's what happens. Can anybody help? Support has not been responsive yet.
1
0
523
Sep ’24
Xcode projects all no longer Clean
I compile plugins for Adobe Illustrator using CORE and Adobe SDK libraries. Xcode 14 has recently refused to clean any of my Xcode projects, system wide, although they compile and run fine. If I change Project Settings > Advanced > Build Location from Legacy to Default, it cleans fine, but when debugging, many breakpoints cannot be used. The marker has a dotted outline and a popup states that the breakpoint cannot be resolved. I'd like to stay with Legacy for the Build Location, and resolve the cleaning problem. Changing permissions or deleting contents of build folders hasn't helped. Has anyone else seen and solved this issue? macOS Sonoma 14.6.1 Xcode 14.3
0
0
160
Sep ’24
Unable to export App via Jenkins pipeline
Hi Team, Exporting the archive through the Jenkins pipeline (executing commands on a Mac EC2 instance as a Jenkins agent) isn't working, while exporting directly from the Mac terminal successfully generates the IPA file. What might be the cause? When we execute it on directly Mac terminal, it asks Keychain password first time & after that it automatically generates IPA file. Note : We are using below working command to open keychain access. security unlock-keychain -p "my_password" /Users/ec2-user/Library/Keychains/login.keychain-db Export command : xcodebuild -exportArchive -archivePath $PWD/build/Archive/MyApp.xcarchive -exportPath $PWD/build/IPA -exportOptionsPlist ../../Dev_exportOptions.plist -allowProvisioningUpdates Current details: Node version : node-v18.17.0-darwin-arm64 Npm version : 9.6.7 Ionic version : 5.2.6 Xcode version : 15.4 Macos : Sonoma 14.6.1
0
0
502
Sep ’24
WWDC24 - Xcode 16 + macOS 15 Beta 1 - Unable to Download Predictive Code Completion Model
Hi Excited to try out the new Xcode Swift code completion ML tools demo'd yesterday at the SOTU. I am running macOS 14.5, using a VM Via Virtualization Framework ( UTM.app) to run macOS 15 Beta 1. Ive installed XCode 16 Beta 1 in my Host OS (macOS 14.5) and was able to successfully install, boot, and set up macOS 15 as a VM client. Ive installed Xcode 16 in my VM Client, and upon launch, was asked to download the Predictive Text model. I see this error: The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.) Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1 User Info: { DVTErrorCreationDateKey = "2024-06-11 20:11:32 +0000"; } -- Failed to find asset: com.apple.fm.code.generate_small_v1.tokenizer - no asset Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1 -- System Information macOS Version 15.0 (Build 24A5264n) Xcode 16.0 (23037.4) (Build 16A5171c) Timestamp: 2024-06-11T13:11:32-07:00
10
5
4.2k
Sep ’24
Playground stuck on "Ready to Contine", not executing code
Since updating to Sequoia & Xcode 16, I cannot run any code in a playground. Even the simplest code - import Cocoa print("Hello, world") does not run and hangs on "Ready to Continue MyPlaground". I've tried restarting, force quitting, deleting and reinstalling Xcode, killing 'com.apple.CoreSimulator.CoreSimulatorService' in the activity monitor.
3
0
905
Sep ’24
Upgraded to Sequoia & Xcode 16.0, now build doesn't work
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:66:30: error: 'to_chars' is unavailable: introduced in macOS 13.3 66 | to_chars_result __r = std::to_chars(__first, __last, __value, __fmt); Which, ok, I can accept that this is true. Except that this worked on Friday, on the same machine running Sonoma and the previous version of Xcode. The project is configured for a deployment target of 12.0, so it should have failed before, but didn't. (This is a CMake-generated xcodeproj, but that also should not have been any change.)
3
1
915
Sep ’24
Upload Symbols Failed on XCode 16
I recently upgraded to MacOS Sequioa 15.0 and had to update to Xcode 16 as a result. I am using iOSAppSDK.framework and now when I want to archive and distribute an app to TestFlight I get this warning... The archive did not include a dSYM for the iOSAppSDK.framework with the UUIDs[...]. Ensure that the archive's dSYM folder includes a DWARF file for iOSAppSDK.framework with the expected UUIDs. Everything worked fine before the update. Even though it seems that the app is deployed correctly, at least from the Developer web site, the version is not actually updated. Can you help me fix this?
1
2
8.3k
Sep ’24