-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot find protocol declaration for AVCapturePhotoOutputReadinessCoordinatorDelegate #572
Labels
bug
Something isn't working
Comments
ronaldoussoren
added a commit
that referenced
this issue
Nov 27, 2023
That's due to a copy&paste error in the AVFoundation bindings. Wil be fixed in the next release. Thanks for your report! |
ronaldoussoren
added a commit
that referenced
this issue
Nov 27, 2023
cpatulea
added a commit
to cpatulea/gtk-osx-build
that referenced
this issue
Feb 7, 2024
Fixes build failure: 2024-02-07T00:13:44.1632550Z In file included from Modules/_AVFoundation.m:12: 2024-02-07T00:13:44.1634070Z Modules/_AVFoundation_protocols.m:80:28: error: cannot find protocol declaration for 'AVCapturePhotoOutputReadinessCoordinatorDelegate' 2024-02-07T00:13:44.1635400Z p = PyObjC_IdToPython(@protocol(AVCapturePhotoOutputReadinessCoordinatorDelegate)); 2024-02-07T00:13:44.1636240Z ^ 2024-02-07T00:13:44.1667560Z 1 error generated. 2024-02-07T00:13:44.1769500Z error: command '/Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' failed with exit code 1 2024-02-07T00:13:44.2675810Z *** Error during phase build of python3-pyobjc-framework-avfoundation: ########## Error running python3 setup.py build --build-base /Users/runner/.cache/jhbuild/build/pyobjc-framework-AVFoundation-10.0 *** [101/137] CI log: https://github.com/cpatulea/gtk-osx-build/actions/runs/7806902536/job/21294198714 Issue: ronaldoussoren/pyobjc#572 Cc: Xpra-org/xpra#4017
cpatulea
added a commit
to cpatulea/gtk-osx-build
that referenced
this issue
Feb 8, 2024
Fixes build failure: 2024-02-07T00:13:44.1632550Z In file included from Modules/_AVFoundation.m:12: 2024-02-07T00:13:44.1634070Z Modules/_AVFoundation_protocols.m:80:28: error: cannot find protocol declaration for 'AVCapturePhotoOutputReadinessCoordinatorDelegate' 2024-02-07T00:13:44.1635400Z p = PyObjC_IdToPython(@protocol(AVCapturePhotoOutputReadinessCoordinatorDelegate)); 2024-02-07T00:13:44.1636240Z ^ 2024-02-07T00:13:44.1667560Z 1 error generated. 2024-02-07T00:13:44.1769500Z error: command '/Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' failed with exit code 1 2024-02-07T00:13:44.2675810Z *** Error during phase build of python3-pyobjc-framework-avfoundation: ########## Error running python3 setup.py build --build-base /Users/runner/.cache/jhbuild/build/pyobjc-framework-AVFoundation-10.0 *** [101/137] CI log: https://github.com/cpatulea/gtk-osx-build/actions/runs/7806902536/job/21294198714 Issue: ronaldoussoren/pyobjc#572 Cc: Xpra-org/xpra#4017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pyobjc-AVFoundation
10.0:AVCapturePhotoOutputReadinessCoordinatorDelegate is documented as being available in MacOS 14+ and I am building on MacOS 12 with SDK compatibility also set to 12. (
-mmacosx-version-min=12
)XCode 14.2
As a workaround, I edited the
Modules/_AVFoundation.m
version check to skip this function.The text was updated successfully, but these errors were encountered: