Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

Xcode randomly stopped working
Xcode 16.2 (and also Apple Configurator) randomly stopped working since today morning. Upon opening, the application crashes -> "unexpectedly quit". I've tried restarting the Mac, I reinstalled Xcode, still the same issue. This issue is currently on my MacBook Pro M4 on macOS Sequoia 15.3.1. Problem Reporter shows: ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: Xcode [5577] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 16.2 (23507) Build Info: IDEApplication-23507000000000000~2 (16C5032a) App Item ID: 497799835 App External ID: 870964517 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2025-03-07 00:27:05.7449 +0100 OS Version: macOS 15.3.1 (24D70) Report Version: 12 Anonymous UUID: --------- Time Awake Since Boot: 10000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Xcode [5577] Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1975ff720 __pthread_kill + 8 1 libsystem_pthread.dylib 0x197637f70 pthread_kill + 288 2 libsystem_c.dylib 0x197544908 abort + 128 3 Xcode 0x1009af550 main.cold.1 + 28 4 Xcode 0x1009af374 main + 448 5 dyld 0x1972b8274 start + 2840 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000000000000 x5: 0x0000600000841120 x6: 0x000000000000000a x7: 0x0000000000000001 x8: 0x61ac7d1cc0e801aa x9: 0x61ac7d1ec01289ea x10: 0x0000000000000005 x11: 0x0000000000000005 x12: 0x000060000244c050 x13: 0x0000000000000000 x14: 0x000000019789a81d x15: 0x0000000200fc05b0 x16: 0x0000000000000148 x17: 0x00000002095ea2c0 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000000000103 x21: 0x0000000200fa8920 x22: 0x0000000200fafd38 x23: 0x000000012b004230 x24: 0x00000001972b2000 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000 x28: 0x0000000000000000 fp: 0x000000016f453870 lr: 0x0000000197637f70 sp: 0x000000016f453850 pc: 0x00000001975ff720 cpsr: 0x40000000 far: 0x0000000000000000 esr: 0x56000080 Address size fault Binary Images: 0x1009ac000 - 0x1009affff com.apple.dt.Xcode (16.2) <81ab48b8-11be-3fa2-9be2-a5d6494288a5> /Applications/Xcode.app/Contents/MacOS/Xcode 0x1975f6000 - 0x197630ff7 libsystem_kernel.dylib (*) <eee9d0d3-dffc-37cb-9ced-b27cd0286d8c> /usr/lib/system/libsystem_kernel.dylib 0x197631000 - 0x19763dfff libsystem_pthread.dylib (*) <642faf7a-874e-37e6-8aba-2b0cc09a3025> /usr/lib/system/libsystem_pthread.dylib 0x1974cb000 - 0x19754cffb libsystem_c.dylib (*) <92699527-645f-3d8d-aed8-1cfb0c034e15> /usr/lib/system/libsystem_c.dylib 0x1972b2000 - 0x197333f3f dyld (*) <398a133c-9bcb-317f-a064-a40d3cea3c0f> /usr/lib/dyld 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? 0x1976a3000 - 0x197b97fff com.apple.CoreFoundation (6.9) <190e6a36-fcaa-3ea3-94bb-7009c44653da> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 0 thread_create: 0 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=884.0M resident=0K(0%) swapped_out_or_unallocated=884.0M(100%) Writable regions: Total=804.5M written=320K(0%) resident=320K(0%) swapped_out=0K(0%) unallocated=804.1M(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Kernel Alloc Once 32K 1 MALLOC 796.2M 18 MALLOC guard page 96K 6 STACK GUARD 56.0M 1 Stack 8176K 1 __AUTH 1098K 205 __AUTH_CONST 18.3M 351 __DATA 4587K 332 __DATA_CONST 13.1M 354 __DATA_DIRTY 692K 110 __FONT_DATA 2352 1 __LINKEDIT 606.2M 2 __OBJC_RW 2374K 1 __TEXT 277.8M 368 __TPRO_CONST 272K 2 page table in kernel 320K 1 shared memory 32K 1 =========== ======= ======= TOTAL 1.7G 1755
3
0
337
Mar ’25
How can I become a Apple Developer
Why do I can not apply an Apple developer account successfully. I aways meet the error that says 'We are unable to process your request'. Wow, you are unable to process my request, why? Are you such a coward? You won’t even let me become a developer. I can't understand why you prevent me from becoming a developer, please give me explain as soon as possible.
2
1
180
Mar ’25
Not able to create new apple account
I am creating new Apple ID, I am creating new Apple ID, I am able to verify the email, but when I get to mobile otp verification, I just keep seeing this error I am really frustrated, I tried with multiple pc and browser thinking that maybe my IP is blocked, I want to deploy app on App Store but not able to create basic apple account this is really making me go mad!
2
2
379
Mar ’25
Previews due to SwiftData Predicates in Xcode 16.3
My preview crashes whenever I compare my model's value to a constant's stored value. I use struct constants with a stored value as alternatives to enums, (IIRC ever since the beginning) enums never worked at all with .rawValue or computed properties. This crashes when it runs on Xcode 16.3 beta and iOS 18.4 in previews. It doesn't appear to crash in simulator. @Model class Media { @Attribute(.unique) var id: UUID = UUID() @Attribute var type: MediaType init(type: MediaType) { self.type = type } static var predicate: (Predicate<Media>) { let image = MediaType.image.value let predicate = #Predicate<Media> { media in media.type.value == image } return predicate } } struct MediaType: Codable, Equatable, Hashable { static let image: MediaType = .init(value: 0) static let video: MediaType = .init(value: 1) static let audio: MediaType = .init(value: 2) var value: Int } My application crashes with "Application crashed due to fatalError in Schema.swift at line 320." KeyPath \Media.<computed 0x000000034082a33c (MediaType)>.value points to a field (<computed 0x000000034082a33c (MediaType)>) that is unknown to Media and cannot be used. This appears to also occur if I am using a generic/any func and use protocols to access a property which is a simple String, such as id or name, despite it being a stored SwiftData attribute. I filed a bug report, but looking to hear workarounds.
4
0
773
Mar ’25
Sign in with Sandbox account in Xcode Simulator
Hello! I'm working on implementing SwiftUI + StoreKit2 IAP in my app, and Xcode testing has been fantastic, now I'd like to test my app with Sandbox, where I created a Sandbox account, and it works on my physical device, I can log in, make transactions, etc. (btw, feedback: please improve the UX for Sandbox testing, it's really clumsy compared to Xcode testing with Transaction Manager) My problem is that when I'd like to log in with my Sandbox account on the simulator (Settings -&gt; Developer -&gt; Sandbox Apple Account (at the bottom) -&gt; Sign in), it doesn't work, it fails silently. I know it authenticates well, because if I type in the wrong password, I get an error popup, but with the right password, it just fails silently, hides the login sheet and the "Sign in" text remains "Sign in" (on my phone when I log in, the "Sign in" is replaced with the email address of the Sandbox account). I know many people get errors, and they recommend to go icloud.com and acccept TOS (done that), also to download the latest iOS for the simulator (also done), these are not a problem for me, as I don't get any errors. My authentication works, but for some reason the simulator still won't log in, it fails silently, and I see no errors/reason why. Tried with different simulators (latest iOS version), same result, tried to reboot the simulator, same result. Any idea why is this happening? Thank you, sendai
1
1
522
Mar ’25
Xcode is is throwing error when I run my Unity Build
When I try to build my project in Xcode (from Unity AR) project, it throws me these errors: I feel like I've tried everything to make the LaunchScreen work. I downloaded xcode the night I tried running this build, so the whole deleting and redownloading and restarting everything didn't work. I've tried making sure my macbook and terminal are fully up to date. I literally can't find a solution! Please help!! I will also say, I'm fairly new to App building, Xcode, and Unity. But this does seem like a barrier that is stopping me from testing my project.
0
0
160
Mar ’25
Xcode 16.2 failed to emit precompiled header
I got this error when I upgraded to Xcode 16.2. Unfortunately, my project doesn't run anymore. Can anyone help me? I've been postponing my deadline for a week now '/Users/vdngo/Library/Developer/Xcode/DerivedData/TMC-fiptdrksdfjwrwcdphljlfpuvmmy/Build/Intermediates.noindex/PrecompiledHeaders/TMC-Bridging-Header-swift_1IG9GDIWH1MAW-clang_UTPY7SDIWAR0.pch' for bridging header '/Users/vdngo/.../ios/TMC/Others/TMC-Bridging-Header.h'
1
1
905
Mar ’25
Strings catalog not removing unused strings
I have some formatting strings that got in my string catalog, e.g. "%@" or "(%@)". However these strings are no longer used in my code anywhere (searching "In this project" in Xcode only matches the entries in my strings catalog), but Xcode does not remove them. I tried editing the file in a text editor, removing them manually but they keep coming back. Any solution for this? Xcode Version 15.4 (15F31d)
1
1
503
Mar ’25
CoreBluetooth Scan not working when OS upgraded to 18.3.1
Hi, I currently have an app that connect to an arduno via CoreBluetooth. However, the app no longer discovers the arduino when the operating system was upgraded to iOS 18.3.1, however on iOS version 17.6.1 the ardiuno was discoverable I was able to test this theory on two different phones each with different iOS versions. Why are my peripherals no longer being discovered with this update? and what is the solution?
0
0
223
Mar ’25
Flutter Xcode Errors
I just started working with Flutter. I use a Macbook m2 and my phone is an iPhone XR. I made a very simple application but no matter what I did, I couldn't start my application on my iPhone XR. I got help from all the AIs but we couldn't do it. I deleted everything including Xcode, Android Studio and Flutter and reinstalled them and I followed the SDK installation step by step on the Flutter page but I can't run my project on Xcode. I entered my Apple account including all the signings and certificates via the .workspace file extension but it didn't work. The error I get from Xcode keeps changing. We installed podfiles with the support I got from the AIs and after some fiddling, I got the only error right now: Command PhaseScriptExecution failed with a nonzero exit code
1
0
335
Mar ’25
OSLog - Log limitation
Hi, Our team is facing an issue where the os log message is not fully printed in the Xcode console. Even when using Debug → Attach to Process by PID or Name, the logs appear truncated (Both simulator and physical device). We noticed that the Xcode 15.0 release notes we saw that there is some truncation made for debug lines in console. We also tried checking the logs using Console.app, but the truncation remains. If limitation is there how much maximum lines it can print ? Could anyone please provide guidance on how we can view the complete logs? Any suggestions or workarounds would be highly appreciated.
1
0
449
Mar ’25
Enrollment Stuck
I have enrolled for being a developer 4 days ago. My Enrollment ID: R2V23J5GYP. I have received an order acknowledgment email on 6th of March but there have been no updates since then. I am still seeing 'complete your purchase' in the main page. What should I do to get through? I would greatly appreciate it if anyone could help me solve this problem as soon as possible. Thank you.
1
0
168
Mar ’25
Apple Contact Forms not working
Hi, I need to contact Apple developer support. But on "Call Me" - it get a response to say the email is invalid (it is a telephone number!). I can also see in dev tools it fails with "errorToken": "EMAIL_VALIDATION_FAILED". "errorMessage": "Given emailAddress : xxxx is Invalid", I get the same error on the "Send a Message" form. The other members of my team also have the same problem, so we have no way to contact support.
0
0
204
Mar ’25
_dispatch_client_callout crash
I received the attached crash report. The problem is that the crash report does not contain the abort reason - it appears to be thrown in the GCD library with no additional information. Is it a possible deadlock? 2023-02-15_02-40-23.0077_+0100-94015bd052c4005658221a5e6279f28a75b9e92c.crash Any ideas?
5
0
2.4k
Mar ’25
CoreBluetooth Scan not working when OS upgraded to 18.3.1
Hi, I currently have an app that connect to an arduno via CoreBluetooth. However, the app no longer discovers the arduino when the operating system was upgraded to iOS 18.3.1, however on iOS version 17.6.1 the ardiuno was discoverable I was able to test this theory on two different phones each with different iOS versions. I see that it is failing to find the peripheral at the scan however the logs indicate that the central state is powered on. Why are my peripherals no longer being discovered with this update? and what is the solution?
3
0
306
Mar ’25
iPhone HCE CardSession handlin
Hi, I'm wondering if there is any better documentation relating to card session handling. The informations are kind of limited: https://developer.apple.com/documentation/corenfc/cardsession/ It's not clear what should be used for keeping session or should it be created again after each transaction ? When I create a card session I pass the transaction but when at the and I call stopEmulation on card session than there is a problem with another transaction. What about the NFCPresentmentIntentAssertion? I know there's not information about "maximum suppression duration". I may only check isValid or acquire() on it. There's no information about how to properly manage it for another transaction. To sum up is that I would like to know should I create the new cardSession for each transaction (which would be strange cause it looks like singleton for me). If theres any impact when calling stopEnumaltion to cardSession or the startEmulation function may be called? The main issue is the 'double tap' flow where user must authenticate him during transaction.
1
0
373
Mar ’25