KeyboardExtension fail to launch

I build my keyboardExtension App and run on my iphone 13, while I switched to the target keyboard, the whole app crashed. The console outputs:

2024-08-17 23:33:38.263720+0800 Files[1569:29323] [lifecycle] [u AB01981D-2CDB-4DFF-B9E0-6DF66367C1A8:m (null)] [Astomile.Keyboard.KeyboardExtension(1.0)] Failed to start plugin; pkd returned an error: Error Domain=PlugInKit Code=4 "RBSLaunchRequest error trying to launch plugin Astomile.Keyboard.KeyboardExtension(AB01981D-2CDB-4DFF-B9E0-6DF66367C1A8): Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0xdc8e1b410 {Error Domain=NSPOSIXErrorDomain Code=153 "Unknown error: 153" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}" UserInfo={NSLocalizedDescription=RBSLaunchRequest error trying to launch plugin Astomile.Keyboard.KeyboardExtension(AB01981D-2CDB-4DFF-B9E0-6DF66367C1A8): Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0xdc8e1b410 {Error Domain=NSPOSIXErrorDomain Code=153 "Unknown error: 153" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}} 2024-08-17 23:33:38.263824+0800 Files[1569:29323] [NSExtension] Plugin <id<PKPlugIn>: 0xde48143d0; core = <[u AB01981D-2CDB-4DFF-B9E0-6DF66367C1A8] [Astomile.Keyboard.KeyboardExtension(1.0)],[d BF3DC025-2C44-42D9-A96B-C5EDA92BE2BE] [/private/var/containers/Bundle/Application/02ED1D6E-5A8C-42FA-B083-F2712CADC616/Keyboard.app/PlugIns/KeyboardExtension.appex]>, instance = [(null)], state = 3, useCount = 0> must have pid! Extension request will fail 2024-08-17 23:33:38.263879+0800 Files[1569:29323] [NSExtension] Failed to aquire assertion for plugin: <id<PKPlugIn>: 0xde48143d0; core = <[u AB01981D-2CDB-4DFF-B9E0-6DF66367C1A8] [Astomile.Keyboard.KeyboardExtension(1.0)],[d BF3DC025-2C44-42D9-A96B-C5EDA92BE2BE] [/private/var/containers/Bundle/Application/02ED1D6E-5A8C-42FA-B083-F2712CADC616/Keyboard.app/PlugIns/KeyboardExtension.appex]>, instance = [(null)], state = 3, useCount = 0> pid: 0 2024-08-17 23:33:38.263911+0800 Files[1569:29323] [NSExtension] Unable to acquire process assertion in beginUsing: with plugin identifier: Astomile.Keyboard.KeyboardExtension, killing plugin 2024-08-17 23:33:38.263951+0800 Files[1569:28656] [NSExtension] begin extension request <EXExtensionRequest: 0x283115ea0> Request PK UUID: 7AC4DA71-4C76-45E9-9F23-D8EC7BD27924 with item count 0 complete with error: Error Domain=PlugInKit Code=4 "RBSLaunchRequest error trying to launch plugin Astomile.Keyboard.KeyboardExtension(AB01981D-2CDB-4DFF-B9E0-6DF66367C1A8): Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0xdc8e1b410 {Error Domain=NSPOSIXErrorDomain Code=153 "Unknown error: 153" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}" UserInfo={NSLocalizedDescription=RBSLaunchRequest error trying to launch plugin Astomile.Keyboard.KeyboardExtension(AB01981D-2CDB-4DFF-B9E0-6DF66367C1A8): Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0xdc8e1b410 {Error Domain=NSPOSIXErrorDomain Code=153 "Unknown error: 153" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}} 2024-08-17 23:33:38.264289+0800 Files[1569:29323] Could not signal service Astomile.Keyboard.KeyboardExtension: 113: Could not find specified service 2024-08-17 23:33:38.264386+0800 Files[1569:29323] Could not signal service Astomile.Keyboard.KeyboardExtension: 113: Could not find specified service 2024-08-17 23:33:38.264413+0800 Files[1569:29323] [NSExtension] PlugInKit error in beginUsing: with plugin identifier: Astomile.Keyboard.KeyboardExtension, killing plugin 2024-08-17 23:33:38.264524+0800 Files[1569:29323] Could not signal service Astomile.Keyboard.KeyboardExtension: 113: Could not find specified service

The app can be run on the simulator. My iphone has system version 16.1.x and the app is set minimum at 16.0.

What would be the solution? any insight would be great, thank you.

KeyboardExtension fail to launch
 
 
Q