SHARE
TWEET

Untitled

a guest Sep 13th, 2017 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Apple Mach-O Linker (ld) Error Group
  2.   "__T0So20AVCapturePhotoOutputC12AVFoundation01_abC16SwiftNativeTypesACWP", referenced from:
  3. xxxxxxxxxx
  4.  
  5. "__T012AVFoundation37_AVCapturePhotoOutputSwiftNativeTypesPAAE012availableRawc11PixelFormatG0SaySo8NSNumberCGfg", referenced from:
  6. xxxxxxxxx
  7.  
  8. "  "__T0So22AVCapturePhotoSettingsC12AVFoundation01_abC16SwiftNativeTypesACWP", referenced from:
  9. xxxxxxxxxx
  10.  
  11. ld: symbol(s) not found for architecture arm64
  12. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  13.    
  14. photoSettings = AVCapturePhotoSettings(rawPixelFormatType: OSType(self.photoOutput.availableRawPhotoPixelFormatTypes.first!))
  15. photoSettings.previewPhotoFormat = [kCVPixelBufferPixelFormatTypeKey as String: photoSettings.availablePreviewPhotoPixelFormatTypes.first!.uint32Value,
  16.                                                 kCVPixelBufferWidthKey as String: 3024, kCVPixelBufferHeightKey as String: 3024]
  17.    
  18. let rawFormat = self.photoOutput.availableRawPhotoPixelFormatTypes.first!.uint32Value
  19. photoSettings = AVCapturePhotoSettings(rawPixelFormatType: OSType(rawFormat),
  20.                             processedFormat: [AVVideoCodecKey : AVVideoCodecJPEG,
  21.                                               AVVideoCompressionPropertiesKey : [AVVideoQualityKey : 1.0]] as [String : Any])
  22.             photoSettings.previewPhotoFormat = [kCVPixelBufferPixelFormatTypeKey as String: photoSettings.availablePreviewPhotoPixelFormatTypes.first!.uint32Value,
  23.                                                 kCVPixelBufferWidthKey as String: 3024,
  24.                                                 kCVPixelBufferHeightKey as String: 3024]
RAW Paste Data
Pastebin PRO Summer Special!
Get 60% OFF on Pastebin PRO accounts!
Top