Skip to content
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

use CoreServices.h instead of MobileCoreServices.h to suppress kUTTypeMovie build error #282

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

haxibami
Copy link
Contributor

@haxibami haxibami commented Nov 3, 2024

Change

  • Fixed a compilation error with the latest theos headers update.
==> Compiling ThemeColor/BHColorThemeViewController.m (arm64)…
Tweak.x:554:43: error: use of undeclared identifier 'kUTTypeMovie'
==> Compiling Tweak.x (arm64)…
    videoPicker.mediaTypes = @[(NSString*)kUTTypeMovie];
rm /Users/runner/work/BHTwitter/BHTwitter/main/.theos/obj/debug/arm64/Tweak.x.m
                                          ^
Make command failed.

Check

  • X / Twitter IPA: 10.65.2
  • Sideloaded by SideStore

@C4rl0sG
Copy link

C4rl0sG commented Nov 3, 2024

thanks works

@haxibami haxibami changed the title use CoreServices.h instead of MobileCoreServices.h use CoreServices.h instead of MobileCoreServices.h to suppress kUTTypeMovie build error Nov 16, 2024
ndch3 added a commit to ndch3/BHTwitter that referenced this pull request Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants