title: Should "Messages App" be specified as a device requirement in the info.plist if my app relies on MFMessageComposeViewController?
body: <p>If <code>MFMessageComposeViewController</code> calls the Messages App (as stated in the <a href="https://developer.apple.com/documentation/messageui/mfmessagecomposeviewcontroller" rel="nofollow noreferrer">documentation</a>, then I would expect <code>Messages App</code> would need to be specified under the <code>Required device capabilities</code> key in the info.plist file?</p>
  <p>On iPhone, specifying <code>Messages App</code> as a required capability isn't an issue. However on iPad, specifying <code>Messages App</code> as a required capability causes conflict resulting in the following error:</p>
  <pre><code>Unable to install “MessageTest”
  Domain: com.apple.platform.iphoneos
  Code: -1
  Recovery Suggestion: “MessageTest” requires the “sms” capability which is not supported by Jon's iPad
  </code></pre>
  <p>... even though this should be fine on an iPad as it can send iMessages via the Messages App. <strong>NOTE:</strong> <code>SMS</code> used to be a separate value under the <code>Required device capabilities</code> key, but is no longer there.</p>
  <p>I have removed <code>Messages App</code> from the <code>Required device capabilities</code> key in the info.plist and the app installs on iPad, the <code>MFMessageComposeViewController.canSendText()</code> method returns true, and an iMessage can be sent.  However, messaging is a critical capability of the app, so I don't want folks installing it and being disappointed (if for some reason messaging is not available on their device).</p>
  <p>The following stack overflow posts don't answer the question.</p>
  <p><a href="https://stackoverflow.com/questions/24818223/mfmessagecomposeviewcontroller-doesnt-send-out-the-message">MFMessageComposeViewController doesn&#39;t send out the message</a></p>
  <p><a href="https://stackoverflow.com/questions/9286907/should-i-require-sms-capabilities-in-the-info-plist">Should I require sms capabilities in the info-plist?</a></p>
  <p>The app is rather useless without messaging capability (if any user installs it and can't send a message then they <strong>will</strong> complain) but I don't see why I should exclude iPad users.</p>
  <p>Should the <code>Required device capabilities</code> key in the info.plist specify <code>Messages App</code> or not?</p>