We are experiencing an issue where our app gets stuck during launch. The splash screen appears for some time, and then the app either becomes unresponsive or closes unexpectedly. However, there are no crash logs captured in Xcode or Firebase Crashlytics, indicating that the app is not crashing but rather being terminated. This issue is preventing affected users from properly launching the app.
Additionally, some users have reported occasional lag and slow performance when using the app. The issue occurs only for a specific subset of users and appears to be related to other Electronic Logging Device (ELD) apps running in the background. When these apps are active, our app struggles to launch and sometimes becomes unresponsive.
We suspect that this behavior could be related to system resource allocation, such as high memory consumption by background apps, which might be affecting our app's ability to launch correctly. However, we have been unable to reproduce the issue on our end despite multiple attempts.
Actions Performed During App Launch:
Firebase configuration
API requests, including:
Fetching account details
Registering the FCM token with the server
Asynchronous background requests to fetch POI details
Creating a local database and storing POI data in local storage
We would like guidance from Apple regarding potential causes and debugging strategies, especially in scenarios where the app does not produce crash logs but still fails to launch properly. Any insights into memory management, conflicts with background applications, or system resource constraints would be highly appreciated.
Steps to Reproduce:
Install and launch the app on an affected device.
Observe that the app gets stuck on the launch screen.
After some time, the app terminates unexpectedly.
Issue is inconsistent and occurs only for certain users.
Presence of other ELD apps running in the background appears to influence the issue.
General
RSS for tagDive into the vast array of tools and services available to developers.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
hello developers,
First priority I couldn't find a proper title for the question :(
The reason why I open a topic here is not to find the answer by direct point shooting; My goal is what do Apple, Developer, Companies and Devops teams think and comments about the subject I'm going to ask here?
We use Jenkins as the Devops CI/CD tool at our company, and in Macos/Apple/iOS development, we use a lot of Mac Mini devices. Since we build/compilers on a project-based, version-based basis, we cannot get 100% efficiency from our devices. (For example, because the dependencies of a project are different from other projects; we dedicate only 1 Mac Mini to that project. (As the dependecys of the projects are too many and large, the migration process is very difficult for us, the cost of moving to a lower-level Mac Mini device is high / but this is just an example))
While researching, I saw that there is no docker container image for MacOs X (enterprise or legal) and I know about the Apple EULA. (For virtualization, Apple hardware must be used as a basis. Because the MacOs system is paid for on a device-based basis.)
What I want to ask here is can I find or create a MacOs docker container image legally?
How is the structure of other companies in their CI processes?
If I install MacOs with more than one VMware/VirtualBox on Mac Mini, What harm could it do me in Jenkins? (I'm curious about people's comments on this.)
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
Enterprise
Continuous Integration
Virtualization
After upgrading to the latest Sequoia on Intel, I am getting warnings like:
2025-02-07 19:01:13.576 Emacs-x86_64-10_14[3780:303891] +[IMKClient subclass]: chose IMKClient_Modern
2025-02-07 19:01:13.576 Emacs-x86_64-10_14[3780:303891] +[IMKInputSession subclass]: chose IMKInputSession_Modern
on my own programs as well as others like Emacs. Is there a way to silence these warnings? They seem to be a bug in this macOS release.
Topic:
Developer Tools & Services
SubTopic:
General
My application always crashes at the same position when I open it on my iPad Air. It doesn't crash in debug mode which makes it very difficult for me to find the issue.
My crash report from TestFlight:
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000016d5f26f0
Exception Codes: 0x0000000000000001, 0x000000016d5f26f0
VM Region Info: 0x16d5f26f0 is not in any region. Bytes after previous region: 546219761 Bytes before following region: 399632
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_LARGE 14c000000-14cd08000 [ 13.0M] rw-/rwx SM=PRV
---> GAP OF 0x2094c000 BYTES
Stack Guard 16d654000-16d658000 [ 16K] ---/rwx SM=NUL
Termination Reason: SIGNAL 4 Illegal instruction: 4
Terminating Process: ProjectiOS [745]
Triggered by Thread: 0
Thread 0 name:
Thread 0 name:
Thread 0 Crashed:
0 ProjectiOS 0x0000000107abf3b4 0x1026ac000 + 88159156
1 ProjectiOS 0x000000010e7d3be4 0x1026ac000 + 202537956
2 ProjectiOS 0x000000010e96c45c 0x1026ac000 + 204211292
3 ProjectiOS 0x000000010e96cadc 0x1026ac000 + 204212956
4 ProjectiOS 0x000000010e7d7ba4 0x1026ac000 + 202554276
5 ProjectiOS 0x00000001079cccc0 0x1026ac000 + 87166144
6 ProjectiOS 0x000000010945f33c 0x1026ac000 + 115028796
7 ProjectiOS 0x000000010945b648 0x1026ac000 + 115013192
8 ProjectiOS 0x0000000109458510 0x1026ac000 + 115000592
9 ProjectiOS 0x0000000107530430 0x1026ac000 + 82330672
10 ProjectiOS 0x0000000109459290 0x1026ac000 + 115004048
11 ProjectiOS 0x0000000109457584 0x1026ac000 + 114996612
12 ProjectiOS 0x00000001094b961c 0x1026ac000 + 115398172
13 ProjectiOS 0x00000001094bb8a0 0x1026ac000 + 115407008
14 ProjectiOS 0x00000001094c0340 0x1026ac000 + 115426112
15 ProjectiOS 0x000000010971e698 0x1026ac000 + 117909144
16 ProjectiOS 0x000000011104f7a4 0x1026ac000 + 244987812
17 QuartzCore 0x00000001879f4548 CA::Display::DisplayLinkItem::dispatch_(CA::SignPost::Interval<(CA::SignPost::CAEventCode)835322056>&) + 64 (CADisplay.mm:6671)
18 QuartzCore 0x00000001879d1c64 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 880 (CADisplay.mm:5794)
19 QuartzCore 0x00000001879e5394 CA::Display::DisplayLink::dispatch_deferred_display_links(unsigned int) + 360 (CADisplay.mm:4886)
20 UIKitCore 0x000000018c936afc _UIUpdateSequenceRunNext + 128 (_UIUpdateSequence.mm:189)
21 UIKitCore 0x000000018c935f8c schedulerStepScheduledMainSectionContinue + 60 (_UIUpdateScheduler.m:1197)
22 UpdateCycle 0x000000027364b560 UC::DriverCore::continueProcessing() + 84 (UCDriver.cc:288)
23 CoreFoundation 0x0000000186f8c4cc __CFMachPortPerform + 168 (CFMachPort.c:604)
24 CoreFoundation 0x0000000186fbc0b0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60 (CFRunLoop.c:2045)
25 CoreFoundation 0x0000000186fbbfd8 __CFRunLoopDoSource1 + 508 (CFRunLoop.c:2184)
26 CoreFoundation 0x0000000186f93c1c __CFRunLoopRun + 2168 (CFRunLoop.c:3205)
27 CoreFoundation 0x0000000186f92a6c _CFRunLoopRunSpecificWithOptions + 532 (CFRunLoop.c:3462)
28 GraphicsServices 0x000000022790d498 GSEventRunModal + 120 (GSEvent.c:2049)
29 UIKitCore 0x000000018c956ba4 -[UIApplication _run] + 792 (UIApplication.m:3902)
30 UIKitCore 0x000000018c8ffa78 UIApplicationMain + 336 (UIApplication.m:5577)
31 ProjectiOS 0x0000000110d93700 0x1026ac000 + 242120448
32 ProjectiOS 0x00000001109068f0 0x1026ac000 + 237349104
33 ProjectiOS 0x000000010f5885d4 0x1026ac000 + 216909268
34 ProjectiOS 0x000000010f588908 0x1026ac000 + 216910088
35 ProjectiOS 0x0000000107cf95b8 0x1026ac000 + 90494392
36 ProjectiOS 0x000000010e85dce8 0x1026ac000 + 203103464
37 ProjectiOS 0x0000000110fadbd4 0x1026ac000 + 244325332
38 ProjectiOS 0x0000000110f48e64 0x1026ac000 + 243912292
39 ProjectiOS 0x0000000110f50004 0x1026ac000 + 243941380
40 ProjectiOS 0x0000000110fb54f4 0x1026ac000 + 244356340
41 ProjectiOS 0x0000000110de715c 0x1026ac000 + 242463068
42 ProjectiOS 0x000000011102e55c 0x1026ac000 + 244852060
43 dyld 0x0000000183faae28 start + 7116 (dyldMain.cpp:1477)
Then I symbolicated all the lines starting with "ProjectiOS" in my crash report but I cannot find the issue. Which lines in my crash report cause the crash?
Lines 0-16:
alcCaptureSamples (in ProjectiOS) + 202259184
alcCaptureSamples (in ProjectiOS) + 203932520
alcCaptureSamples (in ProjectiOS) + 203934184
alcCaptureSamples (in ProjectiOS) + 202275504
alcCaptureSamples (in ProjectiOS) + 86887372
alcCaptureSamples (in ProjectiOS) + 114750024
alcCaptureSamples (in ProjectiOS) + 114734420
alcCaptureSamples (in ProjectiOS) + 114721820
alcCaptureSamples (in ProjectiOS) + 82051900
alcCaptureSamples (in ProjectiOS) + 114725276
alcCaptureSamples (in ProjectiOS) + 114717840
alcCaptureSamples (in ProjectiOS) + 115119400
alcCaptureSamples (in ProjectiOS) + 115128236
alcCaptureSamples (in ProjectiOS) + 115147340
alcCaptureSamples (in ProjectiOS) + 117630372
BrotliEncoderHasMoreOutput (in ProjectiOS) + 2126968
Lines 31-42:
alcCaptureSamples (in ProjectiOS) + 237070332
alcCaptureSamples (in ProjectiOS) + 216630496
alcCaptureSamples (in ProjectiOS) + 216631316
alcCaptureSamples (in ProjectiOS) + 90215620
alcCaptureSamples (in ProjectiOS) + 202824692
BrotliEncoderHasMoreOutput (in ProjectiOS) + 1464488
BrotliEncoderHasMoreOutput (in ProjectiOS) + 1051448
BrotliEncoderHasMoreOutput (in ProjectiOS) + 1080536
BrotliEncoderHasMoreOutput (in ProjectiOS) + 1495496
xamarin_get_original_working_directory_path (in ProjectiOS) + 4032
BrotliEncoderHasMoreOutput (in ProjectiOS) + 1991216
Calling dlopen then dlclose causes an increase in the amount of memory used by the program. If I create a loop that calls dlopen / dlclose repeatedly on the same dynamic library, memory usage increases continuously. Is this a bug, or am I using dlopen / dlclose incorrectly?
I can reproduce this by modifying the sample code in the Apple Developer docs Creating Dynamic Libraries. If I modify Runtime.c, changing the line void *lib_handle = dlopen(lib_name, RTLD_NOW); to add the infinite loop, as below:
void *lib_handle = dlopen(lib_name, RTLD_NOW);
for (int ii = 0; ; ++ii) {
printf("loop %i\n", ii);
int close_err = dlclose(lib_handle);
printf("close error: %i\n", close_err);
printf("dlopen(%s, RTLD_NOW)\n", lib_name);
lib_handle = dlopen(lib_name, RTLD_NOW);
}
then opening and closing the dynamic library will succeed, but memory usage (as reported by top) will rapidly increase.
I'm running on x86_64 macOS 13.6.6. Full code for the modified Runtime.c is attached, the rest of the code is available in the Apple Developer docs.
Any suggestions?
Many thanks,
Chris
Runtime.c
We are looking for a platform or portal provided by Apple that allows us to track crashes, hangs, or other runtime issues faced by users while using our iOS/macOS application. This is similar to how we currently use Windows Error Reporting (WER) for our Windows application.
Important note: Our application is not distributed via the Apple App Store — it is delivered through enterprise distribution or ad-hoc provisioning.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
MetricKit
App Store
Custom Apps
Enterprise
@MainActor class AddCarViewModel: ObservableObject {
@Published var photoUrls : [String] = []
func uploadImages(images: [Image], customerId: String) async throws {
let subFolderId = UUID().uuidString
let pictureFolderRef = Storage.storage().reference().child("CarPhotos").child(customerId).child("\(subFolderId)")
images.enumerated().forEach { index, image in
guard let imageData = image.asUIImage().jpegData(compressionQuality: 0.5) else {
return
}
let pictureReference = pictureFolderRef.child("image_\(index).jpeg")
pictureReference.putData(imageData, metadata: nil) {
metadata, error in
if let error = error {
print("failed to put data")
}
pictureReference.downloadURL { url, error in
if let error = error {
print("error while downloading url ")
}
guard let urlString = url?.absoluteString else {
return
}
self.photoUrls.append(urlString)
}
}
}
}
func addCar(carInfo: Car) async throws {
try await Firestore.firestore().collection("cars").document().setData(from: carInfo)
}
}
VStack {
Button {
Task {
do {
try await viewModel.uploadImages(images: selectedImages, customerId: viewModel.user!.uid)
try await viewModel.addCar(carInfo: Car(photoUrls: viewModel.photoUrls))
} catch {
print(error)
}
}
dismiss()
} label: {
Text("Post")
}
}
Topic:
Developer Tools & Services
SubTopic:
General
When you have a mac, creating xcprivacy is pretty straightforward for your app, you simply use xcode, then select the sdks and target them and your privacy manifest is ready.
In the other hand, when you are using CI/CD solutions you might not use xcode direclty.
In that instance and if you are coding in flutter, you need to create your privacy manifest by hand.
I would like guidance how to write that file, I would it for a given third party SDK and where to put that file in the flutter project (just to be sure)
For example we choose the most important third party SDK manifest: FUTTER framework.
I keep getting errors about it for my app, got alot of builds get the INVALID BINARY error because of that, and my mails indicating me a problem with the manifest.
Please show me the source code of the manifest privacy for a project where a third party SDK is present (in particular: flutter sdk)
Thanks
This example fails to compile on Sequoia 15.4 with Xcode 16.3 and the command line tools installed;
jacquesmenu@macstudio:C++Tests > cat pcount_test.cpp
// clang++ -std=c++17 -o IntWrapperTest IntWrapperTest.cpp
#include // std::string
#include // std::cout
#include // std::ostringstream
int main1 (int argc, char* argv[])
{
std::string theString = "Prière d'éviter";
std::cout << theString << ", size(): " << theString.size () << std::endl;
std::stringstream oss;
oss << theString << std::endl;
std::cout << oss.str () << ", pcount(): " << oss.pcount () << std::endl;
}
//_______________________________________________________________________________
// position in output stream
#include // std::ofstream
int main () {
std::ofstream outfile;
outfile.open ("test.txt");
outfile.write ("This is an apple",16);
long pos = outfile.tellp();
outfile.seekp (pos-7);
outfile.write (" sam",4);
outfile.close();
return 0;
}
jacquesmenu@macstudio:C++Tests > clang++ pcount_test.cpp
pcount_test.cpp:3:10: fatal error: 'string' file not found
3 | #include // std::string
| ^~~~~~~~
1 error generated.
The same occurs with iostrem if it is the first include mentioned.
Compiling in Xcode itself does not this problem, though.
This include is to be found here:
jacquesmenu@macstudio:C++Tests > xcode-select -p
/Applications/Xcode.app/Contents/Developer
jacquesmenu@macstudio:C++Tests > ls -sal /Applications/Xcode.app/Contents/Developer/**/string | grep MacOSX
72 -rw-r--r-- 10 root wheel 203802 Mar 8 06:17 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string
"UITests recording reports 'The capability "Create Service Socket" is not supported by this device.' on M1 chip, but works normally on Intel chip."
Hello,
According to the official documentation, the macOS Virtualization Framework currently supports only macOS and Linux guest operating systems. I would like to know if there is any way—officially or through a supported workaround—to run Windows 11 as a guest using this framework.
Additionally, is there any indication or roadmap suggesting that support for Windows guests might be introduced in a future release, such as in macOS 16?
Any insights or official clarification would be greatly appreciated.
Thank you.
Hallo zusammen,
ich habe seit einiger Zeit ein Problem, dass ich eine App 'Warenwirtschaft' aus Xcode heraus nicht mehr im Simulator oder auf meinem IPad starten kann.
Ein Compilieren und Verteilen über TestFlight funktioniert weiterhin ohne Probleme.
Leider klappt das Debugger nun nicht mehr.
Anbei die Fehlermeldung von Xcode.
Ich hoffe ihr könnt mir helfen.
Grüsse Mark
Cannot launch simulated executable: no file found at /Applications/Warenwirtschaft.app
Domain: IDEFoundationErrorDomain
Code: 1
User Info: {
DVTErrorCreationDateKey = "2025-02-05 10:10:06 +0000";
IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
}
Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
"device_identifier" = "D572897F-2ECB-4109-9DFC-C7D0FB145C1C";
"device_model" = "iPad16,6";
"device_osBuild" = "18.2 (22C150)";
"device_platform" = "com.apple.platform.iphonesimulator";
"device_thinningType" = "iPad16,6-A";
"dvt_coredevice_version" = "397.28";
"dvt_coresimulator_version" = "993.7";
"dvt_mobiledevice_version" = "1759.81.1";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 562;
"operation_errorCode" = 1;
"operation_errorDomain" = IDEFoundationErrorDomain;
"operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;
"operation_name" = IDERunOperationWorkerGroup;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 3;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphonesimulator";
"param_diag_113575882_enable" = 0;
"param_diag_MainThreadChecker_stopOnIssue" = 0;
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
"param_diag_MallocStackLogging_enableForXPC" = 1;
"param_diag_allowLocationSimulation" = 1;
"param_diag_checker_tpc_enable" = 1;
"param_diag_gpu_frameCapture_enable" = 0;
"param_diag_gpu_shaderValidation_enable" = 0;
"param_diag_gpu_validation_enable" = 0;
"param_diag_guardMalloc_enable" = 0;
"param_diag_memoryGraphOnResourceException" = 0;
"param_diag_mtc_enable" = 1;
"param_diag_queueDebugging_enable" = 1;
"param_diag_runtimeProfile_generate" = 0;
"param_diag_sanitizer_asan_enable" = 0;
"param_diag_sanitizer_tsan_enable" = 0;
"param_diag_sanitizer_tsan_stopOnIssue" = 0;
"param_diag_sanitizer_ubsan_enable" = 0;
"param_diag_sanitizer_ubsan_stopOnIssue" = 0;
"param_diag_showNonLocalizedStrings" = 0;
"param_diag_viewDebugging_enabled" = 1;
"param_diag_viewDebugging_insertDylibOnLaunch" = 1;
"param_install_style" = 2;
"param_launcher_UID" = 2;
"param_launcher_allowDeviceSensorReplayData" = 0;
"param_launcher_kind" = 0;
"param_launcher_style" = 0;
"param_launcher_substyle" = 0;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application";
"param_structuredConsoleMode" = 1;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphonesimulator18.2";
"sdk_osVersion" = "18.2";
"sdk_variant" = iphonesimulator;
}
System Information
macOS Version 15.3 (Build 24D60)
Xcode 16.2 (23507) (Build 16C5032a)
Timestamp: 2025-02-05T11:10:06+01:00
Hi, anyone managed to make this work? https://developer.apple.com/documentation/backgroundassets
Trying for past few days and can't make it work. Following their official documentation, also this video https://www.youtube.com/watch?v=M3jpgZrB1uo, but it seems I am stuck at:
try await AssetPackManager.shared.ensureLocalAvailability(of: assetPack)
What I did:
Manifest files created, info.plist configured, asset pack created and uploaded to appstoreconnect via transporter, successfully assigned to app and ready for internal testing. Added to my code:
let assetPack = try await AssetPackManager.shared.assetPack(withID: "Tutorial")
try await AssetPackManager.shared.ensureLocalAvailability(of: assetPack)
let videoData = try AssetPackManager.shared.contents(at: "Videos/Introduction.m4v")
but no luck at all....
is anywhere any demo project available to download to compare with my project?
Visual Studio 2022 is attempting to use port 11000 instead of 62078, but the port on iOS 18.5 is not listening for VS's Hot Reloading. Is this allowable? If so, how?
Hello,
I recently enrolled in the Apple Developer Program and created an App ID with the bundle ID com.echo.eyes.voice.
I am trying to enable Speech Recognition in the App ID capabilities list, but the option does not appear — even after waiting over a week since my membership was activated.
I’ve already:
Confirmed my Apple Developer account is active
Checked the Identifiers section in the Developer portal
Tried editing the App ID, but Speech Recognition is not listed
Contacted both Developer Support and Developer Technical Support (Case #102594089120), but was told to post here for help
My app uses Capacitor + the @capacitor-community/speech-recognition plugin. I need the com.apple.developer.speech-recognition entitlement to appear so I can use native voice input in iOS.
I would really appreciate help from an Apple engineer or anyone who has faced this issue.
Thank you,
— Daniel Colyer
Hi, I have an iOS project with the following app targets:
main iOS application
a notification service extension
5 static libs containing some swift files with public methods
1 dynamic framework with above static libs as dependencies.
The framework only contains 2 files - a default .h file and 1 .exp file. This exports file contains mangled-names of all the public methods that are exposed by the 5 static libs present as framework's dependencies. I obtained these symbols using the nm command for each static lib.
The main iOS app target has 2 dependencies - the framework and the notification extension.
The notification extension only depends on the framework.
This setup works perfectly fine. I wanted to understand:
If using the exports file is the only way to make this setup work?
If not, what else can I do?
What way does Apple recommend?
According to my requirements, I only need at-most 2-3 functions to be exposed by the framework - thus using a exports file just for that seems to bug me.
Thank you.
I developed (with AI help) using Xcode an app for myself. It logged certain places visited on a list, with photos and notes. It worked, but after a few days my iPhone can't launch it. What do I have to do to get this to last?
I didn't think I needed to pay as this is purely for me.
Is anyone seeing flaky results when using parameterized test with pairs of (input, result) data?
I have several (5) tests for a given method. I create a zip sequence by zip([in1, in2, in3, in4, in5],[out1, out2, out3, out4, out5])
Sometimes, the test only runs 4 of the tests and fails to report a failure even though I deliberately place data that should cause a failure.
Sometimes, even though I only select one test to run, the test explorer goes crazy into a loop and I have to clear test results to get it to stop. Following a suggestion, I disabled running tests in parallel.
Xcode 16.2 / OSX 14.7 (Sonoma) / Mac mini M2 Pro
Hello Team!
Recently we cleaned up profiles and renewed certificates under developer account, noticing profile expiration date showing invalid, it supposed to show certificate expiration date. Due to this I am not able to update or download profiles. Any one experienced this this? what would be the solution?.
Thanks,
Kumar.
Topic:
Developer Tools & Services
SubTopic:
General
Good day everyone.
I have a react native app which works on dev mode on my device - Iphone 13 pro version: 18.5, but when deployed to TestFlight and installed on same device it crashes when ever I click on any TextInput. I downloaded the crash file but finding it difficult to pinpoint the problem.
I want to know what the problem is, if it's related to an installed package or code base or any other.
Any help will be appreciated!!!
Thanks.
crashlog.crash