Picker Error Message on Exit (encountered while discovering extensions: Error Domain=PlugInKit Code=13) With Swift 4 - Xcode 9

前端 未结 10 1141
生来不讨喜
生来不讨喜 2021-01-31 10:04

Similar to

PhotoPicker discovery error: Error Domain=PlugInKit Code=13

and also to

https://forums.developer.apple.com/thread/82105

BUT I have t

10条回答
  •  南方客
    南方客 (楼主)
    2021-01-31 10:53

    Had this same issue on Swift 4.2 and Xcode 10.0. Although the image picker was working correctly Xcode showed this error on console. To get rid of this:

    • On Xcode menu Product > Scheme > Edit Scheme
    • Select 'Run' tab, then 'Arguments'
    • On 'Environment Variables' section add a variable with Name OS_ACTIVITY_MODE and Value disable

提交回复
热议问题