- Home /
Mac Game Rejected for Accessibility Access for keystrokes from any application
Hi, my recent submission of mac game has been rejected. I've tried submitted different games with unity 2018.3.12f1 all of them rejected due to following message.
Guideline 2.4.5(v) - Performance
"We noticed the game is requesting for Accessibility Access for keystrokes from any application, which is not appropriate.
Next Steps
Please update the binary to remove such requests.
Please see attached screenshot for details. "
Please check attached screenshot for more details. Can anyone help me to remove this keystroke Accessibility Access permission from my Mac game developed by unity?
Answer by nasir_41 · Oct 22, 2019 at 10:26 AM
Hi, my last game submission was accepted after I replaced signature for all .dylib files present in Frameworks folder. Here is my SignGame.sh shell script. I'm not sure if this will solve this issue by for me it worked.
#!/bin/bash
AppName="Hill Town"
DeveloperName="Nasir Ali"
apppath="./$AppName.app"
echo "Getting Read Permissions App...$apppath"
chmod -R a+xr "$apppath"
echo "Starting Signing..."
codesign -f --deep -s "3rd Party Mac Developer Application: $DeveloperName" --entitlements "./entitleFile.entitlements" "$apppath/Contents/Frameworks/libcrypto.dylib"
codesign -f --deep -s "3rd Party Mac Developer Application: $DeveloperName" --entitlements "./entitleFile.entitlements" "$apppath/Contents/Frameworks/libssl.dylib"
codesign -f --deep -s "3rd Party Mac Developer Application: $DeveloperName" --entitlements "./entitleFile.entitlements" "$apppath/Contents/Frameworks/UnityPlayer.dylib"
codesign -f --deep -s "3rd Party Mac Developer Application: $DeveloperName" --entitlements "./entitleFile.entitlements" "$apppath/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib"
codesign -f --deep -s "3rd Party Mac Developer Application: $DeveloperName" --entitlements "./entitleFile.entitlements" "$apppath/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib"
codesign -f --deep -s "3rd Party Mac Developer Application: $DeveloperName" --entitlements "./entitleFile.entitlements" "$apppath/"
echo "Done Signing..."
echo "Packaging game..."
productbuild --component "$apppath" "/Applications" --sign "3rd Party Mac Developer Installer: $DeveloperName" "$AppName.pkg"
$$anonymous$$ake sure to change AppName and DeveloperName to yours and make sure entitlement file and dmg file present in the same folder as SignGame.sh
Hi there, I am also having the same problem with Unity 5.6.1. I have signed the libraries too. In my case, I have only 2 (libmono.0.dylib and lib$$anonymous$$onoPosixHelper.dylib). But the build still got rejected, not sure why. I would really appreciate if you could help.
@Shubham_Zed Unfortunately, if you are using Unity 5, this message will always appear. I only get rid of this message when I update my game to Unity 2017.4.40
Your answer
Follow this Question
Related Questions
Do Mac apps created with Unity use ARC? 1 Answer
Mac adress detection 1 Answer
Unity 3.5b6 building for OSX 10.5 0 Answers