【问题标题】:The resource exceeds the maximum size on iOS 13资源超过 iOS 13 上的最大大小
【发布时间】:2020-06-26 11:11:29
【问题描述】:

使用我的应用程序,当我启动到 iOS 11 (iPhone 6) 时一切正常。

但在 iOS 13 (iPhone SE) 上,我收到以下错误消息:

英文:

资源超过最大大小

这里是我的 Podfile 的内容

pod 'Alamofire'
pod 'SwiftyJSON'
pod 'Stripe'
pod 'GoogleSignIn', '~> 5.0'
pod 'AWSS3'
pod 'Firebase/Core'
pod 'MQTTClient'
pod 'GooglePlaces', '= 3.0.3'
pod 'GoogleMaps', '= 3.0.3'
pod 'libPhoneNumber-iOS'
pod 'CocoaLumberjack/Swift'
pod 'RxAlamofire/RxCocoa'
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
pod 'FBSDKPlacesKit'
pod 'OneSkyOTAPlugin'

【问题讨论】:

  • 你会在启动时下载一些东西吗?你的 iPhone 有多少内存空间?
  • 116 gb 这是新手机,使用 TestFlight 我测试我的应用程序,在 Iphone 6 (IOS 11) 上一切正常

标签: ios swift alamofire rx-swift


【解决方案1】:

如果这个错误发生在网络请求之后,说明你使用GET方法而不是POST

【讨论】:

  • 是的好信息,但为什么它在 ios 11 和 iphone 6 上很好,而不是在 IOS 13.5 (Iphone SE) 上
  • 现在我将 JSONEncoding.default 更改为 URLEncoding.default 并且它有效,但我不知道为什么?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2023-03-12
  • 2021-11-03
  • 2020-11-15
  • 2018-02-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多