Look into Console and check what kind of sandbox violations are logged; then add the appropriate entitlements.
If it is "because it is not entitled to send an AppleEvent to this process." add this to the entitlement file:
<key>com.apple.security.temporary-exception.apple-events</key> <array> <key>com.apple.iTunes</key> </array>