<?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 Quote:JOHN H. (Intel) wrote: in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049843#M49491</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;JOHN H. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Did you include the plugin locally, or directly from the git repo?&lt;BR /&gt;
	It might not like the .java or the .jar files contained in the plugin, but thats just a guess.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi John, thank you for your reply.&lt;/P&gt;

&lt;P&gt;As I mentioned in the original post, the plugin was added locally. I needed to include my unique JPush App Key in the plugin.xml file, so as I understand it, adding it from the git repo is not an option.&lt;/P&gt;

&lt;P&gt;Are we SOL?&lt;/P&gt;

&lt;P&gt;Will other push plugins cause the same problem?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2015 02:34:22 GMT</pubDate>
    <dc:creator>Daniel_B_9</dc:creator>
    <dc:date>2015-06-24T02:34:22Z</dc:date>
    <item>
      <title>"Invalid Bundle Structure" error when loading IPA file into iTunes Connect</title>
      <link>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049841#M49489</link>
      <description>&lt;P&gt;I am developing a cross platform app in China. The issue is that Android's GCM push notifications are blocked here so we could not use any of the big Cordova push plugins. Instead, we opted to use JPush.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/jpush/jpush-phonegap-plugin" target="_blank"&gt;https://github.com/jpush/jpush-phonegap-plugin&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The plugin was downloaded and added locally to the project through XDK. The plugin works great on Android, but when my coworker loaded the .ipa file into iTunes Connect, we got the following error.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="屏幕快照 2015-06-23 下午2.11.34_0.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7631iCBD1D0EA4C761FB5/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="屏幕快照 2015-06-23 下午2.11.34_0.png" alt="屏幕快照 2015-06-23 下午2.11.34_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Basically iTunes connect doesn't seem to like JPush. Is there a solution? How is implementing JPush any different from implementing another Cordova push plugin?&lt;/P&gt;

&lt;P&gt;Thank you for your time.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 07:27:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049841#M49489</guid>
      <dc:creator>Daniel_B_9</dc:creator>
      <dc:date>2015-06-23T07:27:03Z</dc:date>
    </item>
    <item>
      <title>Did you include the plugin</title>
      <link>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049842#M49490</link>
      <description>&lt;P&gt;Did you include the plugin locally, or directly from the git repo?&lt;BR /&gt;
	It might not like the .java or the .jar files contained in the plugin, but thats just a guess.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 16:21:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049842#M49490</guid>
      <dc:creator>John_H_Intel2</dc:creator>
      <dc:date>2015-06-23T16:21:11Z</dc:date>
    </item>
    <item>
      <title>Quote:JOHN H. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049843#M49491</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;JOHN H. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Did you include the plugin locally, or directly from the git repo?&lt;BR /&gt;
	It might not like the .java or the .jar files contained in the plugin, but thats just a guess.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi John, thank you for your reply.&lt;/P&gt;

&lt;P&gt;As I mentioned in the original post, the plugin was added locally. I needed to include my unique JPush App Key in the plugin.xml file, so as I understand it, adding it from the git repo is not an option.&lt;/P&gt;

&lt;P&gt;Are we SOL?&lt;/P&gt;

&lt;P&gt;Will other push plugins cause the same problem?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 02:34:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049843#M49491</guid>
      <dc:creator>Daniel_B_9</dc:creator>
      <dc:date>2015-06-24T02:34:22Z</dc:date>
    </item>
    <item>
      <title>I have not used this push</title>
      <link>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049844#M49492</link>
      <description>&lt;P&gt;I have not used this push plugin previously. One that I have tested before is call PushWoosh. It works great for iOS and android. We are not affiliated or work with them in any way, but their stuff works with our stuff :)&lt;/P&gt;

&lt;P&gt;As far as the one you are using, have you tried removing that android code from the folder before you upload and build for iOS?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 19:09:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049844#M49492</guid>
      <dc:creator>John_H_Intel2</dc:creator>
      <dc:date>2015-06-24T19:09:33Z</dc:date>
    </item>
    <item>
      <title>Quote:JOHN H. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049845#M49493</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;JOHN H. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I have not used this push plugin previously. One that I have tested before is call PushWoosh. It works great for iOS and android. We are not affiliated or work with them in any way, but their stuff works with our stuff :)&lt;/P&gt;

&lt;P&gt;As far as the one you are using, have you tried removing that android code from the folder before you upload and build for iOS?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thank you for the recommendation. Unfortunately PushWoosh does not work in China as it uses GCM to send notifications to Android devices.&lt;/P&gt;

&lt;P&gt;The problem does not seem to lie in the android code, but rather the iOS code. If you read the path of the file in the error, it says&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;.../www/jpush/src/ios/lib/libPushSDK-1.8.2.a&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&amp;nbsp;So it seems that the error is in required iOS file.&lt;/P&gt;

&lt;P&gt;I read about this error on stackoverflow, and one of the things that stuck is that external libraries need to be "linked" instead of "included". This solution was suggested in the context of native iOS apps being developed on XCode, so this does not directly translate to XDK and Cordova.&lt;/P&gt;

&lt;P&gt;Is this a possible solution? Are there different ways a plugin can be included in a Cordova app?&lt;/P&gt;

&lt;P&gt;Thank you for your time&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 07:33:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049845#M49493</guid>
      <dc:creator>Daniel_B_9</dc:creator>
      <dc:date>2015-07-08T07:33:36Z</dc:date>
    </item>
    <item>
      <title>If you're using CLI to build</title>
      <link>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049846#M49494</link>
      <description>&lt;P&gt;If you're using CLI to build your apps you have more latitude with modifying the plugins and changing the build system, since the build system is local to your machine.&lt;/P&gt;

&lt;P&gt;Try working with the EA release (see the Early Access forum at the top of this forum), it changes the way we are handling plugins. Make a copy of any working project and work with that copy, the projects are not compatible with the current release. When you use the EA version the plugins are pulled into your local project and from there you can make customizations to them, but the build system is still remote.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 18:50:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049846#M49494</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-07-09T18:50:22Z</dc:date>
    </item>
    <item>
      <title>Fix for this problem: just</title>
      <link>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049847#M49495</link>
      <description>&lt;P&gt;Fix for this problem: just remove any plugin folders inside cordova's plugin folder.&amp;nbsp;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;[your project]/plugins/ &amp;nbsp; &amp;nbsp; &amp;lt;-- remove all folders inside this one.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 15:37:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/quot-Invalid-Bundle-Structure-quot-error-when-loading-IPA-file/m-p/1049847#M49495</guid>
      <dc:creator>Rafael_F_1</dc:creator>
      <dc:date>2016-01-28T15:37:03Z</dc:date>
    </item>
  </channel>
</rss>

