title: Ios crash "could not execute support code to read Objective-C" on ios 12.4.2 not on 12.0.1
body: <p>This method returns a qr code image of a string. It works correctly on Ios 12.0.1 (iphone SE) but it crash on 12.4.2 (iphone 6). The method crash when i try to assign the resultant <code>UIImage</code> to an <code>UIImageView</code>, the resultant <code>UIImage</code> is not nil.</p>
  
  <pre><code>-(UIImage*)get_QR_image :(NSString*)qrString :(UIColor*)ForeGroundCol :(UIColor*)BackGroundCol{
  
      NSData *stringData = [qrString dataUsingEncoding: NSUTF8StringEncoding];
  
      CIFilter *qrFilter = [CIFilter filterWithName:@"CIQRCodeGenerator"];
      [qrFilter setValue:stringData forKey:@"inputMessage"];
      [qrFilter setValue:@"H" forKey:@"inputCorrectionLevel"];
  
  
      CIImage *qrImage = qrFilter.outputImage;
      float scaleX = 320;
      float scaleY = 320;
  
  
      CIColor *iForegroundColor = [CIColor colorWithCGColor:[ForeGroundCol CGColor]];
      CIColor *iBackgroundColor = [CIColor colorWithCGColor:[BackGroundCol CGColor]];
  
      CIFilter * filterColor = [CIFilter filterWithName:@"CIFalseColor" keysAndValues:@"inputImage", qrImage, @"inputColor0", iForegroundColor, @"inputColor1", iBackgroundColor, nil];
  
      CIImage *filtered_image = [filterColor valueForKey:@"outputImage"];
  
      filtered_image = [filtered_image imageByApplyingTransform:CGAffineTransformMakeScale(scaleX, scaleY)];
  
      UIImage *result_image = [UIImage imageWithCIImage:filtered_image
                                                   scale:[UIScreen mainScreen].scale
                                             orientation:UIImageOrientationUp];
  
  
      return result_image;
  }
  </code></pre>
  
  <p>the line involved in crash is:</p>
  
  <pre><code>filtered_image = [filtered_image imageByApplyingTransform:CGAffineTransformMakeScale(scaleX, scaleY)];
  </code></pre>
  
  <p>it generates this log:</p>
  
  <pre><code>warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.
  </code></pre>
  
  <p>There's something in my method that works only on 12.0.1 ? Or maybe something wrong ? How i can investigate more to solve that crash ?</p>
  
  <p>EDIT</p>
  
  <p><a href="https://i.stack.imgur.com/wOFqv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wOFqv.png" alt="enter image description here"></a></p>
  
  <p>in red i have:</p>
  
  <pre><code>MyQrCodeImageViewBig.image=qrimage;
  </code></pre>
  
  <p>with messagge:</p>
  
  <pre><code>Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1a83e146c)
  </code></pre>