<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic My bet is that the file in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050330#M49686</link>
    <description>&lt;P&gt;My bet is that the file plugin is the problem. There is a problem with the build system where it pulls in an old version of the file plugin (because the media plugin requires it), but that old version does not work with the media plugin. You need to explicitly include the file plugin to get a version that will work. The default version the XDK will request, when you select it on the Projects tab, should work.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2015 16:53:28 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2015-06-23T16:53:28Z</dc:date>
    <item>
      <title>iOS build fails using Media plugin</title>
      <link>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050327#M49683</link>
      <description>&lt;P style="font-size: 12px;"&gt;Good morning,&lt;/P&gt;

&lt;P style="font-size: 12px;"&gt;i tried on&amp;nbsp;XDK 1621 + cordova 3.5 and XDK 1995 + cordova 4.1.3 tu build an app that plays an MP3 sound.&lt;/P&gt;

&lt;P style="font-size: 12px;"&gt;On Android everything is OK, b&lt;SPAN style="line-height: 1.5;"&gt;ut on iOS the build fails :( what am i doing wrong?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 12px;"&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 13:25:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050327#M49683</guid>
      <dc:creator>Giorgio_B_1</dc:creator>
      <dc:date>2015-06-23T13:25:50Z</dc:date>
    </item>
    <item>
      <title>Does the build succeed when</title>
      <link>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050328#M49684</link>
      <description>&lt;P&gt;Does the build succeed when you remove the plugin? What does the build log say?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:13:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050328#M49684</guid>
      <dc:creator>John_H_Intel2</dc:creator>
      <dc:date>2015-06-23T14:13:20Z</dc:date>
    </item>
    <item>
      <title>Yes, the build succeeds if i</title>
      <link>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050329#M49685</link>
      <description>&lt;P&gt;Yes, the build succeeds if i remove the plugin.&lt;/P&gt;

&lt;P&gt;Here is the log.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:35:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050329#M49685</guid>
      <dc:creator>Giorgio_B_1</dc:creator>
      <dc:date>2015-06-23T14:35:25Z</dc:date>
    </item>
    <item>
      <title>My bet is that the file</title>
      <link>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050330#M49686</link>
      <description>&lt;P&gt;My bet is that the file plugin is the problem. There is a problem with the build system where it pulls in an old version of the file plugin (because the media plugin requires it), but that old version does not work with the media plugin. You need to explicitly include the file plugin to get a version that will work. The default version the XDK will request, when you select it on the Projects tab, should work.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 16:53:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050330#M49686</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-06-23T16:53:28Z</dc:date>
    </item>
    <item>
      <title>Well, i'm not actually using</title>
      <link>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050331#M49687</link>
      <description>&lt;P&gt;Well, i'm not actually using the file plugin: i just need Android/iOS support, so i wrote this code:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;new Media(
                ( device.platform.toLowerCase() === "android" ? '/android_asset/www/' : '' ) + "sounds/5min.mp3",
                null,
                null,
                function(status){
                    if (status === Media.MEDIA_STOPPED) {
                        myapp.fire.sound.play();
                    }
                }
            );&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 16:59:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050331#M49687</guid>
      <dc:creator>Giorgio_B_1</dc:creator>
      <dc:date>2015-06-23T16:59:20Z</dc:date>
    </item>
    <item>
      <title>But the Media plugin will</title>
      <link>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050332#M49688</link>
      <description>&lt;P&gt;But the Media plugin will include it, regardless. It uses it internally and it gets automatically included in the build, but that automatic inclusion is failing, so please try including it explicitly in your project settings to see if it resolves the issue...&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 17:15:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050332#M49688</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-06-23T17:15:52Z</dc:date>
    </item>
    <item>
      <title>I included the File plugin</title>
      <link>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050333#M49689</link>
      <description>&lt;P&gt;I included the File plugin and the build was successful.&lt;/P&gt;

&lt;P&gt;I tried to remove again the File plugin and the build was successful again! o_O&lt;/P&gt;

&lt;P&gt;Maybe the first time i included the plugin something happened that fixed the problem.&lt;/P&gt;

&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 15:00:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/iOS-build-fails-using-Media-plugin/m-p/1050333#M49689</guid>
      <dc:creator>Giorgio_B_1</dc:creator>
      <dc:date>2015-06-24T15:00:23Z</dc:date>
    </item>
  </channel>
</rss>

