[Bug] Record Screen Issue
I have enabled Screen recording permission, despite which it prompts me again and does not work.
I am on M1 Air BS 11.5.1
Same issue. Also on an M1 chip.
I also have the same issue, but the app works without this problem when I build the project (1.6.0, same version number as the problematic one) from src with Xcode on my own. Note that I will need to remove the original .app from /Application first (or any other version on your machine), or the macOS' privacy database might confuse it with our own build as they both share the same app bundle id.
While my working version is the Apple Silicon binary, my Rosetta binary has this problem too. The released binary is a universal binary. I am new to these, so I can't figure out more now. I hope this at least helps.
P.S. This command helps me reset the privacy database: tccutil reset All com.acheronfail.pixel-picker. I'm not sure why I use this command. It seems to help me where Apple's GUI doesn't.
The privacy thing is annoying, I usually just remove it from the System Preferences section, and then manually add the new one.
I don't have access to a new silicon Mac, but I'll update Xcode to the latest and try a new build and upload it here - let's see if that fixes it.
I've created https://github.com/acheronfail/pixel-picker/releases/tag/1.6.1 - let me know if that fixes the issue.
@acheronfail nope, its still behaving the same way. tried uninstalling the previous version(with all the config files and extra files), removed it from screen recording. Installed, and gave permission for screen record. No luck. running M1 Air BS 11.6.
Confirmed on my M1 BS 11.5.1. It is still having the issue. I think we're not the only ones who have this kind of issue here:
- https://discussions.apple.com/thread/252120273
- https://community.simple-help.com/t/macos-big-sur-repeatedly-asks-for-screen-recording-permissions/637
Sorry that I currently have no idea about something more relevant to the fix.
removing Pixel Picker from quarantine does not help either sudo xattr -r -d com.apple.quarantine /Applications/Pixel\ Picker.app/. I tested on v1.6.1
Same issue here. Mac M1 Mini Monterey. Keeps asking for screen recording permission, even though it already has it. Only can pick the desktop background, no applications.
Workaround from Alice Barker shared on Nov 29 works for me. The comment has been deleted so I'll repost
1.4.0 is working for me on an M1.
My steps to fix were:
- drag app to applications
- go to security and privacy and manually add pixel picker to screen recording
- open the app and approve in security panel
The only thing so far that seems broken is the key shortcut recorder
I rebooted my computer and pixel picker is still working so far
I already miss the WCAG checker which is not in v 1.4.0 :P
Workaround from Alice Barker shared on Nov 29 works for me. The comment has been deleted so I'll repost
1.4.0 is working for me on an M1. My steps to fix were: - drag app to applications - go to security and privacy and manually add pixel picker to screen recording - open the app and approve in security panel The only thing so far that seems broken is the key shortcut recorderI rebooted my computer and pixel picker is still working so far
I already miss the WCAG checker which is not in v 1.4.0 :P
Sadly does not work here with Monterey 12.1 on my M1Max :(
Workaround from Alice Barker shared on Nov 29 works for me. The comment has been deleted so I'll repost
1.4.0 is working for me on an M1. My steps to fix were: - drag app to applications - go to security and privacy and manually add pixel picker to screen recording - open the app and approve in security panel The only thing so far that seems broken is the key shortcut recorderI rebooted my computer and pixel picker is still working so far
I already miss the WCAG checker which is not in v 1.4.0 :P
Doesn't work for me on my Monterey M1 Mini unfortunately. Really missing using Pixel Picker!
Is there any progress?
Man I'm so missing using this app. Any updates on this bug?
Unfortunately the only macbook I have access to is a very old one stuck on Catalina, so I'm afraid I don't have the ability to test this, etc.
More than happy to review PRs from anyone who has a newer Apple machine and can discover the fix though! :slightly_smiling_face:
I wonder if it's as simple as just building it with a newer version of Xcode, etc, since we have reports of it working from user's building it from source?
Does any one mind sharing the compiled version which works on your apple m1 machine?
I tried building it, but upon archiving the following error occurs:
pixel-picker/Pixel Picker/ShowAndHideCursor.h:12:1: Declaration of 'CGDirectDisplayID' must be imported from module 'CoreGraphics.CGDirectDisplay' before it is required
Since I’m not familiar with creating Mac apps, I don’t know what to do.
Does any one mind sharing the compiled version which works on your apple m1 machine?
I've got one: ~~Pixel Picker.1_6_0_(20).zip~~> [sorry see below]. This is the one built on last October 5 with my reply above. It is M1-only build. If you can't get this one to work, try quit the app, remove any other versions from your machine, and then run tccutil reset All com.acheronfail.pixel-picker before relaunch the app again.
Unfortunately, I can’t get your version working. macOS says that this app is broken and needs to be sent to trash.
Sorry, I might just give you the debug build unnoticed. How about this updated and archived version?: ~~Pixel Picker (1.6.1) 2022-04-13 13-06-04.zip~~> Oh I can't get this one to work myself. Sorry. I'll be back…
I am unaware that running "archive" will produce the universal binary as is. Now I change build setting "Build Active Architecture Only" for Release build to Yes. Here: Pixel Picker (1.6.1) 2022-04-13 13-27-21.zip
I tried building it, but upon archiving the following error occurs:
pixel-picker/Pixel Picker/ShowAndHideCursor.h:12:1: Declaration of 'CGDirectDisplayID' must be imported from module 'CoreGraphics.CGDirectDisplay' before it is required
Just put #import <CoreGraphics/CoreGraphics.h> in ShowAndHideCursor.h in its import lines (probably right before #import <Foundation/Foundation.h>.)
Even your newer version doesn’t work for me, I get the same error as above that the app is broken.
Thank you for the fix with my error to import CoreGraphics. Unfortunately, even with my own exported app the problem still persists and I can just pick pixels of my background image.
Even your newer version doesn’t work for me, I get the same error as above that the app is broken.
Thank you for the fix with my error to import
CoreGraphics. Unfortunately, even with my own exported app the problem still persists and I can just pick pixels of my background image.
I can't figure out more now, and supporting your own build for non-apple dev seems off-topic to me. Anyway, if you're interested in archiving this front, I am at your twitter feed. We may further discuss there.
It works like a charm for me! Thanks @sleepyfurious !
@MatzeKitt Here is what I tried
- I first uninstalled the older version. ( If you could use clean my mac or similar would be great)
- Downloaded and unarchived and placed it in application folder
- I tried opening it, it dint work for me. So I ran this command from above
tccutil reset All com.acheronfail.pixel-picker - I opened, It said the app is broken you should delete it etc etc. Then I ran
xattr -cr /Applications/Pixel\ Picker.app - And It works!
PS: im on Mac Air M1
Then I ran
xattr -cr /Applications/Pixel\ Picker.app
That was the hint I needed! It now works for me, too! 🎉
Wow, Apple is full of surprises! Well, I'm glad that we've at least found some way for the M1 guys. Thank you @im-AMS 🙂.
I wonder if it's as simple as just building it with a newer version of Xcode, etc, since we have reports of it working from user's building it from source?
No, @acheronfail, it's not. I'm sad to tell that the ill behavior persists in the universal binary builds. I double checked it.
I am unaware that running "archive" will produce the universal binary as is. Now I change build setting "Build Active Architecture Only" for Release build to Yes. Here: Pixel Picker (1.6.1) 2022-04-13 13-27-21.zip
Thank you for this build, works on my M1 Max like a charm!
Does anyone have a universal binary? @acheronfail?
I came upon to issue upon further investigation I was able to get a build that that works on M1 and Intel. In project settings I go into the Targets, select the target and in Signing and Capabilities I set the team and Signing Certificate to Development.
I'm not able to get this to run on the latest 1.6.1 release, also with command line stuff or manually adding in settings. It actually even picks for me, but it does not record any windows.