Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  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]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement