Pkg installation package uploaded to macstore email prompt ITMS-90296

Hello! I encountered an issue while packaging and uploading the project to the Mac store. I received an email stating:

ITMS-90296: App Sandbox not enabled - The following executors must include the 'com. apple. security. app sandbox' entitlement with a Boolean value of true in the entitlement property list: [[com. electron. iflyrecclient. pkg/Payload/iFlytek Listen. app/Contents/MacOS/iFlytek Listen]] Refer to App Sandbox page at https://developer.apple.com/documentation/security/app_sandbox for more information on sandboxing your app. Though you are not required to fix the following issues, we wanted to make you aware of them: ITMS-90886: 'Cannot be used with TestFlight because the signature for the bundle at' iFlytek hears. app 'is missing an application identifier but has an application identifier in the provisioning profile for the bundle.' Bundles with application identifiers in the provisioning profile are expected to have the same identifier signed into the bundle in order to be eligible for TestFlight.'

But in my memory, the sandbox was set to true. I have also tried the methods in the forum, but they have not been resolved,I hope you can help me see what happened. Here are the specific situations I developed,

  1. This project is built and developed using electron9;
  2. The entire project was not developed using Xcode;
  3. The specific process of packaging into pkg is as follows:

Step 1: Use an electron packager to package the app file

Step 2: Use electron/osx sign to sign the entire app file (with options such as entitlement and provisioning profile configured)

Step 3: Use the productbuild -- component Yourappname. app/Applications -- sign "3rd Party Mac Developer Installer: *** *** (XXXXXXXXXX)" Yourappname. pkg command to generate the pkg package

Step 4: Upload to transporter The above operations were executed normally, and after the second step of signing, using the codesign dvvv -- entities -<path to your app>provided on the official website to query also showed that the sandbox was true. However, after the upload was successful, you will receive an email showing an issue, and the corresponding uploaded version cannot be found on the app connect website

Hope to receive your answer. Wishing you good health and smooth work! PS: When generating the app, there is no sandbox related configuration in Info.Plist in the app content package. Is this normal? I checked the info.Plist of Google Chrome, Sogou Input Method and other software, and there is no sandbox configuration. Moreover, I tried manually adding it and then packaging it, but also encountered the same email problem.

Answered by DTS Engineer in 813805022
Written by dongkeqiang in 813745022
I noticed an error message

Yeah, that’s not good, and it’s quite possible that it’s causing your other problems.

The ._node_modules file is an AppleDouble file. The __MACOSX directory suggests that you’re using sequestered resources. This is problematic for an installer package that you’re submitting to the Mac App Store.

I talk about these concepts in more detail in Extended Attributes and Zip Archives.

You need to track down how these items made it into your installer packages. In general, your app shouldn’t need to use extended attributes. You should work out what extended attributes are present and update your build process so that they don’t get added. If you have to keep them for some reason, let me know the reason and we can talk about that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

First things first, the TestFlight issue (ITMS-90886) is covered by TestFlight, Provisioning Profiles, and the Mac App Store.

Regarding the App Sandbox issue (ITMS-90296), there’s a variety of potential causes for this. I recommend that you check whether App Sandbox is actually enabled on the binary that you submitted to App Store Connect. To do that:

  1. Locate the installer package (.pkg) you submitted.

  2. Unpack that. I usually do this with a third-party app (Pacifist), but Unpacking Apple Archives explains how to do it the hard way.

  3. Run codesign against the resulting app to confirm that its signature is valid:

    % codesign --verify -vvv /path/to/your.app
    
  4. Run codesign again to check that you have App Sandbox enabled:

    % codesign --display --entitlements - /path/to/your.app
    

    I’d expect to see output like this:

    % codesign --display --entitlements - /Applications/PCalc.app 
    …
    [Dict]
        …
        [Key] com.apple.security.app-sandbox
        [Value]
            [Bool] true
        …
    

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I tried using a third-party app (Pacivist) to open the app in pkg, nd export the app locally,then followed your instructions to perform the following actions:

1、 Run codesign against the results app to confirm that its signature is valid:

% codesign --verify -vvv /path/to/your.app

The results obtained:

PS:I noticed an error message

IFlytek heard. app: a sealed resource is missing or invalid File missing:/Users/pploo2/Desktop/icon/1/iFlytek heard. app/Contents/Resources/tj_S1/_MACOSX/ node_modules

I don't know if this is the key to the problem ITMS-90926.
2. Run codesign again to check that you have App Sandbox enabled:

% codesign --display --entitlements - /path/to/your.app

The results obtained:

You can see that there is sandbox=true here

Now back to the first step, I performed operations on the app before packaging it as pkg and found that there were no missing related issues

Written by dongkeqiang in 813745022
I noticed an error message

Yeah, that’s not good, and it’s quite possible that it’s causing your other problems.

The ._node_modules file is an AppleDouble file. The __MACOSX directory suggests that you’re using sequestered resources. This is problematic for an installer package that you’re submitting to the Mac App Store.

I talk about these concepts in more detail in Extended Attributes and Zip Archives.

You need to track down how these items made it into your installer packages. In general, your app shouldn’t need to use extended attributes. You should work out what extended attributes are present and update your build process so that they don’t get added. If you have to keep them for some reason, let me know the reason and we can talk about that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Amazing, it worked. Thank you!The problem is that after packaging it,

I used

%unzip ...

to unzip a file into the app package, resulting in the appearance of the MacOS folder after packaging.After deleting it, the issue was resolved

But now I have encountered another problem and need your help The following entitlement is not set in my entitlement. plist file:

com.apple.security.device.camera com.apple.security.files.bookmarks.app-scope com.apple.security.print
com.apple.security.device.usb
I didn't even mention it throughout my entire project, But after I signed the app, I found that they appeared in my app and I wanted to remove them. Can you help me to handle it

Written by dongkeqiang in 813976022
Amazing, it worked.

Yay!

Written by dongkeqiang in 813976022
But now I have encountered another problem and need your help The following entitlement is not set in my entitlement. plist file:

My understanding is that you’re not using Xcode to sign and package your app. Given that, there’s a limit to how much I can help you with this. Your third-party tooling is probably based on Apple’s low-level tools, xcodebuild (perhaps), Clang, codesign, and so on. Those tools don’t add entitlement claims spontaneously. They only do that if you instruct them to. So you have two choices:

  • Seek help from the support channel for the tools you’re using.

  • Or take ownership of the tool, and work through the steps that it takes to create your package to see where it’s adding these entitlement claims.

If you get to a point where you see an Apple tool misbehave, please post the details and I’ll take a look.

With regards entitlements specifically, when manually signing code you use the codesign tool. You can find advice on how to use that correctly in Creating distribution-signed code for macOS.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

You're right, I'm not using XCode for development. I know why this issue didn't occur, and I hope it can be helpful for those who come across this blog in the future.

But now I have encountered another problem and need your help The following entitlement is not set in my entitlement. plist file:

The reason for this issue is that when using @ electron/osx sign for signing, some parameters in the old option were invalid, resulting in the execution of the default entitlement. plist file in the node_module package.

But now, I have encountered a new problem and I hope you can help me take a look:

When I submitted a new binary file for review, I received a response saying that the software could not be opened, and other phenomena included:

  1. Before I signed the app, it could run normally, but after I signed it, I found that the app package could no longer run.
  2. I submitted the version to Apple Connect, but even after downloading it through TestFlight, I couldn't open it.
  3. Even if I turn off sandbox mode in the entities file, I cannot open it after signing.
  4. When I don't carry entitlement or provisioning profile, I use the command line directly.
%Codesign - f - i com. iflyrec. iflyrec Client - s "3rd Party Mac Developer Application: IFLYREC CO., LTD. (66927FHK7D)" - v "./iFlytek Listen. app" -- deep

Sign it and it will open normally. I found through positioning that the problem may have occurred during the signing process.

But I'm not sure if the problem lies in the fact that the signature carrying the entitlement and provisioning profile itself cannot be opened, or if there is a problem with the OSX sign signature. I hope you can help me take a look

Written by dongkeqiang in 814181022
Before I signed the app, it could run normally, but after I signed it, I found that the app package could no longer run.

That’s not necessarily indicative of a problem, assuming you’re using distribution code signing. See Don’t Run App Store Distribution-Signed Code.

If you want to test this locally, use the same signing process but sign it with an Apple Distribution signing identity.

Regarding provisioning profiles, you only need a provisioning profile if you use restricted entitlements. The entitlements to enable the App Sandbox are not unrestricted. See TN3125 Inside Code Signing: Provisioning Profiles.

You will need to use restricted entitlements to deploy via TestFlight [1], but you can ignore it when you do the local test I suggested above (that is, signing with Apple Development).

If your development-signed code has problems launching, see Resolving Trusted Execution Problems for hints and how to investigate that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] See TestFlight, Provisioning Profiles, and the Mac App Store.

Sorry, I didn't express my problem clearly.

The phenomenon I encountered was :

when I successfully uploaded the application to Apple Connect, I could see this version in Testflight, and the reviewers in the Mac store could also open my application. However, when I downloaded the corresponding version from Testflight on my local computer, I couldn't open it(I could see some crash messages in the Mac console), and even another computer couldn't install it directly (it suddenly disappeared as the download progress bar was about to end and turned into a download button)

My question is:

  1. Isn't that correct? Or is it true that it cannot be opened
  2. Where might the problem lie

I hope to receive your help

Thanks for the clarification.

Written by dongkeqiang in 814614022
However, when I downloaded the corresponding version from Testflight on my local computer, I couldn't open it

So, to be clear, by “downloaded the corresponding version from Testflight” you mean that you’re installing that version using the TestFlight app, right?

If so, then, no, this shouldn’t crash. However, there’s no guarantee that this crash is related to code signing. Release versions of an app can crash for all sorts of weird reasons.

Does running the app generate a crash report? If so, please post it here, using the steps described in Posting a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thank you,

as you said:

you’re installing that version using the TestFlight app

This is indeed what I meant

Then I checked my crash log and found that it may still be related to the signature

This is the complete crash log file

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               myapp [94541]
Path:                  /Applications/myapp.app/Contents/MacOS/myapp
Identifier:            com.electron.iflyrecclient
Version:               3.0.237 (3.0.237)
App Item ID:           6468032133
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-11-19 10:02:42.9490 +0800
OS Version:            macOS 13.6.3 (22G436)
Report Version:        12
Anonymous UUID:        

Sleep/Wake UUID:       1A542529-CBEC-4543-944E-7FF62AFEF885

Time Awake Since Boot: 490000 seconds
Time Since Wake:       410724 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes:       UNKNOWN_0x32 at 0x00002b8200082040
Exception Codes:       0x0000000000000032, 0x00002b8200082040

Termination Reason:    Namespace CODESIGNING, Code 2 Invalid Page

VM Region Info: 0x2b8200082040 is in 0x2b8200082000-0x2b82000bf000;  bytes after start: 64  bytes before end: 249791
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      Memory Tag 255           2b8200081000-2b8200082000 [    4K] ---/rwx SM=NUL  
--->  Memory Tag 255           2b8200082000-2b82000bf000 [  244K] r-x/rwx SM=PRV  
      Memory Tag 255           2b82000bf000-2b8208000000 [127.3M] ---/rwx SM=NUL  

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   ???                           	    0x2b8200082040 ???
1   Electron Framework            	       0x113bc0651 v8::internal::RegExpMacroAssembler::LoadCurrentCharacter(int, v8::internal::Label*, bool, int, int) + 1185
2   Electron Framework            	       0x113bcd07b v8::internal::RegExp::Exec(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, int, v8::internal::Handle) + 6955
3   Electron Framework            	       0x113bcb811 v8::internal::RegExp::Exec(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, int, v8::internal::Handle) + 705
4   Electron Framework            	       0x113c1f72f v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::StoreOrigin, v8::Maybe) + 100415
5   Electron Framework            	       0x1141ad1b8 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 485192
6   Electron Framework            	       0x11420553b v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 846539
7   Electron Framework            	       0x114140a55 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 40933
8   Electron Framework            	       0x1141bd1f4 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 550788
9   Electron Framework            	       0x114140a55 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 40933
10  Electron Framework            	       0x114140a55 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 40933
11  Electron Framework            	       0x114140a55 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 40933
12  Electron Framework            	       0x114140a55 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 40933
13  Electron Framework            	       0x114140a55 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 40933
14  Electron Framework            	       0x114140a55 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 40933
15  Electron Framework            	       0x114140a55 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 40933
16  Electron Framework            	       0x114140a55 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 40933
17  Electron Framework            	       0x11413e59a v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 31530
18  Electron Framework            	       0x11413e378 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 30984
19  Electron Framework            	       0x113836e4c v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, int, v8::internal::Handle*) + 3228
20  Electron Framework            	       0x113836296 v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, int, v8::internal::Handle*) + 230
21  Electron Framework            	       0x113727598 v8::Function::Call(v8::Local, v8::Local, int, v8::Local*) + 408
22  Electron Framework            	       0x1188b5fce napi_get_instance_data + 69246
23  Electron Framework            	       0x1188b67a6 napi_get_instance_data + 71254
24  Electron Framework            	       0x1188b6918 napi_get_instance_data + 71624
25  Electron Framework            	       0x11885c9b7 node::CreateEnvironment(node::IsolateData*, v8::Local, int, char const* const*, int, char const* const*) + 183
26  Electron Framework            	       0x112a7344d ElectronInitializeICUandStartNode + 1475133
27  Electron Framework            	       0x1129de47b ElectronInitializeICUandStartNode + 864875
28  Electron Framework            	       0x11450aa4a v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 4014042
29  Electron Framework            	       0x11450e352 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 4028642
30  Electron Framework            	       0x11450a288 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 4012056
31  Electron Framework            	       0x1143bb1a6 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 2639670
32  Electron Framework            	       0x1143badfb v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 2638731
33  Electron Framework            	       0x11692cd88 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 41902872
34  Electron Framework            	       0x1136399e4 ElectronInitializeICUandStartNode + 13821908
35  Electron Framework            	       0x11290b1d4 ElectronMain + 84
36  myapp                          	       0x10b13e110 0x10b13d000 + 4368
37  dyld                          	    0x7ff81918741f start + 1903

Thread 1:
0   libsystem_pthread.dylib       	    0x7ff8194dcbb0 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	    0x7ff8194dcbb0 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	    0x7ff8194dcbb0 start_wqthread + 0

Thread 4:: ThreadPoolServiceThread
0   libsystem_kernel.dylib        	    0x7ff8194abe06 kevent64 + 10
1   Electron Framework            	       0x1151cc8f1 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17391233
2   Electron Framework            	       0x1151cc786 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17390870
3   Electron Framework            	       0x11516d233 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17000387
4   Electron Framework            	       0x115144643 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 16833491
5   Electron Framework            	       0x115175a94 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17035300
6   Electron Framework            	       0x115185714 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17099940
7   Electron Framework            	       0x1151b7727 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17304759
8   libsystem_pthread.dylib       	    0x7ff8194e11d3 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff8194dcbd3 thread_start + 15

Thread 5:: ThreadPoolForegroundWorker
0   libsystem_kernel.dylib        	    0x7ff8194a25a2 mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff8194b071d mach_msg2_internal + 78
2   libsystem_kernel.dylib        	    0x7ff8194a95d4 mach_msg_overwrite + 692
3   libsystem_kernel.dylib        	    0x7ff8194a288a mach_msg + 19
4   Electron Framework            	       0x1151c19f3 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17346435
5   Electron Framework            	       0x11517e8c8 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17071704
6   Electron Framework            	       0x11517ef98 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17073448
7   Electron Framework            	       0x11517ee34 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17073092
8   Electron Framework            	       0x1151b7727 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17304759
9   libsystem_pthread.dylib       	    0x7ff8194e11d3 _pthread_start + 125
10  libsystem_pthread.dylib       	    0x7ff8194dcbd3 thread_start + 15

Thread 6:: ThreadPoolBackgroundWorker
0   libsystem_kernel.dylib        	    0x7ff8194a25a2 mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff8194b071d mach_msg2_internal + 78
2   libsystem_kernel.dylib        	    0x7ff8194a95d4 mach_msg_overwrite + 692
3   libsystem_kernel.dylib        	    0x7ff8194a288a mach_msg + 19
4   Electron Framework            	       0x1151c19f3 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17346435
5   Electron Framework            	       0x11517e8c8 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17071704
6   Electron Framework            	       0x11517ef98 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17073448
7   Electron Framework            	       0x11517eda4 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17072948
8   Electron Framework            	       0x1151b7727 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17304759
9   libsystem_pthread.dylib       	    0x7ff8194e11d3 _pthread_start + 125
10  libsystem_pthread.dylib       	    0x7ff8194dcbd3 thread_start + 15

Thread 7:: Chrome_IOThread
0   libsystem_kernel.dylib        	    0x7ff8194abe06 kevent64 + 10
1   Electron Framework            	       0x1151cc8f1 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17391233
2   Electron Framework            	       0x1151cc786 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17390870
3   Electron Framework            	       0x11516d233 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17000387
4   Electron Framework            	       0x115144643 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 16833491
5   Electron Framework            	       0x114510516 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 4037286
6   Electron Framework            	       0x115185714 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17099940
7   Electron Framework            	       0x1151b7727 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17304759
8   libsystem_pthread.dylib       	    0x7ff8194e11d3 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff8194dcbd3 thread_start + 15

Thread 8:: MemoryInfra
0   libsystem_kernel.dylib        	    0x7ff8194a25a2 mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff8194b071d mach_msg2_internal + 78
2   libsystem_kernel.dylib        	    0x7ff8194a95d4 mach_msg_overwrite + 692
3   libsystem_kernel.dylib        	    0x7ff8194a288a mach_msg + 19
4   Electron Framework            	       0x1151c19f3 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17346435
5   Electron Framework            	       0x1151c17ef v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17345919
6   Electron Framework            	       0x115126667 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 16710647
7   Electron Framework            	       0x11516d233 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17000387
8   Electron Framework            	       0x115144643 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 16833491
9   Electron Framework            	       0x115185714 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17099940
10  Electron Framework            	       0x1151b7727 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 17304759
11  libsystem_pthread.dylib       	    0x7ff8194e11d3 _pthread_start + 125
12  libsystem_pthread.dylib       	    0x7ff8194dcbd3 thread_start + 15

Thread 9:
0   libsystem_kernel.dylib        	    0x7ff8194a71de kevent + 10
1   Electron Framework            	       0x1189e064a uv_free_interface_addresses + 1370
2   Electron Framework            	       0x1189cfbb1 uv_run + 465
3   Electron Framework            	       0x118944f56 node::MultiIsolatePlatform::CancelPendingDelayedTasks(v8::Isolate*) + 902
4   libsystem_pthread.dylib       	    0x7ff8194e11d3 _pthread_start + 125
5   libsystem_pthread.dylib       	    0x7ff8194dcbd3 thread_start + 15

Thread 10:
0   libsystem_kernel.dylib        	    0x7ff8194a50de __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8194e1758 _pthread_cond_wait + 1242
2   Electron Framework            	       0x1189db719 uv_cond_wait + 9
3   Electron Framework            	       0x118945158 node::MultiIsolatePlatform::CancelPendingDelayedTasks(v8::Isolate*) + 1416
4   Electron Framework            	       0x118942e70 node::options_parser::SplitHostPort(std::__1::basic_string, std::__1::allocator> const&, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>>*) + 82256
5   libsystem_pthread.dylib       	    0x7ff8194e11d3 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff8194dcbd3 thread_start + 15

Thread 11:
0   libsystem_kernel.dylib        	    0x7ff8194a50de __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8194e1758 _pthread_cond_wait + 1242
2   Electron Framework            	       0x1189db719 uv_cond_wait + 9
3   Electron Framework            	       0x118945158 node::MultiIsolatePlatform::CancelPendingDelayedTasks(v8::Isolate*) + 1416
4   Electron Framework            	       0x118942e70 node::options_parser::SplitHostPort(std::__1::basic_string, std::__1::allocator> const&, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>>*) + 82256
5   libsystem_pthread.dylib       	    0x7ff8194e11d3 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff8194dcbd3 thread_start + 15

Thread 12:
0   libsystem_kernel.dylib        	    0x7ff8194a50de __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8194e1758 _pthread_cond_wait + 1242
2   Electron Framework            	       0x1189db719 uv_cond_wait + 9
3   Electron Framework            	       0x118945158 node::MultiIsolatePlatform::CancelPendingDelayedTasks(v8::Isolate*) + 1416
4   Electron Framework            	       0x118942e70 node::options_parser::SplitHostPort(std::__1::basic_string, std::__1::allocator> const&, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>>*) + 82256
5   libsystem_pthread.dylib       	    0x7ff8194e11d3 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff8194dcbd3 thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00002b8200082001  rbx: 0x00002b8200082040  rcx: 0x00002b8208042308  rdx: 0x00002b8208042300
  rdi: 0x00002b82080422f5  rsi: 0x0000000000000000  rbp: 0x00007ff7b4dc10b0  rsp: 0x00007ff7b4dc1038
   r8: 0x00002b820000a494   r9: 0x0000000000000004  r10: 0x0000000000003f01  r11: 0xfffffffffef0d700
  r12: 0x00002b8208042300  r13: 0x00007f8dcc819400  r14: 0x00002b8200000000  r15: 0x00002b82080422f5
  rip: 0x00002b8200082040  rfl: 0x0000000000010212  cr2: 0x00002b8200082040
  
Logical CPU:     4
Error Code:      0x00000015 (invalid protections for user instruction read)
Trap Number:     14


Binary Images:
       0x10b13d000 -        0x10b165fff com.electron.iflyrecclient (3.0.237) <b9d044ca-eb1b-3b25-b0b1-0cc03de1e5cb> /Applications/myapp.app/Contents/MacOS/myapp
       0x112909000 -        0x1197fffff com.github.Electron.framework (*) <0540e842-c24b-3b10-96b1-42f21d36cdad> /Applications/myapp.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
       0x10b4a2000 -        0x10b740fff libffmpeg.dylib (*) <ad9dc742-629a-30af-b7f5-8770b46b9be9> /Applications/myapp.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7ff819181000 -     0x7ff8192195ef dyld (*) <3400ad17-ab59-3b27-9a44-9b280fab5c3f> /usr/lib/dyld
    0x7ff8194db000 -     0x7ff8194e6fff libsystem_pthread.dylib (*) <60b15e1f-39ea-33a1-8616-3af57dc1094a> /usr/lib/system/libsystem_pthread.dylib
    0x7ff8194a1000 -     0x7ff8194dafff libsystem_kernel.dylib (*) <b5b0d201-e798-3cdb-99cc-9b802de6a209> /usr/lib/system/libsystem_kernel.dylib

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: 8
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=897.7M resident=0K(0%) swapped_out_or_unallocated=897.7M(100%)
Writable regions: Total=656.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=656.1M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
ColorSync                          152K       21 
CoreServices                       104K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           183.8M       32 
MALLOC guard page                   32K        8 
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
Memory Tag 255                     4.0G       25 
STACK GUARD                       56.0M       13 
Stack                             81.6M       13 
VM_ALLOCATE                         20K        4 
__CTF                               824        1 
__DATA                            40.0M      580 
__DATA_CONST                      38.1M      370 
__DATA_DIRTY                      1788K      222 
__FONT_DATA                        2352        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       174.4M        5 
__OBJC_RO                         66.3M        1 
__OBJC_RW                         2013K        2 
__TEXT                           723.3M      595 
dyld private memory                260K        2 
mapped file                       63.0M       11 
shared memory                     1280K       15 
===========                     =======  ======= 
TOTAL                              5.8G     1926 
TOTAL, minus reserved VM space     5.4G     1926 



-----------
Full Report
-----------

{"roots_installed":0,"app_cohort":"2|date=1731981600000&sf=143465&tid=14dcaccd7dd8298fb039477727d970cda75aa9123195e7411b721ad9405d6644&ttype=i","app_name":"myapp","app_version":"3.0.237","timestamp":"2024-11-19 10:02:43.00 +0800","slice_uuid":"b9d044ca-eb1b-3b25-b0b1-0cc03de1e5cb","adam_id":"6468032133","build_version":"3.0.237","platform":1,"bundleID":"com.electron.iflyrecclient","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.6.3 (22G436)","incident_id":"9E2B8B13-B2D7-40E4-822D-275A792B2E33","name":"myapp","is_beta":1}
{
  "uptime" : 490000,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "iMac19,1",
  "coalitionID" : 31747,
  "osVersion" : {
    "train" : "macOS 13.6.3",
    "build" : "22G436",
    "releaseType" : "User"
  },
  "captureTime" : "2024-11-19 10:02:42.9490 +0800",
  "incident" : "9E2B8B13-B2D7-40E4-822D-275A792B2E33",
  "pid" : 94541,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-11-19 10:02:39.1905 +0800",
  "procStartAbsTime" : 495337139913430,
  "procExitAbsTime" : 495340897417150,
  "procName" : "myapp",
  "procPath" : "\/Applications\/myapp.app\/Contents\/MacOS\/myapp",
  "bundleInfo" : {"CFBundleShortVersionString":"3.0.237","CFBundleVersion":"3.0.237","CFBundleIdentifier":"com.electron.iflyrecclient"},
  "storeInfo" : {"storeCohortMetadata":"2|date=1731981600000&sf=143465&tid=14dcaccd7dd8298fb039477727d970cda75aa9123195e7411b721ad9405d6644&ttype=i","itemID":"6468032133","deviceIdentifierForVendor":"F95E2DDF-A5CB-559B-929C-A0FE21D389DF","thirdParty":true,"entitledBeta":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.electron.iflyrecclient",
  "isBeta" : 1,
  "codeSigningID" : "com.electron.iflyrecclient",
  "codeSigningTeamID" : "66927FHK7D",
  "codeSigningFlags" : 587281169,
  "codeSigningValidationCategory" : 2,
  "codeSigningTrustLevel" : 0,
  "wakeTime" : 410724,
  "sleepWakeUUID" : "1A542529-CBEC-4543-944E-7FF62AFEF885",
  "sip" : "enabled",
  "vmRegionInfo" : "0x2b8200082040 is in 0x2b8200082000-0x2b82000bf000;  bytes after start: 64  bytes before end: 249791\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      Memory Tag 255           2b8200081000-2b8200082000 [    4K] ---\/rwx SM=NUL  \n--->  Memory Tag 255           2b8200082000-2b82000bf000 [  244K] r-x\/rwx SM=PRV  \n      Memory Tag 255           2b82000bf000-2b8208000000 [127.3M] ---\/rwx SM=NUL  ",
  "exception" : {"codes":"0x0000000000000032, 0x00002b8200082040","rawCodes":[50,47837346275392],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x00002b8200082040"},
  "termination" : {"flags":0,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"},
  "vmregioninfo" : "0x2b8200082040 is in 0x2b8200082000-0x2b82000bf000;  bytes after start: 64  bytes before end: 249791\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      Memory Tag 255           2b8200081000-2b8200082000 [    4K] ---\/rwx SM=NUL  \n--->  Memory Tag 255           2b8200082000-2b82000bf000 [  244K] r-x\/rwx SM=PRV  \n      Memory Tag 255           2b82000bf000-2b8208000000 [127.3M] ---\/rwx SM=NUL  ",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":8},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":7768296,"threadState":{"r13":{"value":140246998160384},"rax":{"value":47837346275329},"rflags":{"value":66066},"cpu":{"value":4},"r14":{"value":47837345742848},"rsi":{"value":0},"r8":{"value":47837345784980},"cr2":{"value":47837346275392},"rdx":{"value":47837480231680},"r10":{"value":16129},"r9":{"value":4},"r15":{"value":47837480231669},"rbx":{"value":47837346275392},"trap":{"value":14,"description":"(invalid protections for user instruction read)"},"err":{"value":21},"r11":{"value":18446744073691780864},"rip":{"value":47837346275392,"matchesCrashFrame":1},"rbp":{"value":140701867970736},"rsp":{"value":140701867970616},"r12":{"value":47837480231680},"rcx":{"value":47837480231688},"flavor":"x86_THREAD_STATE","rdi":{"value":47837480231669}},"queue":"com.apple.main-thread","frames":[{"imageOffset":47837346275392,"imageIndex":3},{"imageOffset":19625553,"symbol":"v8::internal::RegExpMacroAssembler::LoadCurrentCharacter(int, v8::internal::Label*, bool, int, int)","symbolLocation":1185,"imageIndex":1},{"imageOffset":19677307,"symbol":"v8::internal::RegExp::Exec(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, int, v8::internal::Handle)","symbolLocation":6955,"imageIndex":1},{"imageOffset":19671057,"symbol":"v8::internal::RegExp::Exec(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, int, v8::internal::Handle)","symbolLocation":705,"imageIndex":1},{"imageOffset":20014895,"symbol":"v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::StoreOrigin, v8::Maybe)","symbolLocation":100415,"imageIndex":1},{"imageOffset":25838008,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":485192,"imageIndex":1},{"imageOffset":26199355,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":846539,"imageIndex":1},{"imageOffset":25393749,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":40933,"imageIndex":1},{"imageOffset":25903604,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":550788,"imageIndex":1},{"imageOffset":25393749,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":40933,"imageIndex":1},{"imageOffset":25393749,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":40933,"imageIndex":1},{"imageOffset":25393749,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":40933,"imageIndex":1},{"imageOffset":25393749,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":40933,"imageIndex":1},{"imageOffset":25393749,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":40933,"imageIndex":1},{"imageOffset":25393749,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":40933,"imageIndex":1},{"imageOffset":25393749,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":40933,"imageIndex":1},{"imageOffset":25393749,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":40933,"imageIndex":1},{"imageOffset":25384346,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":31530,"imageIndex":1},{"imageOffset":25383800,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":30984,"imageIndex":1},{"imageOffset":15916620,"symbol":"v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, int, v8::internal::Handle*)","symbolLocation":3228,"imageIndex":1},{"imageOffset":15913622,"symbol":"v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, int, v8::internal::Handle*)","symbolLocation":230,"imageIndex":1},{"imageOffset":14804376,"symbol":"v8::Function::Call(v8::Local, v8::Local, int, v8::Local*)","symbolLocation":408,"imageIndex":1},{"imageOffset":100323278,"symbol":"napi_get_instance_data","symbolLocation":69246,"imageIndex":1},{"imageOffset":100325286,"symbol":"napi_get_instance_data","symbolLocation":71254,"imageIndex":1},{"imageOffset":100325656,"symbol":"napi_get_instance_data","symbolLocation":71624,"imageIndex":1},{"imageOffset":99957175,"symbol":"node::CreateEnvironment(node::IsolateData*, v8::Local, int, char const* const*, int, char const* const*)","symbolLocation":183,"imageIndex":1},{"imageOffset":1483853,"symbol":"ElectronInitializeICUandStartNode","symbolLocation":1475133,"imageIndex":1},{"imageOffset":873595,"symbol":"ElectronInitializeICUandStartNode","symbolLocation":864875,"imageIndex":1},{"imageOffset":29366858,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":4014042,"imageIndex":1},{"imageOffset":29381458,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":4028642,"imageIndex":1},{"imageOffset":29364872,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":4012056,"imageIndex":1},{"imageOffset":27992486,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":2639670,"imageIndex":1},{"imageOffset":27991547,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":2638731,"imageIndex":1},{"imageOffset":67255688,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":41902872,"imageIndex":1},{"imageOffset":13830628,"symbol":"ElectronInitializeICUandStartNode","symbolLocation":13821908,"imageIndex":1},{"imageOffset":8660,"symbol":"ElectronMain","symbolLocation":84,"imageIndex":1},{"imageOffset":4368,"imageIndex":0},{"imageOffset":25631,"symbol":"start","symbolLocation":1903,"imageIndex":4}]},{"id":7768399,"frames":[{"imageOffset":7088,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":7768400,"frames":[{"imageOffset":7088,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":7768406,"frames":[{"imageOffset":7088,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":5}]},{"id":7768410,"name":"ThreadPoolServiceThread","frames":[{"imageOffset":44550,"symbol":"kevent64","symbolLocation":10,"imageIndex":6},{"imageOffset":42744049,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17391233,"imageIndex":1},{"imageOffset":42743686,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17390870,"imageIndex":1},{"imageOffset":42353203,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17000387,"imageIndex":1},{"imageOffset":42186307,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":16833491,"imageIndex":1},{"imageOffset":42388116,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17035300,"imageIndex":1},{"imageOffset":42452756,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17099940,"imageIndex":1},{"imageOffset":42657575,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17304759,"imageIndex":1},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":7768411,"name":"ThreadPoolForegroundWorker","frames":[{"imageOffset":5538,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":63261,"symbol":"mach_msg2_internal","symbolLocation":78,"imageIndex":6},{"imageOffset":34260,"symbol":"mach_msg_overwrite","symbolLocation":692,"imageIndex":6},{"imageOffset":6282,"symbol":"mach_msg","symbolLocation":19,"imageIndex":6},{"imageOffset":42699251,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17346435,"imageIndex":1},{"imageOffset":42424520,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17071704,"imageIndex":1},{"imageOffset":42426264,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17073448,"imageIndex":1},{"imageOffset":42425908,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17073092,"imageIndex":1},{"imageOffset":42657575,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17304759,"imageIndex":1},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":7768412,"name":"ThreadPoolBackgroundWorker","frames":[{"imageOffset":5538,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":63261,"symbol":"mach_msg2_internal","symbolLocation":78,"imageIndex":6},{"imageOffset":34260,"symbol":"mach_msg_overwrite","symbolLocation":692,"imageIndex":6},{"imageOffset":6282,"symbol":"mach_msg","symbolLocation":19,"imageIndex":6},{"imageOffset":42699251,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17346435,"imageIndex":1},{"imageOffset":42424520,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17071704,"imageIndex":1},{"imageOffset":42426264,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17073448,"imageIndex":1},{"imageOffset":42425764,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17072948,"imageIndex":1},{"imageOffset":42657575,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17304759,"imageIndex":1},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":7768413,"name":"Chrome_IOThread","frames":[{"imageOffset":44550,"symbol":"kevent64","symbolLocation":10,"imageIndex":6},{"imageOffset":42744049,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17391233,"imageIndex":1},{"imageOffset":42743686,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17390870,"imageIndex":1},{"imageOffset":42353203,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17000387,"imageIndex":1},{"imageOffset":42186307,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":16833491,"imageIndex":1},{"imageOffset":29390102,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":4037286,"imageIndex":1},{"imageOffset":42452756,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17099940,"imageIndex":1},{"imageOffset":42657575,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17304759,"imageIndex":1},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":7768414,"name":"MemoryInfra","frames":[{"imageOffset":5538,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":6},{"imageOffset":63261,"symbol":"mach_msg2_internal","symbolLocation":78,"imageIndex":6},{"imageOffset":34260,"symbol":"mach_msg_overwrite","symbolLocation":692,"imageIndex":6},{"imageOffset":6282,"symbol":"mach_msg","symbolLocation":19,"imageIndex":6},{"imageOffset":42699251,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17346435,"imageIndex":1},{"imageOffset":42698735,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17345919,"imageIndex":1},{"imageOffset":42063463,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":16710647,"imageIndex":1},{"imageOffset":42353203,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17000387,"imageIndex":1},{"imageOffset":42186307,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":16833491,"imageIndex":1},{"imageOffset":42452756,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17099940,"imageIndex":1},{"imageOffset":42657575,"symbol":"v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*)","symbolLocation":17304759,"imageIndex":1},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":7768415,"frames":[{"imageOffset":25054,"symbol":"kevent","symbolLocation":10,"imageIndex":6},{"imageOffset":101545546,"symbol":"uv_free_interface_addresses","symbolLocation":1370,"imageIndex":1},{"imageOffset":101477297,"symbol":"uv_run","symbolLocation":465,"imageIndex":1},{"imageOffset":100908886,"symbol":"node::MultiIsolatePlatform::CancelPendingDelayedTasks(v8::Isolate*)","symbolLocation":902,"imageIndex":1},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":7768416,"frames":[{"imageOffset":16606,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":5},{"imageOffset":101525273,"symbol":"uv_cond_wait","symbolLocation":9,"imageIndex":1},{"imageOffset":100909400,"symbol":"node::MultiIsolatePlatform::CancelPendingDelayedTasks(v8::Isolate*)","symbolLocation":1416,"imageIndex":1},{"imageOffset":100900464,"symbol":"node::options_parser::SplitHostPort(std::__1::basic_string, std::__1::allocator> const&, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>>*)","symbolLocation":82256,"imageIndex":1},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":7768417,"frames":[{"imageOffset":16606,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":5},{"imageOffset":101525273,"symbol":"uv_cond_wait","symbolLocation":9,"imageIndex":1},{"imageOffset":100909400,"symbol":"node::MultiIsolatePlatform::CancelPendingDelayedTasks(v8::Isolate*)","symbolLocation":1416,"imageIndex":1},{"imageOffset":100900464,"symbol":"node::options_parser::SplitHostPort(std::__1::basic_string, std::__1::allocator> const&, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>>*)","symbolLocation":82256,"imageIndex":1},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]},{"id":7768418,"frames":[{"imageOffset":16606,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":6},{"imageOffset":26456,"symbol":"_pthread_cond_wait","symbolLocation":1242,"imageIndex":5},{"imageOffset":101525273,"symbol":"uv_cond_wait","symbolLocation":9,"imageIndex":1},{"imageOffset":100909400,"symbol":"node::MultiIsolatePlatform::CancelPendingDelayedTasks(v8::Isolate*)","symbolLocation":1416,"imageIndex":1},{"imageOffset":100900464,"symbol":"node::options_parser::SplitHostPort(std::__1::basic_string, std::__1::allocator> const&, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>>*)","symbolLocation":82256,"imageIndex":1},{"imageOffset":25043,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":5},{"imageOffset":7123,"symbol":"thread_start","symbolLocation":15,"imageIndex":5}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4480815104,
    "CFBundleShortVersionString" : "3.0.237",
    "CFBundleIdentifier" : "com.electron.iflyrecclient",
    "size" : 167936,
    "uuid" : "b9d044ca-eb1b-3b25-b0b1-0cc03de1e5cb",
    "path" : "\/Applications\/myapp.app\/Contents\/MacOS\/myapp",
    "name" : "myapp",
    "CFBundleVersion" : "3.0.237"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4606431232,
    "CFBundleIdentifier" : "com.github.Electron.framework",
    "size" : 116355072,
    "uuid" : "0540e842-c24b-3b10-96b1-42f21d36cdad",
    "path" : "\/Applications\/myapp.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Electron Framework",
    "name" : "Electron Framework",
    "CFBundleVersion" : "9.4.4"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4484374528,
    "size" : 2748416,
    "uuid" : "ad9dc742-629a-30af-b7f5-8770b46b9be9",
    "path" : "\/Applications\/myapp.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Libraries\/libffmpeg.dylib",
    "name" : "libffmpeg.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703549624320,
    "size" : 624112,
    "uuid" : "3400ad17-ab59-3b27-9a44-9b280fab5c3f",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703553138688,
    "size" : 49152,
    "uuid" : "60b15e1f-39ea-33a1-8616-3af57dc1094a",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703552901120,
    "size" : 237568,
    "uuid" : "b5b0d201-e798-3cdb-99cc-9b802de6a209",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703549001728,
  "size" : 21474836480,
  "uuid" : "97d6888a-2705-3991-b7e9-e38694d68f1e"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=897.7M resident=0K(0%) swapped_out_or_unallocated=897.7M(100%)\nWritable regions: Total=656.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=656.1M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                          152K       21 \nCoreServices                       104K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           183.8M       32 \nMALLOC guard page                   32K        8 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nMemory Tag 255                     4.0G       25 \nSTACK GUARD                       56.0M       13 \nStack                             81.6M       13 \nVM_ALLOCATE                         20K        4 \n__CTF                               824        1 \n__DATA                            40.0M      580 \n__DATA_CONST                      38.1M      370 \n__DATA_DIRTY                      1788K      222 \n__FONT_DATA                        2352        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       174.4M        5 \n__OBJC_RO                         66.3M        1 \n__OBJC_RW                         2013K        2 \n__TEXT                           723.3M      595 \ndyld private memory                260K        2 \nmapped file                       63.0M       11 \nshared memory                     1280K       15 \n===========                     =======  ======= \nTOTAL                              5.8G     1926 \nTOTAL, minus reserved VM space     5.4G     1926 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "3cf9131f39c444be5feab2596eb67e4bfa9ab0b3",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112d17137f5d11121dcd4e2",
      "factorPackIds" : {

      },
      "deploymentId" : 240000570
    },
    {
      "rolloutId" : "60186475825c62000ccf5450",
      "factorPackIds" : {

      },
      "deploymentId" : 240000083
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "45f4e2a5-551b-4bc2-a2dc-19c244dda8f8",
      "experimentId" : "6643969b3099cf28e049862f",
      "deploymentId" : 400000007
    }
  ]
}
}

Model: iMac19,1, BootROM 2020.40.3.0.0, 6 processors, 6-Core Intel Core i5, 3.1 GHz, 16 GB, SMC 2.46f12
Graphics: Radeon Pro 575X, Radeon Pro 575X, PCIe, 4 GB
Display: iMac, Retina 5K (5120 x 2880), Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E3
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E3
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Dec  9 2022 16:56:24 version 9.30.492.0.32.5.87 FWID 01-3a11ec19
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD ST2000DM001, 2 TB
USB Device: USB31Bus
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB Keyboard
USB Device: USB Optical Mouse
Thunderbolt Bus: iMac, Apple Inc., 47.5

Then this is the entitlement file I used to sign, where the entitlement. mas file is used for signing the main program, and the entitlement. mac. other file is used for signing other internal executable files.

    
        com.apple.security.app-sandbox
        
        com.apple.security.files.user-selected.read-write
        
        com.apple.security.network.client
        
        com.apple.security.device.microphone
        
    

  
    com.apple.security.app-sandbox
    
    com.apple.security.inherit
    
  

I use @ electron/osx sign to sign

The entitlement information displayed in Apple Connect is as follows:

Then unable to open

Written by dongkeqiang in 814826022
This is the complete crash log file

Thanks. This is a classic hardened runtime incompatibility crash. I talk about these in Resolving Hardened Runtime Incompatibilities, part of my Resolving Trusted Execution Problems series.

It seems that the code hitting this is inside your third-party runtime. Usually you can resolve such crashes by signing the code with one of the hardened runtime exception entitlements. I can’t offer advice as to which one is appropriate in this case; you’ll need to ask that via the support channel for your chosen runtime.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I have read the link article you provided, and I understand that my problem may be due to some missing entities in the configured entities file. If so, is there a tool to check which entities should be provided? This project includes many modules, and I am not sure what specific entities are needed

Written by dongkeqiang in 814846022
If so, is there a tool to check which entities should be provided?

No, because the answer depends on what your code does. Let’s consider two common cases:

  • If your code implements a JIT using modern techniques — that is, MAP_JIT — then you you need com.apple.security.cs.allow-jit.

  • OTOH, if your code hasn’t been updated recently, you need com.apple.security.cs.allow-unsigned-executable-memory.

You need to either understand how this code works or talk to someone who does.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I tried using

com. apple. security. cs.allow jit

and

com. apple. security. cs.allow-Unsigned-executable memory,

and also tried to generate an empty shell app (the main function only opens a blank window), but after uploading it to app connect and downloading it on TestFlight, I still couldn't open it. Suddenly, I thought of something, that is, the version I uploaded can be opened by testers in the Mac store, but the same version, only the one I downloaded from TestFlight cannot be opened. Is there any difference between the two ?

Sorry, forgive me, I have made a new discovery and added two entities (com. apple. security. cs.allow jit)

and

com. apple. security. cs.allow-Unsigned-executable memory, )

The inability to open now is different from the past. Previously, if it couldn't be opened, a crash record would be generated. Now, if it can't be opened, no crash record will be generated, and the Mac console app cannot see it. Only the dock bar jumps to exit. I don't know if this information is critical

Pkg installation package uploaded to macstore email prompt ITMS-90296
 
 
Q