相关疑难解决方法(0)

"此应用程序不允许查询方案cydia"IOS9错误

我有一个应用程序,我点击HTTP请求

<NSURLConnection: 0x12d755110> { request: <NSMutableURLRequest: 0x12d754e10> { URL: http://XX.XX.XX.XXX/webService/dataService.svc/SearchLocation } }

现在,无论何时发出上述请求,我都会收到以下错误,并且响应中没有收到任何数据.60秒后我得到" Time Out error".它在IOS8及以下版本上工作正常,但不适用于IOS9.谁能让我知道我还有什么办法解决这个问题.另外,我在info.plist中对iOS9的ATS进行了以下更改,但仍面临此问题.请让我知道如何解决这个问题?提前致谢.

的Info.plist

<key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
        <key>NSIncludesSubdomains</key>
        <true/>
        <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
        <true/>
        <key>NSTemporaryExceptionMinimumTLSVersion</key>
        <string>TLSv1.1</string>
    </dict>
Run Code Online (Sandbox Code Playgroud)

错误

2015-09-22 22:19:58.333 App[751:139449] regionDidChangeAnimated>>>>>>>>>>>>>>>>>: = 40.844278,-74.130561
2015-09-22 22:19:58.344 App[751:139449] Reachability Flag Status: -R ------- networkStatusForFlags
2015-09-22 22:19:58.350 App[751:139449] request:< SearchLocation ><DeviceKeyUDID>My Device UDID</DeviceKeyUDID><SecretKey>SecretKey/SecretKey><ListingType>LOCATION</ListingType><PageIndex>1</PageIndex><MaxNoOfRecords>20</MaxNoOfRecords><Latitude>40.844276</Latitude><Longitude>-74.130562</Longitude><Distance>25</Distance><Address></Address><SearchText></SearchText></SearchLocation >
2015-09-22 22:19:58.357 App[751:139449] -canOpenURL: failed for URL: "cydia://package/com.fake.package" - error: "This app is not allowed to query for scheme cydia"
2015-09-22 22:19:58.945 App[751:139449] theXML contains:
2015-09-22 …
Run Code Online (Sandbox Code Playgroud)

url-scheme ios ios9 app-transport-security

21
推荐指数
2
解决办法
2万
查看次数

标签 统计

app-transport-security ×1

ios ×1

ios9 ×1

url-scheme ×1