AppCode not launching app under Catalina

Hi,

I recently did a ground-up rebuild of a dev machine, from formatted -> Catalina direct.

Now I can no longer launch apps from AppCode (ctrl-r).  I have tried 2019.3 and also recent 2020.1 EAP.

  1. I can build + launch from xcode.
  2. I can build from AppCode.
  3. I can run the build app (by AppCode) directly from Finder/Terminal.
  4. Interestingly: it *does* work if you DEBUG the app, from AppCode

The app question accesses the mic/camera. It has the necessary keys in Info.plist to do this.  

In console, I see:

error	12:35:03.343569+1300	tccd	Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events but it is missing for RESP:{ID: com.jetbrains.AppCode, PID[14092], auid: 501, euid: 501, responsible path: '/Volumes/860EVO/Jetbrains/apps/AppCode/ch-0/193.6015.49/AppCode.app/Contents/MacOS/appcode', binary path: '/Volumes/860EVO/Jetbrains/apps/AppCode/ch-0/193.6015.49/AppCode.app/Contents/MacOS/appcode'}, ACC:{ID: com.shinywhitebox.iShowU-Instant, PID[22123], auid: 501, euid: 501, binary path: '/Users/neil/Library/Caches/AppCode2019.3/DerivedData/iShowU-Instant-deaneyyqjccpotbnkpqkakmpajzo/Build/Products/Debug/iShowU Instant.app/Contents/MacOS/iShowU Instant'}, REQ:{ID: com.apple.appleeventsd, PID[399], auid: 55, euid: 55, binary path: '/System/Library/CoreServices/appleeventsd'}
error 12:35:03.888540+1300 tccd Prompting policy for hardened runtime; service: kTCCServiceMicrophone requires entitlement com.apple.security.device.audio-input but it is missing for RESP:{ID: com.jetbrains.AppCode, PID[14092], auid: 501, euid: 501, responsible path: '/Volumes/860EVO/Jetbrains/apps/AppCode/ch-0/193.6015.49/AppCode.app/Contents/MacOS/appcode', binary path: '/Volumes/860EVO/Jetbrains/apps/AppCode/ch-0/193.6015.49/AppCode.app/Contents/MacOS/appcode'}, REQ:{ID: com.shinywhitebox.iShowU-Instant, PID[22123], auid: 501, euid: 501, binary path: '/Users/neil/Library/Caches/AppCode2019.3/DerivedData/iShowU-Instant-deaneyyqjccpotbnkpqkakmpajzo/Build/Products/Debug/iShowU Instant.app/Contents/MacOS/iShowU Instant'}
error 12:35:03.904998+1300 tccd Prompting policy for hardened runtime; service: kTCCServiceMicrophone requires entitlement com.apple.security.device.audio-input but it is missing for RESP:{ID: com.jetbrains.AppCode, PID[14092], auid: 501, euid: 501, responsible path: '/Volumes/860EVO/Jetbrains/apps/AppCode/ch-0/193.6015.49/AppCode.app/Contents/MacOS/appcode', binary path: '/Volumes/860EVO/Jetbrains/apps/AppCode/ch-0/193.6015.49/AppCode.app/Contents/MacOS/appcode'}, REQ:{ID: com.shinywhitebox.iShowU-Instant, PID[22123], auid: 501, euid: 501, binary path: '/Users/neil/Library/Caches/AppCode2019.3/DerivedData/iShowU-Instant-deaneyyqjccpotbnkpqkakmpajzo/Build/Products/Debug/iShowU Instant.app/Contents/MacOS/iShowU Instant'}
default 12:35:03.926569+1300 tccd Policy disallows prompt for RESP:{ID: com.jetbrains.AppCode, PID[14092], auid: 501, euid: 501, responsible path: '/Volumes/860EVO/Jetbrains/apps/AppCode/ch-0/193.6015.49/AppCode.app/Contents/MacOS/appcode', binary path: '/Volumes/860EVO/Jetbrains/apps/AppCode/ch-0/193.6015.49/AppCode.app/Contents/MacOS/appcode'}, REQ:{ID: com.shinywhitebox.iShowU-Instant, PID[22123], auid: 501, euid: 501, binary path: '/Users/neil/Library/Caches/AppCode2019.3/DerivedData/iShowU-Instant-deaneyyqjccpotbnkpqkakmpajzo/Build/Products/Debug/iShowU Instant.app/Contents/MacOS/iShowU Instant'}; access to kTCCServiceMicrophone denied
error 12:35:03.927052+1300 iShowU Instant This app has crashed because it has a hardened runtime and attempted to access privacy-sensitive data without an entitlement indicating its intent to access this data. The app must have the 'com.apple.security.device.audio-input' entitlement.

Looks like some entitlements are missing from AppCode?

Doesn't explain why the same machine (with Catalaina, upgraded from Mojave) worked tho.

Any ideas?

0
Avatar
Permanently deleted user
正式评论

Hi Neil,

I've created ticket for your case OC-19673, you can upvote it or subscribe for updates in our tracker.

请先登录再写评论。