Ios &引用;NSURLSession/NSURLConnection HTTP加载失败(kCFStreamErrorDomainSSL,-9802)“;Swift 3火力基地
我正在用Firebase制作一个应用程序。我正在运行我的应用程序,突然,我出现了以下错误: 我得到了错误“NSURLSession/NSURLConnection HTTP加载失败(kCFStreamErrorDomainSSL,-9802)” 是的,我已经尝试了所有那些info.plist的东西,它告诉你添加任意加载。我已经尝试了那里的一切Ios &引用;NSURLSession/NSURLConnection HTTP加载失败(kCFStreamErrorDomainSSL,-9802)“;Swift 3火力基地,ios,swift,firebase,nsurlconnection,Ios,Swift,Firebase,Nsurlconnection,我正在用Firebase制作一个应用程序。我正在运行我的应用程序,突然,我出现了以下错误: 我得到了错误“NSURLSession/NSURLConnection HTTP加载失败(kCFStreamErrorDomainSSL,-9802)” 是的,我已经尝试了所有那些info.plist的东西,它告诉你添加任意加载。我已经尝试了那里的一切 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//A
<?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>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>https://piigeon-7bf2d.firebaseio.com/</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
<key>UIAppFonts</key>
<array>
<string>apple-sd-gothic-neo-thin-5989d270024be</string>
</array>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>iMedicin</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.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string></string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSPhotoLibraryUsageDescription</key>
<string>We would like to access your photos to provide you with an amazing app experience.</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
</dict>
</plist>g>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string></string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSPhotoLibraryUsageDescription</key>
<string>We would like to access your photos to provide you with an amazing app experience.</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
</dict>
</plist>
NSAppTransportSecurity
NSAllowsArbitraryLoads
NSExceptionDomains
https://piigeon-7bf2d.firebaseio.com/
n包括多个域
NSAllowsArbitraryLoads
NSTemporaryExceptionMinimumTLSVersion
TLSv1.1
NSTemporary ExceptionalLowsInSecureHttpLoads
UIAppFonts
苹果-sd-哥特式-neo-thin-5989d270024be
CfBundledDevelopmentRegion
EN
CbundleDisplayName
伊梅迪辛
Cbundlexecutable
$(可执行文件名称)
CbundleIdentifier
$(产品\捆绑包\标识符)
CbundleInfo字典版本
6
CFBundleName
$(产品名称)
CbundlePackageType
应用
CbundleShortVersionString
1
循环流化床锅炉
1.
LSApplicationCategoryType
LSREQUIRESPHONEOS
NSPhotoLibraryUsageDescription
我们希望访问您的照片,为您提供精彩的应用体验。
UILaunchStoryboardName
发射屏
UIRequiredDeviceCapabilities
armv7
UIStatusBarStyle
UIStatusBarStyleLightContent
UI支持接口方向
UIInterfaceOrientationPortrait
g>
循环流化床锅炉
1.
LSApplicationCategoryType
LSREQUIRESPHONEOS
NSPhotoLibraryUsageDescription
我们希望访问您的照片,为您提供精彩的应用体验。
UILaunchStoryboardName
发射屏
UIRequiredDeviceCapabilities
armv7
UIStatusBarStyle
UIStatusBarStyleLightContent
UI支持接口方向
UIInterfaceOrientationPortrait
这是我的信息列表
有人能帮我吗?谢谢。关于Info.plist:允许一切(
NSAllowsArbitraryLoads
)或限制对特定域的访问,但不能两者都允许。密钥域的值应该是主机(piigeon-7bf2d.firebaseio.com
),而不是URL。请阅读文档。您能够解决问题吗?没有,仍然存在相同的问题。我什么都试过了,但实际上什么都不起作用。关于Info.plist:要么允许一切(nsallowsrabiryaryloads
),要么限制对特定域的访问,但不能两者都允许。密钥域的值应该是主机(piigeon-7bf2d.firebaseio.com
),而不是URL。请阅读文档。您能够解决问题吗?没有,仍然存在相同的问题。我什么都试过了,但实际上什么都没用。