Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

Error in Attempting to Renew Apple Developer License
During the testing of Apple subscription renewals, we've encountered a severe issue that prevents us from renewing our subscription. When attempting to renew, there's an unexpected redirect from the payment page back to the previous screen, making it impossible to complete the renewal process. Key Points Cross-Browser Issue: We've attempted to access the renewal page from multiple browsers, and the issue persists across all of them. Unresolved Support Tickets: We've submitted several tickets to Apple Support. Many remain unanswered, and for those that received a response, we provided video evidence of the issue but have not received further assistance. Critical Timeline: Our account is set to expire in just three days, making this an extremely time-sensitive matter. Thanks
0
0
246
Oct ’24
App compiles and run for Debug, but fails to link for Release on unused dependency
So I'm working on a large client app with lots of frameworks and modules which is is a mix of Xcode frameworks with 3rd party dependencies in CocoaPods and newer/converted SPM modules. Essentially CocoaPods is used to set the 3rd party dependencies on various Xcode frameworks, which also depend on each other via manual set dependencies, plus a bunch of SPM modules which are also manually added. It's a bit of a mess. The problem we encountered the other day started when I added a new protocol to one of the SPM modules. Nothing special about it, all types from Foundation and the app built and ran perfectly in simulator with a Debug build. However when we switched to building a Release build, it failed to link, logging an error indicating it could not resolve the new protocol in a number of the Xcode framework projects. The resolutions go like this: The Xcode app project has some manually added Xcode frameworks. Those frameworks have manually added dependencies on a second Xcode framework. That second framework has an SPM dependency on the module where my protocol lives. So Xcode App -> 1st Xcode framework -> 2nd Xcode framework -> SPM module. Now the 2nd Xcode framework directly uses my protocol from the SPM module. But the 1st Xcode framework neither uses or imports the SPM module. Yet the error we get when building for Release is that the 1st Framework is unable to resolve the protocol from the SPM module even though it's completely oblivious to it. My working theory is that something in the way a Release build works is insisting that when linking the 1st Xcode framework, it has to resolve the 2nd Xcode framework, which then has to resolve types from the SPM modules, but for some reason and only in a Release build, it's unable to. So our current workaround has been to add the SPM module as a dependency to all 1st level Xcode frameworks that have the 2nd Xcode framework as a dependency. That works because when linking the 1st Xcode framework, it has a direct reference to the module even though the code never imports anything from it. Does this should correct?
1
0
431
Sep ’24
PREDICTIVE CODE COMPLETION MODEL
The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.) Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1 User Info: { DVTErrorCreationDateKey = "2024-10-06 09:19:05 +0000"; } Failed to find asset: com.apple.gm.safety_deny.output.code_intelligence.base - no asset Domain: ModelCatalog.CatalogErrors.AssetErrors Code: 1 System Information macOS Version 15.0.1 (Build 24A348) Xcode 16.0 (23051) (Build 16A242d) Timestamp: 2024-10-06T11:19:05+02:00
0
0
390
Oct ’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
757
Sep ’24
IOS 18 Issue
Hello Apple! I have been an avid fan of your new software update ever since June, when the first beta of the IOS 18 was released. However, when I upgraded my phone to the IOS 18 that was released last week, I noticed a significant deterioration of my battery life. My iphone was first bought last May so the battery capacity still sits at 100%, but because of the new software update, the capacity losed 3% until this day. Plus, the battery life loses 2% every 3 mins. I might say that I regret updating my phone. But nonetheless, everything was working good. 😭
1
0
380
Sep ’24
Issue with Xcode 16 - Errors When Splitting Code for Widgets
I’m encountering an issue since I started using Xcode 16. I have a widget in my app, and I'm trying to organize the code by splitting it into different files for better structure. However, when I do this, I get an error: error: Unexpected input file: /Users/******/Desktop/TestApp/TestAppWidget/Provider.Swift (in target 'TestAppWidgetExtension' from project 'TestApp') I want to emphasize that if I keep all the code in one file, everything works fine. I've checked the Target Membership, and it's set up correctly. but I don't understand why this is happening only in Xcode 16. Has anyone else experienced a similar issue or has any ideas on why this is occurring? I would appreciate any help!
5
0
717
Sep ’24
Xcode 15 crash
Xcode 15 crashes immediately upon opening, and I am unable to work. This issue occurs on both macOS 13 and macOS 14. Xcode 14 also experiences intermittent freezing, but at least it is still somewhat usable. I hope you can help me resolve this issue.
1
0
273
Sep ’24
/Users/USER/*/python3.8 is crashing
Every now and again, I see that Python 3.8 crashes. Now, I tried to get rid of all Python 3.8 interpreters on my system. But the crash log for this one gives a Path of /Users/USER/*/python3.8. What does that mean? That's not a real path on my filesystem. The crash is due to Python not finding a dylb it needs: Process: python3.8 [2946] Path: /Users/USER/*/python3.8 Identifier: python3.8 Version: ??? Code Type: X86-64 (Translated) Parent Process: launchd [1] User ID: 501 Date/Time: 2024-09-20 17:03:49.4230 -0700 OS Version: macOS 14.6.1 (23G93) Report Version: 12 Anonymous UUID: <redacted> Sleep/Wake UUID: <redacted> Time Awake Since Boot: 520000 seconds Time Since Wake: 43861 seconds System Integrity Protection: enabled Notes: PC register does not match crashing frame (0x0 vs 0x202E45A78) Crashed Thread: 0 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib Referenced from: <redacted> /Users/USER/*/python3.8 Reason: tried: '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache) (terminated at launch; ignore backtrace) Now, this only happens (I think) when I'm running VS Code, which I normally hate doing, but I’m trying to develop an Autodesk Fusion plug-in in Python, and that’s how it’s done. I don’t know if this Python was installed by Apple, or if I got via one of the dozens of SDKs I've installed over the years. VS Code has a way to search for Python interpreters, and I used that to delete all the old ones I could find. And I'm pretty sure macOS is on a more recent version.
0
0
425
Sep ’24
Xcode Cloud fail in task Export archive
Dear We try to generate IPA with Xcode Cloud but this task fail in Export archive phase (Export archive for app-store distribution). The error that appear in the archive logs is: error: exportArchive Provisioning profile "iOS Team Store Provisioning Profile: cl.app.myapp" doesn't include the com.apple.CommCenter.fine-grained entitlement. Any idea about to resolve this problem ? king regards
0
0
593
Oct ’24
Device Token Validity in Device Check and App attestation validity in App Attestation
We are trying to integrate "Device Check" and "Device Check - App attest" services to check device integrity and app integrity. We read apple documentation and could not locate the TTL(time-to live) for "Device Token" and "App Attestation Object". Could you let us what TTL for Device Token" and "App Attestation Object"? We can design our architecture based on your answer
2
0
677
Oct ’24
Looking to Make a Unity Plugin for VisionOS
I'm using Unity to create a VisionOS project. Using Polyspatial. I want to be able to use WeatherKit. I can not seem to create a VisionOS plugin in Unity. I've found all sorts of resources for building one for iOS. I made small changes to convert to VisionOS, but no matter what I do, I get 'Undefined Symbol' errors when I try to build the XCode project. Most recently I used this github for reference https://github.com/Robert-96/unity-swift/tree/main Am i trying to do something that just isn't possible for VisionOS?
0
0
251
Sep ’24
Unable to connect Xcode 16 Beta to iPhone
I am unable to connect iPhone to Xcode. Getting error - The developer disk image could not be staged on the host.; Couldn’t communicate with a helper application. Xcode - 16 Beta Mac OS - Sonoma 14.6.1 iOS - 17.6.1 VPN - No Details are as follows: The developer disk image could not be staged on the host. Domain: com.apple.dt.CoreDeviceError Code: 12045 Failure Reason: Couldn’t communicate with a helper application. User Info: { DVTErrorCreationDateKey = "2024-08-21 11:04:09 +0000"; DeviceIdentifier = "01162B62-9C06-48A4-B2F7-D17ABD2D35B0"; NSURL = "file:///Library/Developer/DeveloperDiskImages/iOS_DDI.dmg"; "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI; } -- Couldn’t communicate with a helper application. Domain: NSCocoaErrorDomain Code: 4099 Recovery Suggestion: Try your operation again. If that fails, quit and relaunch the application and try again. User Info: { NSDebugDescription = "The connection to service created from an endpoint was invalidated: failed at lookup with error 9 - Bad file descriptor."; } -- System Information macOS Version 14.6.1 (Build 23G93) Xcode 16.0 (23047) (Build 16A5221g) Timestamp: 2024-08-21T16:34:09+05:30 **Tried so far - ** Xcode Quit and Reopen Restart iPhone Restart Mac Reinstalling Xcode Reset Network Settings on iPhone Developer mode ON/OFF Unpair and Pair Again Clear Trusted Computers Tried with different iPhone Cables(Not needed one but tried) Factory Reset of iPhone Please guide how to resolve this.
2
0
796
Sep ’24
Core Data setting issue
After 7-8 months of intense studying, I'm working on my first App. After a couple of months coding it, I saw that Swift Data wasn't cutting it, I decided to restart the project and implement Core Data. To cut to the chase, I'm using 3 models (entities) in my app. One of those entities has 2 Transformable attributes: an array of strings and an array of doubles. I've implemented a Transformer, made sure it's added to each entity, but no matter what, I'm getting this error with random Entities and Attributes. At first it referenced the entity Quote, but then it referenced the entity MoneyElement (attribute title). This is the error: autonome crashed due to an uncaught exception NSInvalidArgumentException. Reason: -[MoneyElement setTitle:]: unrecognized selector sent to instance 0x600001736c00. I'm attaching screenshots of the different entities, as well as the code for the Entity's class that has both Transformable attributes. If anyone could help me, I'd appreciate it greatly. I'm getting the error not even making a fetch request, just trying to paint a mere and humble Text("Hello, world!") in my canvas. public class Quote: NSManagedObject, Identifiable { @NSManaged public var clientName: String @NSManaged public var quoteNumber: String @NSManaged public var dateOfCreation: Date @NSManaged public var dateOfApproval: Date? @NSManaged public var dateOfCancellation: Date? @NSManaged public var ServicesProvided: [String]? @NSManaged public var servicesCost: [Double]? @NSManaged public var netAmount: Double @NSManaged public var vatTax: Int @NSManaged public var irpfTax: Int @NSManaged public var grossAmount: Double @NSManaged public var currentStatus: String } class QuoteContainer { let persistentContainer: NSPersistentContainer init(forPreview: Bool = false) { ValueTransformer.setValueTransformer(QuoteStringArrayTransformer(), forName: NSValueTransformerName("QuoteStringArrayTransformer")) ValueTransformer.setValueTransformer(QuoteDoubleArrayTransformer(), forName: NSValueTransformerName("QuoteDoubleArrayTransformer")) persistentContainer = NSPersistentContainer(name: "Models") if forPreview { persistentContainer.persistentStoreDescriptions.first!.url = URL(fileURLWithPath: "/dev/null") } persistentContainer.loadPersistentStores { _, _ in} if forPreview { addMockData(moc: persistentContainer.viewContext) } } } class QuoteStringArrayTransformer: NSSecureUnarchiveFromDataTransformer { override class func transformedValueClass() -> AnyClass { return NSData.self } override func transformedValue(_ value: Any?) -> Any? { guard let array = value as? [String] else { return nil } return try? JSONEncoder().encode(array) } override func reverseTransformedValue(_ value: Any?) -> Any? { guard let data = value as? Data else { return nil } return try? JSONDecoder().decode([String].self, from: data) } } class QuoteDoubleArrayTransformer: ValueTransformer { override class func transformedValueClass() -> AnyClass { return NSData.self } override func transformedValue(_ value: Any?) -> Any? { guard let array = value as? [Double] else { return nil } return try? JSONEncoder().encode(array) } override func reverseTransformedValue(_ value: Any?) -> Any? { guard let data = value as? Data else { return nil } return try? JSONDecoder().decode([Double].self, from: data) } }
0
0
304
Oct ’24
Hang Reports Don't Add up to 100%
We have noticed that the hang reports provided in Xcode include the percentage of hang time, which are used to sort from high to low (effectively sorting by priority). However when adding these percentages up we do not get 100%. For newer releases the total may be quite low (5-20%) but even for older releases we only get up to around 85%. Are there reports we are missing? Is there a threshold or something that lower percentage reports are not hitting? Any level of understanding here would be appreciated!
0
0
412
Sep ’24
ios 18.1 beta
Hello, I wanna keep this simple and I just want a simple answer please because I cannot find one anywhere. I have the Ios 18.1 beta and have had it for a couple months. Obviously I did not receive the ios 18 update in september. When ios 18.1 drops in mid october will i receive it? I hope so because my phone has been nothing but buggy. Someone please just answer for me.
0
0
295
Oct ’24
Apple Developer Account Purchase Stuck in Progress for 4 Days
Hi everyone, I recently made a purchase for my Apple Developer Account, and while I can see the transaction in my bank and have also received an email confirmation from Apple, my account status is still showing “In Progress” after almost 5 days. What’s worrying me is that some of my friends/colleagues who made the payment at the same time got their accounts activated almost immediately, while mine is still stuck. I’ve already reached out to Apple Support, but so far, I haven’t had any luck resolving the issue. Has anyone else experienced this kind of delay? Is there anything specific I should do, or should I just keep waiting it out? Thanks in advance for any advice or suggestions! Best, Erris
0
0
165
Sep ’24
Returned from Unity games causes my app to slow and it works normal after siri or locking unlocking phone
Dear Developers, Am facing this issue on my production app. Tried everything. Removed almost everything and tested the app. Even then this issue happens. The unity games, am talking about are the slow and sluggish types, which feel like 30 fps and after returning from them, my app sounds slow and feels a little bit sluggish. As soon as i lock/unlock the device , it becomes perfectly fine. Even i was debugging with xcode, i had the issue, then i rebuild the app in xcode and opening it on device, the same issue. As soon as i locked the device or opened siri with lockbutton or moved to a native app, and came back, app is completely fine. Craziest issue, i have ever seen. Though killing the app and opening it again on iphone also works. Only anxiety is that maybe my users when returning from other slow 3rd party games which are my competitors might slow down the experience. I have tried almost everything in my app, removed all functions and just ran sounds. Retried with different ways of playing sounds. Nothing works. Dont know it is a frame rate issue, because i replaced all my animations causing framerate not to cross 60fps even then didnt work. Device on which am testing is Iphone 14 pro max.
0
0
378
Sep ’24