問題描述:
[discovery] errors encountered while discovering extensions: Error Domain=PlugInKit Code=13 "query cancelled" UserInfo={NSLocalizedDescription=query cancelled}
問題表現:
打開相冊,選擇圖片后,退出相冊。模擬器卡頓。
有人說真機不影響。可能是xcode的bug。
stackoverFlow上的各種解決辦法,https://stackoverflow.com/questions/44465904/photopicker-discovery-error-error-domain-pluginkit-code-13
我自己選擇了:https://forums.developer.apple.com/thread/82105 蘋果開發者論壇中的這個解決辦法。不再報錯,但是無法解決模擬器的卡頓問題。
Only this works for me:
1- From Xcode menu open: Product > Scheme > Edit Scheme
2- On your Environment Variables set OS_ACTIVITY_MODE in the value set disable