<?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 Thanks for your replies. in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069517#M57615</link>
    <description>&lt;P&gt;Thanks for your replies.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;It is very interesting. I had&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;"Content-Security-Policy" meta data in all my html files but i did not write "data:* gap://* tel:*". My application works as i expected when i build from old Intel XDK Cloud Based Build but it does not work when i build from Cordova CLI and Phone Gap.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Anyway&lt;/P&gt;

&lt;P&gt;I fo&lt;SPAN style="font-size: 1em;"&gt;und my solution. In html files, "Content-Security-Policy" meta data is very important. (&lt;/SPAN&gt;&lt;STRONG style="font-size: 1em;"&gt;data:* gap://* tel:*&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;To build an iOS application from outside of Intel XDK by using Cordova CLI, follow below steps&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Do not forget to add the "Content-Security-Policy" meta data to every html files. You can use this one:&amp;nbsp;&lt;STRONG&gt;&amp;lt;meta http-equiv="Content-Security-Policy" content="default-src * data:* gap://* tel:*; style-src 'self' &lt;A href="http://*" target="_blank"&gt;http://*&lt;/A&gt; 'unsafe-inline'; script-src 'self' &lt;A href="http://*" target="_blank"&gt;http://*&lt;/A&gt; &lt;A href="https://*" target="_blank"&gt;https://*&lt;/A&gt; 'unsafe-inline' 'unsafe-eval'" /&amp;gt;&lt;/STRONG&gt;&lt;/LI&gt;
	&lt;LI&gt;Download your application package from &lt;STRONG&gt;Intel XDK Build Tab "Create Package"&lt;/STRONG&gt;.&lt;/LI&gt;
	&lt;LI&gt;Open &lt;STRONG&gt;terminal&lt;/STRONG&gt;&lt;/LI&gt;
	&lt;LI&gt;In terminal, go to the application file which is downloaded from Intel XDK&amp;nbsp;&lt;/LI&gt;
	&lt;LI&gt;run this command: &lt;STRONG&gt;sudo cordova platform add ios --save&lt;/STRONG&gt;&lt;/LI&gt;
	&lt;LI&gt;exit the terminal&lt;/LI&gt;
	&lt;LI&gt;give &lt;STRONG&gt;permissions&lt;/STRONG&gt;&amp;nbsp;(write and read) to the application file and files inside it&lt;/LI&gt;
	&lt;LI&gt;enter the application file, go to&lt;STRONG&gt; ../platforms/ios/&lt;/STRONG&gt;&lt;/LI&gt;
	&lt;LI&gt;open .&lt;STRONG&gt;xcodeproj &lt;/STRONG&gt;file from Xcode&lt;/LI&gt;
	&lt;LI&gt;Add &lt;STRONG&gt;certificate and provision profile&lt;/STRONG&gt; files to the application from Xcode&lt;/LI&gt;
	&lt;LI&gt;Archieve &lt;STRONG&gt;.ipa&lt;/STRONG&gt; file from Xcode&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Fri, 31 Mar 2017 10:17:00 GMT</pubDate>
    <dc:creator>Namık_Zafer_E_</dc:creator>
    <dc:date>2017-03-31T10:17:00Z</dc:date>
    <item>
      <title>Cordova External Build Problem iOS After Creating Package</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069513#M57611</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I am MAC user. My Intel XDK version is 3900. I created Cordova mobile application. I opened the "Build" section. I created a package of my application.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I entered the package by terminal and run below commands one by one. (Cordova CLI)&lt;/P&gt;

&lt;P&gt;cordova platform add ios&lt;/P&gt;

&lt;P&gt;cordova prepare&lt;/P&gt;

&lt;P&gt;cordova build ios&lt;/P&gt;

&lt;P&gt;After all, i gave the package access both write and read to my user. I opened the platform file from the package. I run the .xcodeproj file and opened it into Xcode. When i run the application from Xcode, The application seems to work but "all my applicaiton functionalities" did not work. I also tried to export ipa from Xcode then they did not work too. They worked when i simulated from Intel XDK and also your old build system which export ipa file.&lt;/P&gt;

&lt;P&gt;I also tried Phone Gap Build. I got Adobe ID and uploaded my application to Phone Gap. I encountered the same problem. The application only works with Intel XDK build which will be deprecated.&lt;/P&gt;

&lt;P&gt;Could you give me old build commands which you use when building an application? or Which steps do i miss when building my application?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 10:37:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069513#M57611</guid>
      <dc:creator>Namık_Zafer_E_</dc:creator>
      <dc:date>2017-03-29T10:37:16Z</dc:date>
    </item>
    <item>
      <title>The build commands we are</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069514#M57612</link>
      <description>&lt;P&gt;The build commands we are using are inside the exported config.xml file that was generated by the package export. We use Cordova CLI to build in our cloud-based build system. I believe our build system is using Xcode 7, you may be using Xcode 8, which may create some differences, but I don't believe those differences will be significant.&lt;/P&gt;

&lt;P&gt;When you execute the "cordova build ios" command it will generate an IPA, you should not be opening Xcode or using Xcode directly to generate that IPA file. Can you build the sample "hello-cordova" app and generate an IPA with that project using CLI or PhoneGap Build? I recommend you use that sample as a test case, to be sure you have the process down.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:46:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069514#M57612</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-03-29T19:46:30Z</dc:date>
    </item>
    <item>
      <title>Thanks for response but i</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069515#M57613</link>
      <description>&lt;P&gt;Thanks for response but i explain what i ask.&lt;/P&gt;

&lt;P&gt;While Intel XDK Cloud Building, I wanted your commands like "cordova build ios" not a config.xml. I will also examine your log file after old IntelXDK build.&lt;/P&gt;

&lt;P&gt;About ipa, after "cordova build ios" command, it does not create ipa because of certificate and provision profile file. I add these files from Xcode easily then i archive the application as ipa from the Xcode&lt;/P&gt;

&lt;P&gt;Of course, i tried "hello-cordova" application. It is so simple and basic. My application contains a lot of details and more complex functionalities inside of&amp;nbsp; "hello-cordova".&lt;/P&gt;

&lt;P&gt;Xcode 7 and Xcode 8 may create important differences like IntelXDK platform versions or Swift 2 versus Swift 3. Maybe some functionalities deprecated. I will explore it&lt;/P&gt;

&lt;P&gt;When i build with CLI and PhoneGap, all processes are finished successfully. I opened the application and it worked but all functionalities did not work. Only my application works as i want and expect with your old IntelXDK Cloud Build so I do not understand which you do out of basic CLI terminal commands.&lt;/P&gt;

&lt;P&gt;1) Could you share all terminal commands&amp;nbsp;sequentially?&lt;/P&gt;

&lt;P&gt;2) Do you use the file which is exported from IntelXDK "create package" field in your old cloud base build?&lt;/P&gt;

&lt;P&gt;3) Does it make any difference to create the application before IntelXDK 3900 version to use "create package" build properties?&lt;/P&gt;

&lt;P&gt;4) Do you make automatically change any basic configuration or code wrongness before build in old Cloud Base IntelXDK build?&lt;/P&gt;

&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 06:41:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069515#M57613</guid>
      <dc:creator>Namık_Zafer_E_</dc:creator>
      <dc:date>2017-03-30T06:41:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Namık Zafer E. wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069516#M57614</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Namık Zafer E. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;About ipa, after "cordova build ios" command, it does not create ipa because of certificate and provision profile file. I add these files from Xcode easily then i archive the application as ipa from the Xcode&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;This describes the simplest approach for managing your iOS certs and creating a signed IPA with Cordova CLI &amp;gt; &lt;A href="http://stackoverflow.com/a/35197647/2914328" target="_blank"&gt;http://stackoverflow.com/a/35197647/2914328&lt;/A&gt; &amp;lt; which references this Cordova CLI doc &amp;gt; &lt;A href="http://cordova.apache.org/docs/en/6.x/guide/platforms/ios/index.html#using-buildjson" target="_blank"&gt;http://cordova.apache.org/docs/en/6.x/guide/platforms/ios/index.html#using-buildjson&lt;/A&gt; &amp;lt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Namık Zafer E. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;When i build with CLI and PhoneGap, all processes are finished successfully. I opened the application and it worked but all functionalities did not work. Only my application works as i want and expect with your old IntelXDK Cloud Build so I do not understand which you do out of basic CLI terminal commands.&lt;/P&gt;

&lt;P&gt;1) Could you share all terminal commands&amp;nbsp;sequentially?&lt;/P&gt;

&lt;P&gt;2) Do you use the file which is exported from IntelXDK "create package" field in your old cloud base build?&lt;/P&gt;

&lt;P&gt;3) Does it make any difference to create the application before IntelXDK 3900 version to use "create package" build properties?&lt;/P&gt;

&lt;P&gt;4) Do you make automatically change any basic configuration or code wrongness before build in old Cloud Base IntelXDK build?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;1) There are a collection of scripts that essentially do the following:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;create a new empty blank Cordova project&lt;/LI&gt;
	&lt;LI&gt;copy the contents of the www folder provided by the XDK to the new project's www folder&lt;/LI&gt;
	&lt;LI&gt;add the desired Cordova platform (in your case, iOS) to the new project&lt;/LI&gt;
	&lt;LI&gt;add the plugins that were provided by the XDK to the new project&lt;/LI&gt;
	&lt;LI&gt;move the icons and splash screen images that were provided by the XDK into the new project&lt;/LI&gt;
	&lt;LI&gt;perform a cordova build&lt;/LI&gt;
	&lt;LI&gt;sign the packages that were created&lt;/LI&gt;
	&lt;LI&gt;deliver for download&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I recommend you use the build.json approach along with the --device and --release options, as described in the SO post I provided above.&lt;/P&gt;

&lt;P&gt;2) The cloud system builds a config.xml file that is similar to what the export tool provides, but it is not identical, because our cloud-based build system does not need to be compatible with PhoneGap Build and, more importantly, it sees all plugins as local private plugins, because the contents of your project's plugins folder is sent to the cloud in a separate package (just a ZIP of the plugins folder in your project folder). Likewise, the icons and splash screens are sent in a separate package (as a ZIP of the package-assets folder). And, your sources are sent in a separate package, which is a ZIP of the www folder in your project. The XDK does not modify any of those three packages before sending them.&lt;/P&gt;

&lt;P&gt;3) I don't completely understand this question. I think you are asking if there is any difference between building with 3900 or an older version of the XDK (for example, 3759). There is no difference, there is only one cloud-based build system. The same builder is used regardless of which version of the XDK you are using.&lt;/P&gt;

&lt;P&gt;4) Again, I don't completely understand your question. I think you are asking if we automatically correct bad configuration options or code syntax problems in the cloud. The cloud-based system does not modify any config files or code before it attempts a build. It will report errors that result from bad config files. The XDK attempts to identify bad config options before you can perform a build, but it is not able to find all config problems. Bad code is hard to detect, it may show up in the detailed build log which is a copy of the standard Cordova CLI build log. In general, the best way to find potential code problems is to use one of the many code linting tools out there (several can be installed in the Brackets editor that is in the XDK).&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 18:20:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069516#M57614</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-03-30T18:20:53Z</dc:date>
    </item>
    <item>
      <title>Thanks for your replies.</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069517#M57615</link>
      <description>&lt;P&gt;Thanks for your replies.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;It is very interesting. I had&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;"Content-Security-Policy" meta data in all my html files but i did not write "data:* gap://* tel:*". My application works as i expected when i build from old Intel XDK Cloud Based Build but it does not work when i build from Cordova CLI and Phone Gap.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Anyway&lt;/P&gt;

&lt;P&gt;I fo&lt;SPAN style="font-size: 1em;"&gt;und my solution. In html files, "Content-Security-Policy" meta data is very important. (&lt;/SPAN&gt;&lt;STRONG style="font-size: 1em;"&gt;data:* gap://* tel:*&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;To build an iOS application from outside of Intel XDK by using Cordova CLI, follow below steps&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Do not forget to add the "Content-Security-Policy" meta data to every html files. You can use this one:&amp;nbsp;&lt;STRONG&gt;&amp;lt;meta http-equiv="Content-Security-Policy" content="default-src * data:* gap://* tel:*; style-src 'self' &lt;A href="http://*" target="_blank"&gt;http://*&lt;/A&gt; 'unsafe-inline'; script-src 'self' &lt;A href="http://*" target="_blank"&gt;http://*&lt;/A&gt; &lt;A href="https://*" target="_blank"&gt;https://*&lt;/A&gt; 'unsafe-inline' 'unsafe-eval'" /&amp;gt;&lt;/STRONG&gt;&lt;/LI&gt;
	&lt;LI&gt;Download your application package from &lt;STRONG&gt;Intel XDK Build Tab "Create Package"&lt;/STRONG&gt;.&lt;/LI&gt;
	&lt;LI&gt;Open &lt;STRONG&gt;terminal&lt;/STRONG&gt;&lt;/LI&gt;
	&lt;LI&gt;In terminal, go to the application file which is downloaded from Intel XDK&amp;nbsp;&lt;/LI&gt;
	&lt;LI&gt;run this command: &lt;STRONG&gt;sudo cordova platform add ios --save&lt;/STRONG&gt;&lt;/LI&gt;
	&lt;LI&gt;exit the terminal&lt;/LI&gt;
	&lt;LI&gt;give &lt;STRONG&gt;permissions&lt;/STRONG&gt;&amp;nbsp;(write and read) to the application file and files inside it&lt;/LI&gt;
	&lt;LI&gt;enter the application file, go to&lt;STRONG&gt; ../platforms/ios/&lt;/STRONG&gt;&lt;/LI&gt;
	&lt;LI&gt;open .&lt;STRONG&gt;xcodeproj &lt;/STRONG&gt;file from Xcode&lt;/LI&gt;
	&lt;LI&gt;Add &lt;STRONG&gt;certificate and provision profile&lt;/STRONG&gt; files to the application from Xcode&lt;/LI&gt;
	&lt;LI&gt;Archieve &lt;STRONG&gt;.ipa&lt;/STRONG&gt; file from Xcode&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 31 Mar 2017 10:17:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069517#M57615</guid>
      <dc:creator>Namık_Zafer_E_</dc:creator>
      <dc:date>2017-03-31T10:17:00Z</dc:date>
    </item>
    <item>
      <title>Namik -- thank you for that</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069518#M57616</link>
      <description>&lt;P&gt;Namik -- thank you for that very clear set of instructions and useful hints! I will be incorporating your feedback into the export documentation.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 15:54:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-External-Build-Problem-iOS-After-Creating-Package/m-p/1069518#M57616</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-03-31T15:54:19Z</dc:date>
    </item>
  </channel>
</rss>

