iOS共享扩展无法处理HTTP请求,并显示许多错误
最近,当我在共享扩展列表中使用真实设备iPhone5s(操作系统为iOS8.2)选择我的共享扩展时,调试器显示了许多错误,有时无法执行HTTP请求,并显示HTTP请求超时错误。 模拟器没有显示这些问题 错误在于这些iOS共享扩展无法处理HTTP请求,并显示许多错误,ios,ios8-share-extension,Ios,Ios8 Share Extension,最近,当我在共享扩展列表中使用真实设备iPhone5s(操作系统为iOS8.2)选择我的共享扩展时,调试器显示了许多错误,有时无法执行HTTP请求,并显示HTTP请求超时错误。 模拟器没有显示这些问题 错误在于这些 2015-12-06 22:57:47.566 MyExtension[2253:205758] INFO: fetch-response is unable to open the file /private/var/mobile/Containers/Data/PluginKit
2015-12-06 22:57:47.566 MyExtension[2253:205758] INFO: fetch-response is unable to open the file /private/var/mobile/Containers/Data/PluginKitPlugin/DA4D2743-D409-40F2-82A1-C90B2625008E/Library/Caches/myBuildIdentiferAndAppExtensionName/fsCachedData/B6C509D1-E530-4EA3-955F-B2B9FE81025B. Errno: 2
2015-12-06 22:57:47.567 MyExtension[2253:205758] INFO: fetch-response is unable to open the file /private/var/mobile/Containers/Data/PluginKitPlugin/DA4D2743-D409-40F2-82A1-C90B2625008E/Library/Caches/myBuildIdentiferAndAppExtensionName/fsCachedData/371AF890-421A-48FB-97E6-FB985591CA3E. Errno: 2
2015-12-06 22:57:47.592 MyExtension[2253:205761] INFO: fetch-response is unable to open the file /private/var/mobile/Containers/Data/PluginKitPlugin/DA4D2743-D409-40F2-82A1-C90B2625008E/Library/Caches/myBuildIdentiferAndAppExtensionName/fsCachedData/EC88B5E5-64F6-4493-A8F8-457117959EA4. Errno: 2
2015-12-06 22:57:47.598 MyExtension[2253:205761] INFO: fetch-response is unable to open the file /private/var/mobile/Containers/Data/PluginKitPlugin/DA4D2743-D409-40F2-82A1-C90B2625008E/Library/Caches/myBuildIdentiferAndAppExtensionName/fsCachedData/4D3FF458-958E-4424-B8D7-68B4C3FECCAC. Errno: 2
2015-12-06 22:57:47.600 MyExtension[2253:205757] INFO: fetch-response is unable to open the file /private/var/mobile/Containers/Data/PluginKitPlugin/DA4D2743-D409-40F2-82A1-C90B2625008E/Library/Caches/myBuildIdentiferAndAppExtensionName/fsCachedData/AB4F85FA-4A54-4C9F-B747-F4C1E8341FE1. Errno: 2
2015-12-06 22:57:52.225 MyExtension[2253:205760] INFO: fetch-response is unable to open the file /private/var/mobile/Containers/Data/PluginKitPlugin/DA4D2743-D409-40F2-82A1-C90B2625008E/Library/Caches/myBuildIdentiferAndAppExtensionName/fsCachedData/ED8F725F-F2D8-4F21-A552-B1ADAFF9D067. Errno: 2
2015-12-06 22:57:52.576 MyExtension[2253:205760] INFO: fetch-response is unable to open the file /private/var/mobile/Containers/Data/PluginKitPlugin/DA4D2743-D409-40F2-82A1-C90B2625008E/Library/Caches/myBuildIdentiferAndAppExtensionName/fsCachedData/52C9C454-B39B-4E70-8320-3D4FF80FB531. Errno: 2
2015-12-06 22:57:52.733 MyExtension[2253:205811] INFO: fetch-response is unable to open the file /private/var/mobile/Containers/Data/PluginKitPlugin/DA4D2743-D409-40F2-82A1-C90B2625008E/Library/Caches/myBuildIdentiferAndAppExtensionName/fsCachedData/C8E5B449-044A-4403-8D8F-AD656727F0DB. Errno: 2
2015-12-06 22:57:52.803 MyExtension[2253:205811] INFO: fetch-response is unable to open the file /private/var/mobile/Containers/Data/PluginKitPlugin/DA4D2743-D409-40F2-82A1-C90B2625008E/Library/Caches/myBuildIdentiferAndAppExtensionName/fsCachedData/10C106BC-272E-4041-AC29-14887EA544C4. Errno: 2
环境真实设备iPhone5S iOS8.2
Xcode 7.1.1
不要使用椰子荚
MacBookPro操作系统Capitan 在1周之前,我认为这些错误并没有显示出来,HTTP请求是正常的。 但是,最近这些错误出现了。所以,我做了这些