Correct entitlements, and Info.plist for publishing.