Xamarin iOS应用程序仅在分发版本中抛出JIT编译错误

时间:2013-09-18 00:53:11

标签: c# xamarin.ios jit aot

出于某种原因,我的iOS应用程序突然在我的上一次部署(使用Xamarin iOS 6.4.5.0 Indie构建)中始终崩溃,并且它只在App Store版本中崩溃。我已经在其他版本的不同环境(Debug,Ad-Hoc)上彻底测试了它们,它们都运行良好,但是一旦它部署到App Store,它在使用SDWebImage库加载图像时总会崩溃:

RESAASMobileiOS[3591] <Warning>: Unhandled managed exception: Attempting to JIT compile method 'SDWebImage.WebCacheUIImageViewExtension:SetImage (MonoTouch.UIKit.UIImageView,MonoTouch.Foundation.NSUrl,MonoTouch.UIKit.UIImage,SDWebImage.SDWebImageOptions,SDWebImage.SDWebImageCompletedHandler)' while running with --aot-only. See http://docs.xamarin.com/ios/about/limitations for more information.
     (System.ExecutionEngineException)
      at RESAAS.Mobile.iOS.ReblastTableViewSource.GetCell (MonoTouch.UIKit.UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath) [0x00000] in <filename unknown>:0 
      at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
      at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00000] in <filename unknown>:0 
      at RESAAS.Mobile.iOS.Application.Main (System.String[] args) [0x00000] in <filename unknown>:0 

我已经尝试调查这意味着什么,但尚未找到合适的解决方案。请注意,SDWebImage :: SetImage方法在过去几个月中一直在运行,但它现在突然失败了。

SDWebImage库版本为3.2,我已将其更新为3.3.1并将我的应用程序重新提交到App Store。但与此同时,如果任何人都可以提供任何关于这个问题可能原因的指示,那将非常感激。非常感谢你!

0 个答案:

没有答案