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

前端 未结 10 1135
生来不讨喜
生来不讨喜 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:39

    The user asks: "*Any suggestions how to stop the error message? Other than the list of things offered at the other two links (summarized above)".

    I used two steps to eliminate the error message. Kudos to the person above Antoine Richeux https://stackoverflow.com/users/5767821/antoine-richeux.
    I think the Privacy addition to pList may not be necessary, at least in my case

    STEP 1. From the Menu bar select: Product > Scheme > Edit Scheme > select Run from the left side list of Build, Run ... Archive Select Arguments from top set of selections on right side - see picture attached. Use the + button under Environment Variables to add a new entry Name: OS_ACTIVITY_MODE Value: disable

    This shows where to add the environment variable

    STEP 2. Clean the project and rebuild

提交回复
热议问题