title: Linking against a dylib which is not safe for use in application extensions
body: <p>I have a share extension in my app and when I'm building I'm getting the following error:</p>
  
  <blockquote>
    <p>linking against a dylib which is not safe for use in application extensions: PATH_TO_MY_NON_EXTENSION_SAFE_FRAMEWORK_TARGET`</p>
  </blockquote>
  
  <p>The reported framework (which is another target in the same project) is really not an extension-safe framework.</p>
  
  <p>The problem is that I've never linked my share extension against that framework. I've only linked it against another extension-safe-API framework, and my pods framework, which are, recursively speaking, explicitly marked as extension-safe. Nothing in the dependency/link tree ever touches my <code>NON_EXTENSION_SAFE_FRAMEWORK_TARGET</code>, though I'm getting a warning.</p>
  
  <p>What might be causing this?</p>
  
  <p>I am on Xcode 9.2.</p>