title: capacitor-community/NativeAudio not loading assets?
body: <p>Trying to load audio files (mp3s) on an iOS app created with Capacitor.</p>
  <p>I'm using the <a href="https://github.com/capacitor-community/native-audio" rel="nofollow noreferrer">Native Audio</a> community plugin as per their usage directions:</p>
  <pre class="lang-js prettyprint-override"><code>NativeAudio.preloadSimple({
    assetPath: &quot;assets/casual-loop1.mp3&quot;,
    assetId: &quot;casual-loop1&quot;,
  });
  </code></pre>
  <p>The <code>assets</code> directory lives in my project's <code>App/public</code> directory. And it does indeed contain the <code>casual-loop1.mp3</code> file. (Copied over via <code>npx cap copy</code>).</p>
  <p>But when I compile my app in Xcode, I see the following in the console:</p>
  <pre><code>ERROR MESSAGE:  {&quot;errorMessage&quot;:&quot;&quot;,&quot;message&quot;:&quot;Asset Path is missing&quot;}
  </code></pre>
  <p>A bit of digging showed me that this is <a href="https://github.com/capacitor-community/native-audio/blob/57b9a8e4f4f3f3449f8e5ad0df9f2b29fb760405/ios/Plugin/Plugin.swift#L233" rel="nofollow noreferrer">the line</a> throwing the error. I'm not familiar enough with Swift to make heads or tails of it though.</p>
  <p>Anyone know what's up?</p>