Building with --target=aarch64-apple-ios fails with (among many other things): ``` 0:03.53 In file included from Unified_cpp_dom_media_platforms1.cpp:11: 0:03.53 /tmp/gecko/dom/media/platforms/apple/AppleDecoderModule.cpp:217:7: error: 'VTRegisterSupplementalVideoDecoderIfAvailable' is unavailable: not available on iOS 0:03.53 VTRegisterSupplementalVideoDecoderIfAvailable(kCMVideoCodecType_VP9); 0:03.53 ^ 0:03.53 /tmp/gecko/iPhoneOS16.4.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTUtilities.h:60:16: note: 'VTRegisterSupplementalVideoDecoderIfAvailable' has been explicitly marked unavailable here 0:03.53 VT_EXPORT void VTRegisterSupplementalVideoDecoderIfAvailable( CMVideoCodecType codecType ) API_AVAILABLE(macosx(11.0)) API_UNAVAILABLE(ios, watchos, tvos); 0:03.53 ^ ```
Bug 1834934 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Building with --target=aarch64-apple-ios fails with (among many other things): ``` 0:03.53 In file included from Unified_cpp_dom_media_platforms1.cpp:11: 0:03.53 /tmp/gecko/dom/media/platforms/apple/AppleDecoderModule.cpp:217:7: error: 'VTRegisterSupplementalVideoDecoderIfAvailable' is unavailable: not available on iOS 0:03.53 VTRegisterSupplementalVideoDecoderIfAvailable(kCMVideoCodecType_VP9); 0:03.53 ^ 0:03.53 /tmp/gecko/iPhoneOS16.4.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTUtilities.h:60:16: note: 'VTRegisterSupplementalVideoDecoderIfAvailable' has been explicitly marked unavailable here 0:03.53 VT_EXPORT void VTRegisterSupplementalVideoDecoderIfAvailable( CMVideoCodecType codecType ) API_AVAILABLE(macosx(11.0)) API_UNAVAILABLE(ios, watchos, tvos); 0:03.53 ^ 0:03.58 In file included from Unified_cpp_dom_media_platforms1.cpp:29: 0:03.58 /tmp/gecko/dom/media/platforms/apple/AppleVTDecoder.cpp:10:10: fatal error: 'IOSurface/IOSurface.h' file not found 0:03.58 #include <IOSurface/IOSurface.h> 0:03.58 ^~~~~~~~~~~~~~~~~~~~~~~ 0:03.58 /tmp/gecko/dom/media/platforms/apple/AppleVTDecoder.cpp:10:10: note: did not find header 'IOSurface.h' in framework 'IOSurface' (loaded from '/tmp/gecko/iPhoneOS16.4.sdk/System/Library/Frameworks') ```