Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

iOS 18 Simulator and CloudKit
I am running Xcode Version 16.0 (16A242d) and in the process of testing an app I developed that uses CoreData and CloudKit. When running my app in an iPhone 16 Pro simulator using iOS 18, it does not sync with cloudKit. If I run it in an iPhone 15 Pro simulator using iOS 17.5 it syncs fine with CloudKit. Has anyone else encountered this issue, or have I done something wrong in my setup. Thanks for any help Mike
0
0
279
Oct ’24
__isPlatformVersionAtLeast SIGABRT (ABORT)
I am working on a cross-platform application, and we recently released updates for our apps. We received a large number of crashes in our Crashlytics logs. All the crashes seem to occur in the APM submodule classes with "__isPlatformVersionAtLeast SIGABRT (ABORT)." While checking the Crashlytics event summary details, I found that the crashes happen during the execution of the didFinishLaunchingWithOptions function in the AppDelegate. didFinishLaunchingWithOptions: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { //Firebase [FIRPerformance sharedInstance].instrumentationEnabled = 0; [FIRApp configure]; NSDictionary *props = @{ @"TESTING": @"iOS", @"Date": [NSDate date] }; //Clevertap [[CleverTap sharedInstance] setInAppNotificationDelegate:self]; [[CleverTap sharedInstance] setPushNotificationDelegate:self]; NSString *appPath = [[NSBundle mainBundle] bundlePath]; NSLog(@"appPath ------ %@",appPath); // Config an additional instance NSLog(@"multiple instance registration"); CleverTapInstanceConfig *ctConfig = [[CleverTapInstanceConfig alloc] initWithAccountId:@"TEST*******" accountToken:@"TEST*****"]; NSLog(@"multiple instance registration %@",ctConfig); CleverTap *additionalCleverTapInstance = [CleverTap instanceWithConfig:ctConfig]; [AEPMobileCore setLogLevel:AEPLogLevelDebug]; [AEPMobileCore configureWithAppId:@"99********"]; return YES; } Podfile: pod 'Firebase/Analytics' pod 'Firebase/Auth' pod 'Firebase/Crashlytics', '10.28.1' pod 'FirebasePerformance', '10.28.0' pod 'FirebaseRemoteConfig' pod 'CleverTap-iOS-SDK', '6.2.1' Stack Trace: Crashed: APMIdentityWorkerQueue 0 libsystem_kernel.dylib 0xc274 __pthread_kill + 8 1 libsystem_pthread.dylib 0x7ef8 pthread_kill + 268 2 libsystem_c.dylib 0x77ad8 abort + 128 3 libsystem_malloc.dylib 0x9c38 malloc_vreport + 896 4 libsystem_malloc.dylib 0x98a8 malloc_report + 64 5 libsystem_malloc.dylib 0x8e80 find_zone_and_free + 528 6 App 0xfe574 (Missing UUID 0faca6be3dbe3121a960c0897cece480) 7 App 0xf7e04 (Missing UUID 0faca6be3dbe3121a960c0897cece480) 8 App 0xfc250 (Missing UUID 0faca6be3dbe3121a960c0897cece480) 9 App 0xfbbec (Missing UUID 0faca6be3dbe3121a960c0897cece480) 10 App 0x2b4d00 (Missing UUID 0faca6be3dbe3121a960c0897cece480) 11 App 0x2bed74 (Missing UUID 0faca6be3dbe3121a960c0897cece480) 12 App 0x18344c (Missing UUID 0faca6be3dbe3121a960c0897cece480) 13 libsystem_pthread.dylib 0x7ef8 pthread_kill + 268 14 App 0x28354fc __isPlatformVersionAtLeast + 4384462076 15 ??? 0x3015b5920 (Missing) 16 ??? 0xd5e00078c (Missing) 17 ??? 0x1f058ed (Missing) APMExperimentWorkerQueue 0 libsqlite3.dylib 0x815f0 sqlite3_table_column_metadata + 2400 1 libsqlite3.dylib 0x13b2c sqlite3_exec + 46032 2 libsqlite3.dylib 0xaae0 sqlite3_exec + 9092 3 libsqlite3.dylib 0x9ac8 sqlite3_exec + 4972 4 libsqlite3.dylib 0x9158 sqlite3_exec + 2556 5 libsqlite3.dylib 0x12830 sqlite3_exec + 41172 6 libsqlite3.dylib 0x11f20 sqlite3_exec + 38852 7 libsqlite3.dylib 0x11e64 sqlite3_exec + 38664 8 libsqlite3.dylib 0xb14bc sqlite3_sourceid + 132108 9 libsqlite3.dylib 0xd130 sqlite3_exec + 18900 10 libsqlite3.dylib 0xc224 sqlite3_exec + 15048 11 libsqlite3.dylib 0x9ac8 sqlite3_exec + 4972 12 libsqlite3.dylib 0x9158 sqlite3_exec + 2556 13 libsqlite3.dylib 0x8d30 sqlite3_exec + 1492 14 App 0x58249c -[APMSqliteStore prepareSQL:error:] + 4339819676 15 App 0x58295c -[APMSqliteStore validateDatabaseWithError:] + 4339820892 16 App 0x58289c -[APMSqliteStore openAndValidateDatabase:] + 4339820700 17 App 0x57ecbc -[APMSqliteStore initWithDatabasePath:error:] + 4339805372 18 App 0x505ae4 -[APMEDatabase initializeDatabaseResourcesWithContext:databasePath:] + 4339309284 19 App 0x505a0c -[APMEDatabase initWithPath:] + 4339309068 20 App 0x50d294 -[APMETaskManager startTaskManagerOnWorkerQueue] + 4339339924 21 App 0x50d24c __35-[APMETaskManager startTaskManager]_block_invoke + 4339339852 22 App 0x50e578 __46-[APMETaskManager dispatchAsyncOnWorkerQueue:]_block_invoke + 4339344760 23 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32 24 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20 25 libdispatch.dylib 0xb400 _dispatch_lane_serial_drain + 748 26 libdispatch.dylib 0xbf30 _dispatch_lane_invoke + 380 27 libdispatch.dylib 0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288 28 libdispatch.dylib 0x16528 _dispatch_workloop_worker_thread + 404 29 libsystem_pthread.dylib 0x4934 _pthread_wqthread + 288 30 libsystem_pthread.dylib 0x10cc start_wqthread + 8 Deployment version: 12.2 Could anyone know the above issue?
0
1
332
Oct ’24
Switching from Individual to Organization account using MY D-U-N-S number
I am writing to express my concern regarding the delayed processing of my request to switch my developer account from individual to organization. I submitted two separate requests, each with a unique case number, and received notifications stating that my issue would be resolved within one business day. However, despite the passage of several business days, I have yet to receive any updates or solutions. I kindly request you to expedite the review and approval process for my account type change. My organization's DUNS number is provided already in my request application. Thank you for your immediate attention to this matter.
0
0
205
Nov ’24
Xcode unable to create open panel
I cannot create any new projects in XCode (reliably). I can MABE do it when restarting my M2 Macbook Air (macOS Sequoia) or when I plug in a monitor. Steps to create it: After restarting the mac, create a "macOS, command line tool, C++" project in Xcode (assuming the I can create it), quit Xcode. Create another project of the same type in Xcode (again), Xcode will freeze for a few minutes with the beach ball. After that, there is a window popup with the title: “Unable to create an open panel”, its content: “Try your operation again. If that fails, quit and relaunch the application and try again.” This bug makes Xcode unable to create a new project, or create a new C++ file in an existing project.
0
1
339
Oct ’24
CoreML not found anymore once I add C++ compile source
I have a small Swift command line tool for MacOS. I have added a small demo CoreML model to the project and can correctly load the model in Swift like let model = try! Matcher_512x256(). However, once I add a single C++ or Objective C file to the Compile Sources of my build target, the compilation fails with an error stating that the model cannot be found: "...ModelAndCpp/ModelAndCpp/main.swift:11:18 Cannot find 'Matcher_512x256' in scope". Please help me resolve this. Does XCode change into a different "compilation mode" once a C++ file is present which might cause this error? XCode version is 16A242d. I can reproduce the issue with a tiny repository (5 small files) which I have uploaded here on GitHub. To reproduce the issue, simply remove the .m and .cpp files from Compile Sources to compile correctly, or add one of them to get the error. Thank you and best regards, Manuel
0
0
161
Oct ’24
How to symbolize memory graph if symbols is not compiled into application
To reduce the app size, the application dmg file does not contains the symbols in it. But when we meet memory issue, I use "leaks 'appName' --outputGrap =memoryLeak.memgraph" to get a memory graph Because there is no symbols contained the application, there is no function names(module names) which allocate the memory from the memory graph. But, we save the symbols as separate .dSYM files when compile, Is there any way to use the .dSYM files to symbolize the memory graph in this case ?
0
0
265
Oct ’24
ios 18.1 issue "you must accept icloud
I have a problem, which oncerns Photos but maybe all the iCloud+ services here with me. Two days ago (after the sixth developer beta of ios 18.1) everything worked, then in an Apple Store center I bought and configured an Apple Watch (which I don't think has much to do with it, or maybe it does) and suddenly both on the iPhone and on the iPad this "you must accept the new iCloud Terms and Conditions" problem popped up, which instead, fortunately, is not on the Mac. I tried changing account "icloud" in Mail, but I get no mail and this message: "Impossible to receive mail. Connection with the server not reached... Server code "AUTHENTICATIONFAILED", server message "Invalid credentials". In fact, sometimes certain parts of Preferences (all about iCloud) give the error "Server not responding" or "incorrect password", but it is correct. Improper errors. I tried to log out of iCloud but it keeps saying that "incorrect account or password" and it doesn't turn off "Find my"... A great problem... But where is this "Terms and consitions" file? By the way, I think I've already accepted it on the Mac and other devices. I've tried everything... Also in iPad it is not possible to activate iMessage: "account or password wrong", trey again... Yesterday I updated to the developer beta 7 of iOS 18.1 but nothing has changed.
0
1
1.2k
Oct ’24
Tracking Transparency
Long story short. My app tracks users via cookies and allows them to see relevant ads and such. Apple wants me to implement App Tracking via Xcode. The issue is I am running on Windows OS and do not have the ability to make the changes needed to get this app approved. The app was built through a 3rd party app building site, and they have no solutions at this time. So not unless someone has an idea on how to make these changes myself, I am all ears.
0
0
1.6k
Oct ’24
Provide feedback on technotes
About technotes Technotes are focused, timely documents from Apple Developer Technical Support. They explore a wide range of development topics and provide guidance for developers creating apps and accessories for all of Apple’s platforms. Learn about specific development topics through these in-depth technical articles. You can subscribe to this RSS feed to get notified when new technotes are published. We encourage you to discuss the technotes here in the forums and share your feedback via Feedback Assistant. Let us know if a technote is helpful, or what we can do to improve it. We would appreciate it if you include a Feedback Assistant (FB) number in your forums post, so we can easily track your feedback, and let you know when it’s resolved. Tagging your post When tagging your post, please add the relevant tags for the technology area it applies to. You can also add the Technotes tag, if you wish. Providing feedback To create new feedback about a specific technote (or technotes as a whole) using Feedback Assistant, use the following path: What are you seeing an issue with? Developer Tools Which area are you seeing an issue with? Developer Documentation What does the documentation issue you are reporting involve? Technotes Please provide the URL of the content you reporting an issue with: The complete URL of the technote. For example, https://developer.apple.com/documentation/technotes/tn3102-http3-in-your-app. If you wish to leave feedback on Technotes in general, use https://developer.apple.com/documentation/technotes for the URL. Then complete the remaining fields appropriately. We appreciate and look forward to your feedback.
0
0
4.4k
Oct ’24
Assistance Needed for Pending Apple Developer Enrollment
Hello Apple Developer Support Community, I’m reaching out here in hopes of getting some guidance or assistance with an enrollment issue. Our institution recently completed the Apple Developer Program enrollment as an accredited educational institution after receiving our DUNS number. It’s been over a week since the submission, but the status is still showing as "pending," and we haven’t received any follow-up communication. This delay is creating a significant barrier for our students, as they urgently need access to the resources associated with the developer program for their ongoing projects. If anyone has experience with expediting this process or knows of any steps we might be missing, I would be extremely grateful for your insights. Thank you in advance for any advice or assistance!
0
1
305
Nov ’24
xcodebuild fails to build target that links AppIntents.framework once SWIFT_EXEC is specified
Reasoning I am working on a tool that does swift code preprocessing, which is done by a custom script that gets passed as SWIFT_EXEC. This script does some magic and then calls the original swift compiler from /usr/bin/swiftc. I am facing a rather non-common issue. Problem With the release of Xcode 16, for some reason xcodebuild now forcibly does not supply --compile-time-extraction flag to the appintentsmetadataprocessor, if xcodebuild also has a SWIFT_EXEC= argument. (appintentsmetadataprocessor is a tool that is executed automatically by the xcode build system if the app is using App Intents feature). Xcode 15 behaves fine in this regard and always passes --compile-time-extraction flag to appintentsmetadataprocessor (both with or without SWIFT_EXEC). But when the --compile-time-extraction flag is not passed, the appintentsmetadataprocessor fails with an error, making xcodebuild fail as well, essentially making AppIntents unavailable if SWIFT_EXEC build setting is used. Here's how to reproduce the issue: Create a new iOS Xcode project, add AppIntents.framework to the list of linked frameworks, and run xcodebuild SWIFT_EXEC=/usr/bin/swiftc from the project directory. If you're using Xcode 16 you will get a build error: starting appintentsmetadataprocessor export error: At least one halting error produced during export. No AppIntents metadata have been exported and this target is not usable with AppIntents until errors are resolved. error: The operation couldn't be completed. (GeneratorBuildProductExtractor.BinaryScanningError 6.) Alternatively, instead of running xcodebuild, one can add user-defined build setting SWIFT_EXEC=/usr/bin/swiftc to the xcode project target's build settings and build it from xcode, getting the same build failure error. Question The question I am hoping to get an answer or a hint to, is is there any kind of a workaround that would force appintentsmetadataprocessor to still get the --compile-time-extraction argument, when it is launched by the xcodebuild, so the build process completes sucessfully? I also tried passing LM_COMPILE_TIME_EXTRACTION=YES to the xcodebuild, which, according to /Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/PlugIns/XCBSpecifications.ideplugin/Contents/Resources/AppIntentsMetadata.xcspec, should enable --compile-time-extraction, however this setting seems to be either ignored or overridden once the SWIFT_EXEC is passed, making it useless. Can this option be injected/enforced? The corresponding issue tracking number is FB15274300 Thank you
0
3
769
Oct ’24
eSIM entitlement
I have been waiting for a response for approval of the ESIm rights permit for over 6 months and I have not had any response. I contacted support and they hang up on me. I don't know what to do anymore. Does anyone know how I can obtain the status of my application?
0
0
429
Oct ’24
Why doesn't XCode AVX2 setting set -mf16c and -mfma
There's nowhere to add -mf16c and -mfma that doesn't cause a uinversal build to spew warnings about those settings when it builds arm64. I'd rather not have to add a xcconfig file across every project with an x64 specific setting. So why doesn't the AVX2 setting (-mavx2) also set these flags? -mhaswell does, and so does -mx86-64-...-v3, but those seem to only be supported by clang-cli on Windows.
0
1
330
Oct ’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
RealityKit Metrics - 3D Render vertex and triangle measurement attributes clarification needed
What exactly is included/calculated in the following metrics within RealityKit Trace - RealityKit Metrics - 3D render attributes: 3D Mesh Triangles Total Triangles Submitted 3D Mesh Vertices Total Vertices Submitted As the second part of the question, what differentiates between: 3D Mesh Triangles vs Total Triangles Submitted 3D Mesh Vertices vs Total Vertices Submitted
0
0
548
Oct ’24