Swift: Facebook SDK 登入錯誤訊息

2017070722:47

Facebook SDK 登入時出現的錯誤:

2017-07-07 22:43:47.353693+0800 album[24122:4694784] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-07-07 22:43:47.357594+0800 album[24122:4694784] [MC] Reading from public effective user settings.
2017-07-07 22:43:48.906020+0800 album[24122:4694784] [ViewService] Failed to get remote view controller with error: Error: domain=_UIViewServiceInterfaceErrorDomain, code=2


2017-07-07 22:45:44.912731+0800 album[24122:4694784] [ViewService] Failed to get remote view controller with error: Error: domain=_UIViewServiceInterfaceErrorDomain, code=2

 

解決

只要清除 Safari 的暫存資料即可正常

設定 / Safari / 清除瀏覽記錄和網站資料