title: Unit testing app extensions iOS8 via framework
body: <p><a href="https://stackoverflow.com/questions/24627600/how-to-unit-test-an-app-extension-on-xcode-6">So referring to this answer here</a> it is recommended by apple to put all your code in a framework so you can test it.</p>
  
  <p>So my questions are does this have to be an embedded framework or can you create a separate project and put all the extension code in there?</p>
  
  <p>My concern is because upon creating an extension it comes with an info.plist file and an entitlements file and i am unsure where i should be putting those in relation to the framework and such.</p>
  
  <p>Also once you have made the separate or embedded framework project, how do you set the host for your test? mine is mostly interested in the host app being photos, but saying that i need the actual storyboard to load that derives from <code>SLComposeServiceViewController</code>. So would you create an app delegate target that you can set as the host, and then have that load the <code>MainInterface.storyboard</code> of your extension to start the testing?</p>
  
  <h2>Update</h2>
  
  <p>So I have recently discovered the difference between application testing and logic testing. So to update my question slightly, is there a way to application test your extension UI? my assumption would be to have an app host target and load the first view to be your extension storyboard view.</p>