title: Why am I getting a AXServer error when sharing data via Snapchat SDK?
body: <p>I am using the <a href="https://github.com/Snapchat/creative-kit-sample/tree/master/ios" rel="nofollow noreferrer">example xcode project</a> for sharing media between my app and Snapchat directly. I have successfully authenticated my app by this point (it loads bitmoji + user info and I can print the access token). The code that causes the error is invoked after the UIPicker has selected an image:</p>
  
  <p>from line 38 of <a href="https://github.com/Snapchat/creative-kit-sample/blob/master/ios/CreativeKitSample/Classes/UI/ViewControllers/MediaPickerViewController.swift" rel="nofollow noreferrer">MediaPickerViewController.swift</a> </p>
  
  <pre><code>fileprivate func shareImage(image: UIImage) {
      let snapPhoto = SCSDKSnapPhoto(image: image)
      let snapContent = SCSDKPhotoSnapContent(snapPhoto: snapPhoto)
  
      // Send it over to Snapchat. This produced the error below
      snapAPI.startSending(snapContent)
  }
  </code></pre>
  
  <p>Then when you pick an image from the gallery: </p>
  
  <pre><code>2020-03-23 17:49:54.487603-0700 CreativeKitSample[20966:5903027] 
  [AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:
  Permission denied portName:'com.apple.iphone.axserver' PID:20969
  </code></pre>
  
  <p>This is running on my iPhone, debugging over USB. I'm new to Swift development, and my best guess is that my app is developer certificate signed, perhaps it is sandboxed on iOS 13 from communication with prod apps? Or is the <code>AXServer</code> more of a Core UI thing or Accessibility? This project uses Interface Builder/Storyboards. I tried disabling <code>accessibility</code> checkbox on UI elements. I'm at a loss here, searching for AXServer permission errors has not been useful. </p>
  
  <p>some AX errors:</p>
  
  <ul>
  <li><a href="https://github.com/TimOliver/TOCropViewController/issues/402" rel="nofollow noreferrer">https://github.com/TimOliver/TOCropViewController/issues/402</a></li>
  <li><a href="https://forums.developer.apple.com/thread/120696" rel="nofollow noreferrer">https://forums.developer.apple.com/thread/120696</a> (clue that it may be inter-app permission)</li>
  <li><a href="https://bugs.webkit.org/show_bug.cgi?id=203618" rel="nofollow noreferrer">https://bugs.webkit.org/show_bug.cgi?id=203618</a> (sandbox extension?)</li>
  </ul>