文章目录
-
-
- 1、相机权限:This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
- 2、Errors were encountered while preparing your device for development. Please check the Devices and Simulators Window.
- 3、'statusBarOrientation' was deprecated in iOS 13.0: Use the interfaceOrientation property of the window scene instead.
- 4、DYLD_LIBRARY_PATH=/usr/lib/system/introspection,DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecordin
- 5、`where` clauses are preferred over a single `if` inside a `for`. (for_where)
-
1、相机权限:This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
- https://blog.youkuaiyun.com/qq_39097425/article/details/88985484
- 在 info.plist 添加键值对 “Privacy - Camera Usage Description” —— YES(值不能为空,随便填个值就行)
2、Errors were encountered while preparing your device for development. Please check the Devices and Simulators Window.
- 问题:
- 1、iPhone 系统版本12.1.2,Xcode 13.1。运行代码显示
iPhone’s iOS 12.1.2 doesn’t match Playza.app’s iOS 13.0 deployment target
- 2、升级 iPhone 系统版本到最新版本15.3.1后,运行代码显示
Errors were encountered while preparing your device for dev