Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

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
770
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
521
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
904
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
500
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
203
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
Making a Screenshot Without Right Hardware
I’m looking to publish an app I’ve written on my iPad (Air, to be exact), but I can’t make a screenshot at the required size (which is Pro). And yes, I don’t have a Mac (yeah, I know). Is there an easy or simple way to get a screenshot of an app if I don’t have the right hardware? Is this something I could scale/resize from a smaller device? Or, could I just include a portion of the actual screenshot in a picture (with the correct dimension) that has other text/information? any help would be greatly appreciated
0
0
249
Mar ’25