title: ITMS-90171 When Archiving Caused by MLModel Files
body: <p>I'm trying to submit an app to the store that contains a bundle of <code>.mlmodel</code> files.</p>
  
  <p>When I archive the app and upload it to the app store I get a list of errors, one for each <code>.mlmodel</code> file that is in the bundle.</p>
  
  <p>An example of such an error is:</p>
  
  <blockquote>
    <p>"Invalid Bundle Structure - The binary file
    'MyApp.app/Frameworks/MyFramework.framework/AIModels.bundle/bot2emb51.o'
    is not permitted. Your app can’t contain standalone executables or
    libraries, other than a valid CFBundleExecutable of supported bundles.
    Refer to the Bundle Programming Guide at
    <a href="https://developer.apple.com/go/?id=bundle-structure" rel="nofollow noreferrer">https://developer.apple.com/go/?id=bundle-structure</a> for information on
    the iOS app bundle structure."</p>
  </blockquote>
  
  <p>In this particular case I have a file that's marked for inclusion in the <code>AIModels</code> bundle called <code>bot2emb51.mlmodel</code>. I'm not sure why the file is being compiled into an object file, I thought it would be copied as an <code>mlmodel</code> file.</p>
  
  <p>Are there any Xcode settings I need to change, or flags that I can set in the compiled to work around this?</p>