• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by nasir_41 · Oct 11 at 05:26 PM · macosxapplerejected

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. "alt text

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?

attachment-2179695786759878467image10-11-19at950am.jpg (48.4 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by nasir_41 · Oct 22 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"
 
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image nasir_41 · Oct 22 at 10:28 AM 0
Share

Make sure to change AppName and DeveloperName to yours and make sure entitlement file and dmg file present in the same folder as SignGame.sh

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

113 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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

Crash on Mac, when switching application 1 Answer

Adding Mac OSX top menu bar functions in Unity 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges