Xcode 16.2 App Crashes Due to Missing NSMotionUsageDescription Key in Info.plist

There is a crash while running the project in Xcode 16.2. The project has been using CMPedometer and CoreMotion since 2020. I wonder: I did not have the NSMotionUsageDescription key added, why is it mandatory to add this key now?

“This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMotionUsageDescription key with a string value explaining to the user how the app uses this data.”

Same Crash with me after upgrading Xcode16.

Thread 5 Crashed:

0 libsystem_kernel.dylib __abort_with_payload + 8

1 libsystem_kernel.dylib abort_with_payload_wrapper_internal + 104

2 libsystem_kernel.dylib 0x00000001e9fd3cb8

3 TCC TCC_CRASHING_DUE_TO_PRIVACY_VIOLATION + 172

4 TCC __tcc_authorization_check_audit_token_block_invoke + 0

5 TCC tccd_send_message + 1560

6 TCC __TCCAccessRequest_block_invoke_3 + 832

7 libdispatch.dylib _dispatch_client_callout + 20

8 libdispatch.dylib _dispatch_lane_barrier_sync_invoke_and_complete + 56

9 libsystem_trace.dylib _os_activity_initiate_impl + 64

10 TCC TCCAccessRequest + 476

11 CoreMotion 0x000000019531dfac + 128

12 libdispatch.dylib _dispatch_call_block_and_release + 32

13 libdispatch.dylib _dispatch_client_callout + 20

14 libdispatch.dylib _dispatch_lane_serial_drain + 748

15 libdispatch.dylib _dispatch_lane_invoke + 380

16 libdispatch.dylib _dispatch_root_queue_drain_deferred_wlh + 288

17 libdispatch.dylib _dispatch_workloop_worker_thread + 404

18 libsystem_pthread.dylib _pthread_wqthread + 288

Xcode 16.2 App Crashes Due to Missing NSMotionUsageDescription Key in Info.plist
 
 
Q