title: WatchOS app not detecting companion iOS app
body: <p>I am making an independent Apple Watch app (but with a companion iPhone app which is not necessary for the watch app to function.)</p>
  
  <p>The app uses <strong>WatchConnectivity</strong> to sync data between devices if iPhone companion app is installed. I am able to call <strong>session.updateApplicationContext()</strong> on the iOS app and receive <strong>session(didReceiveApplicationContext)</strong> on the Watch app. But going the other way is not possible. I always get an NSError code of 7018 which means the iOS companion app is not installed.</p>
  
  <p>I have made sure both watchOS and iOS app are installed in simulator (and tested on my actual devices, iPhone 11 &amp; Watch series 5.) But getting the same failed results from watchOS -> iOS.</p>
  
  <p>I noticed there is a new <strong>WCSession</strong> instance variable available for watchOS 6.0+ <strong>isCompanionAppInstalled</strong>. When I read this variable after my WCSession is activated on my watch app, it always return false.</p>
  
  <p>Is there anything else I need to look out for? I am thinking maybe there is something I did wrong in all the different info.plist. But I have checked them multiple times.</p>
  
  <hr>
  
  <p>my info.plist files:</p>
  
  <p>In my watch app:</p>
  
  <pre><code> WKWatchKitApp is YES
   WKCompanionAppBundleIdentifier is com.abc.myapp
  </code></pre>
  
  <p>In my watch extension:</p>
  
  <pre><code>  App can run independently of companion iPhone app is YES
    NSExtension
      WKAppBundleIdentifier is com.abc.myapp.watchkitapp
      NSExtensionPointIdentifier is com.apple.watchkit
  </code></pre>
  
  <ul>
  <li>iOS app bundle identifier is com.abc.myapp </li>
  <li>watchOS app is com.abc.myapp.watchkitapp</li>
  <li>watchOS app extension is com.abc.myapp.watchkitapp.watchkitextension</li>
  </ul>
  
  <hr>
  
  <p>Is there anything else I might be overlooking?</p>
  
  <p>Thank you very much for any help/insight you can offer into this.</p>