Xcode canOpenURL:对于URL:“失败”;fbauth2:/“文件”错误:";(无效)“;
我得说这个错误快把我逼疯了,我已经不知所措了。我想说的是,我已经阅读了大量关于如何修复这个错误的文章,我已经实现了给出的解决方案,这个错误仍然存在 下面是一些我正在使用的信息 Facebook iOS sdk v4.7.1 解析iOS sdk 1.9.1 Xcode版本7.1.1 Swift 2.1 我已经看到了关于plist的各种解决方案,据我所知,我已经用正确的凭证多次更新了plist。这是我的全部建议:Xcode canOpenURL:对于URL:“失败”;fbauth2:/“文件”错误:";(无效)“;,xcode,facebook,parse-platform,swift2,ios9,Xcode,Facebook,Parse Platform,Swift2,Ios9,我得说这个错误快把我逼疯了,我已经不知所措了。我想说的是,我已经阅读了大量关于如何修复这个错误的文章,我已经实现了给出的解决方案,这个错误仍然存在 下面是一些我正在使用的信息 Facebook iOS sdk v4.7.1 解析iOS sdk 1.9.1 Xcode版本7.1.1 Swift 2.1 我已经看到了关于plist的各种解决方案,据我所知,我已经用正确的凭证多次更新了plist。这是我的全部建议: <?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.9.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb1679166828968529</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.9.1</string>
<key>FacebookAppID</key>
<string>1679166828968529</string>
<key>FacebookDisplayName</key>
<string>Student Kitchen</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fb-messenger-api</string>
<string>fbauth2</string>
<string>fbshareextension</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>akamaihd.net</key>
<dict>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>facebook.com</key>
<dict>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>fbcdn.net</key>
<dict>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
我已关闭位代码。我已经做了我读过的所有事情,这个错误仍然存在。任何帮助都将不胜感激
我还想指出,我知道Facebook说这是一个可以忽略的错误。然而,这不适用于我的情况。我正在尝试启动Facebook登录屏幕以登录我的应用程序,模拟器立即启动并进入一个白色屏幕,它不会因为这个错误切换到Facebook登录,这就是为什么我不能忽略它。我也不能尝试在我的手机上运行该应用程序,因为它是iPhone4,运行的是iOS 7,我正在努力确保它适用于iOS 9。此外,Facebook或parse SDK中的版本降级也不是一个选项
我还多次重置了模拟器的内容和设置
提前向任何能提供帮助的人表示感谢,我看到许多人都有相同的错误,但没有适当的解决方案,我相信他们和我都会很感激。您能提供您的植入信息以供登录吗?
import UIKit
import Parse
import ParseFacebookUtilsV4
import FBSDKCoreKit
import FBSDKLoginKit