Software Archive
Read-only legacy content
17060 Discussions

Intel XDK Update 3641, October 19, 2016

PaulF_IntelCorp
Employee
4,316 Views

------------------------------------------------

Summary of the 3641 update:

This Intel XDK release addresses installation issues introduced in the prior release. See the release notes for details.

If you are having trouble downloading the Intel XDK installation package (either due to failed downloads or timeouts), you can download the files directly from these links:

  • [[{"fid":"528134","view_mode":"default","fields":{"format":"default"},"type":"media","link_text":"

    ------------------------------------------------

    Summary of the 3619 release:

    This Intel XDK release addresses several bugs and issues found in prior releases. See the release notes for bug fix details. New features added with this release include:

    • Keyword-based filters for new project templates and samples
    • New Linux* and Apple* OSX* installers
    • New IoT project samples using Microsoft* Azure*

    Feature deprecations with this release:

    • Debug tab has been deprecated and will be removed in a future release.
    • The hosted weinre debug server used by the Test tab has been deprecated and will be removed in a future release.
    • The Live Development Pane in the Develop tab has been deprecated and will be removed in a future release.
    • The Framework7 and Ionic UI frameworks have been deprecated from App Designer and will be removed in a future release.
    Please read the Intel XDK release notes for detailed information about this release, and past releases. Our automatic updater will notify existing Intel XDK users when the update is available within the Intel XDK. Updates will be released to all users within 24 hours. If you would like the update sooner, you can download it directly from xdk.intel.com and install it manually.

    IMPORTANT: With this release, the Debug tab, the hosted weinre server associated with the Test tab, and the Live Development pane located on the Develop tab have been deprecated and will be retired in the near future. When these features are retired you will no longer be able to use them with any version of the Intel XDK. Your project will continue to be recognized as an Intel XDK HTML5 mobile app project and it will continue to build (using the Build tab) and work within the Simulate tab. Follow the links embedded in each of the deprecated features listed above for more details and pointers to free open-source alternatives to these deprecated features.

    Why is the Debug tab being deprecated and removed from the Intel XDK?

    In addition to our previously announced deprecation of support for App Framework, within the App Designer UI editor, we are also deprecating support for the use of the Framework7 and Ionic UI frameworks. You can still use these frameworks outside of the App Designer UI editor, as you have always been able to do with any UI framework. Existing projects that are using deprecated UI frameworks will continue to be recognized by App Designer and can be edited within the App Designer UI editor; however, there will be no bug fixes for deprecated frameworks and, once those frameworks are retired, the App Designer UI editor will no longer recognize those projects.

    Important note about Intel XDK versions 2893 and older!

    Versions of the Intel XDK released prior to March 2016 (2893 and older) can no longer use the Build tab, the Test tab or App Preview and can no longer be used to create custom debug modules for use with the Debug and Profile tabs. This change was necessary to improve the security and performance of our Intel XDK cloud-based build system. If you are currently running version 2893 or older, of the Intel XDK, you must upgrade to the latest version of the Intel XDK!!

    screenshot_xdk.jpg

    ------------------------------------------------

    Summary of the 3522 release:

    This Intel XDK release is a hot-fix that addresses several bugs and issues found in the 3491 release:

    • Crosswalk version 19 is now the default version for newly created projects. This update will warn you of any existing projects using Crosswalk version 18 (or lower). Google does not require that you use Crosswalk 19 (or higher), so this is just a warning, not an error.

    • Several issues that generated a 'build tab generates ERROR (-7) from "client:upload-manager": Error in zipping package asset files:' error message have been addressed. This primarily impacted Construct2 users who were importing new projects or opening existing projects.

    • The new Simulate tab did not present the window.screen object correctly. See this forum post for additional details.

    • Attempting to run some Cordova apps that did not include any plugins would cause the app to crash or generate a 404 error in the Simulate tab. See this forum post for some examples.

    • Replacing an icon or splash screen with a new file but using the same name for that file would cause an incorrect prompt regarding an invalid resolution. See this forum post for more details.

    • Intel XDK crashes that resulted in "Error: ENOENT" and "Uncaught TypeError: undefined is not a function" errors when using the Simulate tab.

    • Use of the <head data-noxhrfix> tag causes the Simulate tab to fail or hang. See this forum post for additional details.

    • The 750x1334 splash screens (portrait and landscape) have been restored to the iOS Icons and Splash Screens UI.This forum post provides additional details.

    • A custom require() function was placed into the global namespace by the Simulate tab preventing use of require() within a user app. See this forum thread for additional details.

    ------------------------------------------------

    Summary of the 3491 release:

    This very important release merges the Intel XDK IoT Edition and the Intel XDK Early Access into a single release of the Intel XDK. We are moving in the direction of supporting Internet of Things (IoT) app development. Since mobile devices are part of that equation, we continue our support of the development of hybrid Cordova mobile HTML5 apps. For more details regarding this new direction, please read Joe's blog. a

    We have made some significant improvements for both IoT and mobile Cordova app development with this release:

    • Replacing the Emulate tab with a new Simulate tab.
    • Added a new Cordova CLI 6.2.0 build option (CLI 5.1.1 has been deprecated).
    • Moved iOS mobile provisioning files, icons and splash screens to a new "package-assets" folder.
    • Stability improvements and many bug fixes.

    In future releases we will be adding more functionality for IoT app development. We will also be fine-tuning our Cordova mobile app support to align with the needs of IoT app development. As a result, we are deprecating some mobile app development features that are not heavily used or are inconsistent with IoT app development needs.

    Feature deprecations and removals with this release:

    • Profile tab has been removed. Please use the profiling features available in the Chrome Debug Tool (on the Debug tab).
    • Cordova CLI 5.1.1 has been deprecated and will be removed in our next release, likely in September 2016.
    • Legacy Windows 8.x build platforms have been deprecated. They are only available using CLI 5.1.1 and 5.4.1. Only Windows 10 UAP builds are supported with CLI 6.2.0. These older Windows 8.x platform builds will be removed in September 2016.
    • Game Asset Manager, samples and templates have been deprecated and will be removed in a future release.
    • Legacy Whitelist (Android only) was previously deprecated and is no longer available for new projects.

    ------------------------------------------------

    Summary of fixes in the 3400 release:

    This Intel XDK release is a hot-fix that addresses several bugs and issues:

    • Crashes at startup due to a variety of timeout problems.
    • Long startup times due to slow or spotty network connections.

    ------------------------------------------------

    Summary of fixes in the 3357 release:

    • The built-in Brackets editor now includes a new "tab view" making it easier to switch between all of your active source files.
    • The standard Brackets Extension Manager toolbar is now exposed at the right-hand side of the edit window, where you will find it in a stand-alone install of the Brackets editor.
    • The Brackets Git Extension is now more easily accessed, via the standard Brackets Extension Manager toolbar (see above).
    • To minimize crashes due to the Emulate tab, the CDT debug window will automatically close when switching away from the Emulate tab, if you have enabled the "auto-refresh" feature of the Emulate tab (this is the default condition).

    ------------------------------------------------

    Summary of fixes in 3240 hotfix release:

    • When selecting Apache Cordova* CLI 5.4.1 you were not limited to the minimum target of iOS 8 which resulted in developers attempting to build for unsupported platforms and then building what appear to be non-working apps.
    • If the index.html project file was not contained in the "www" directory of the project, The Emulator would display a '404: Intel XDK can't find your app' error.
    • In some cases, if the Publisher Display Name was not populated for a Windows* build, the plugin add and subsequent build for Windows would fail. Validation for requiring the Publisher Display Name has been added.
    • Corrected an issue where sometimes the plugin manager would not allow a third-party/local plugin to be added to the project.

    ------------------------------------------------

    Summary of new features in 3088/3042:

    • We no longer support CLI 4.1.2 builds. Projects that use CLI 4.1.2 MUST be updated.
    • Added Cordova CLI 5.4.1 to the Intel XDK build system. See this FAQ for details.
    • A new Certificate Management feature allows you to create or import Android certificate keystore files and iOS P12 distribution certificate files.
    • The Build tab allows you to build your app for multiple targets with a single mouse click.
    • Android and Android-Crosswalk options have been combined into a single target platform in the Build Settings section of the Projects tab.
    • Crosswalk support in the Intel XDK is now based on the Crosswalk Webview plugin (AKA "Cordova 4" in Crosswalk docs).
    • A new Publish tab has been added to assist you with creating and publishing application assets and information to a variety of Android stores.
    • The Windows and Windows Phone build options have been expanded and significantly updated to include Windows 10 Universal Apps. Please use the CLI 5.4.1 build option for your Windows and Windows Phone builds.
    • The built-in Brackets editor has been updated to version 1.6 and several new Brackets extensions have been added.
    • Whitelist settings in the Build Settings section of the Projects tab have been updated.
    • App Preview has been updated (to version 2.8.0). Check the respective stores to be sure you have the latest version.
    • Updates to our project file format will require that all projects be "updated" before you can use them with this release.

    This release also addresses the Google App Store warning regarding the use of older versions of Cordova-Android. You must migrate your app to our CLI 5.1.1 or CLI 5.4.1 build system to eliminate this warning and to be able to publish apps in the Google App Store after May 9, 2016. Our CLI 5.1.1 build system has been updated to address this issue (see this FAQ for specific details).

0 Kudos
59 Replies
Frungh_B_
Beginner
1,156 Views

Paul F. (Intel) wrote:

Quote:

Frungh B. wrote:

 

I experienced an issue after upgrading XDK to release 3522. I builded my project changing the build settings from 15 to Cordova 19 as suggested. After installing the .apk in a real device,none of the images of my dynamic lists where shown (no images in dynamic popups neighter, only the icons). In simulation tab everything works beautiful.

There is no such a problem when using cordova versions 15-17. I noticed that by removing this line from my code:

<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline' *; script-src 'self' 'unsafe-inline' *; media-src *">

All the images where displayed nicely again. I don't know where this issue is originated (in Cordova >18 with Intel XDK or my coding). How is this meta tag related to the images? am I missing something? any thoughts?

 

 

The CSP rules can impact your images, although, the rule you've provided is pretty permissive. How are you referencing these images? You say they are part of a dynamic list, which leads me to believe they are being referenced using some JavaScript? CSP does provide some very useful error messages in the JavaScript console, which might help you understand what is happening. Try using the technique described here > https://software.intel.com/en-us/xdk/docs/intel-xdk-debug-and-test-overv... < to see if there are any CSP messages being generated that might help.

This would not be an XDK issue, but rather a CSP or Cordova or Crosswalk issue. Since it varies with the version of Crosswalk, I strongly suspect it has to do with CSP or Crosswalk. What happens if you build for Android (uncheck the optimize for Crosswalk button) and run your app on an Android 5.0 or greater device?

Thank you Paul for your comments. Yes, I am referencing the images by JavaScript. I followed the technique you suggested me to debug my app remotely in Chrome by CDT. Very awesome by the way, Thanks! I found that the error was at the CSP permission. Since I was setting the 'src' of the <img> elements as data:image/jpeg;base64..., the CSP need to allow this. The solution was to add "img-src * data:;". So now my CSP is

<meta http-equiv="Content-Security-Policy" content="img-src * data:; default-src *; style-src 'self' 'unsafe-inline' *; script-src 'self' 'unsafe-inline' *; media-src *">

As you already pointed out, this is very permissive. Now, I would like to add more security rules to make my CSP more robust. Do you have updated documentation to make this the right way, maybe some specific rules need it for new versions of XDK and Cordova? Thank you again!

0 Kudos
Frungh_B_
Beginner
1,156 Views

Paul F. (Intel) wrote:

Frungh -- the documentation for CSP rules is not something we manage, it is a W3C thing, and the behavior can be platform-dependent. Here are some starting points that might help to learn more:

Awesome Paul, very helpful information. Cheers!

Please excuse me if I am taking your precious time but I will also appreciate if you can help in this other topic: https://software.intel.com/en-us/forums/intel-xdk/topic/680309

0 Kudos
Shakeel_S_
Beginner
1,156 Views

Hi,

I had a problem when I start a new project. I can not select a framework. The screen is always loading. 

How to resolve this trouble?

http://prnt.sc/cet5e5

0 Kudos
PaulF_IntelCorp
Employee
1,156 Views

Shakeel -- can you create a non-App Designer project? Can you create a project that does not use App Designer?

0 Kudos
Shakeel_S_
Beginner
1,156 Views

Paul F. (Intel) wrote:

Shakeel -- can you create a non-App Designer project? Can you create a project that does not use App Designer?

Yes, for Non-App Designer I can create a project.

0 Kudos
PaulF_IntelCorp
Employee
1,156 Views

I suspect you may be having trouble with trying to use the same name for a new App Designer project that you used for an older one, and that might be causing a problem because it is trying to open a UI framework that is no longer supported (I'm guessing). Try using a name for the project that you have never used before.

0 Kudos
Michel_D_Intel
Employee
1,156 Views

Since yesterday when I create a build, it says it's created successfully and I even receive an email from html5tools_noreply@intel.com confirming it. However... when I attempt to download the build from Intel XDK it crashes Intel XDK and when I click on the ipa download link in my email it's giving me the following error page. Can you please fix it? Thank you.

<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>
cust.719fb99e-83ac-44d1-aaea-469adf34a988/app.3b76d720-8512-4591-b1ab-dae24c1dd62a/iphone/dungeonsofbetrayal.cordova.ios.201609124521.ipa
</Key>
<RequestId>FA6D1E809418B703</RequestId>
<HostId>
Hxn83W0QLZSAIRmVlR4eDBnAOpb2JQzokwku6dywr5ToSvvuxmvU2nnCFVQ85QukM37T3zeKz/U=
</HostId>
</Error>
 
0 Kudos
PaulF_IntelCorp
Employee
1,156 Views

Michel -- I just tried to reproduce the issue you're seeing and was not able to. When using the download link in the Build tab my builds successfully downloaded. When using the links provided in the build complete email message they also worked, although my first attempt failed (I received no error message, and my IPA did not download; however, the second attempt on the link worked).

I suspect this is due to some issues with Amazon, and not the XDK. We've seen this is in the past, and it has always come down to issues with Amazon services (those build results are stored in a signed location on AWS).

Another option is to use the share button on the build tile and email a link using that share icon. The link you send with that share link is NOT signed, but is still on Amazon, and generally works better when this problem appears.

0 Kudos
Michel_D_Intel
Employee
1,156 Views

The share workaround is working fine. Thank you!

0 Kudos
Honda20
Beginner
1,156 Views

Hi Intel Support, I have installed version 3522, when I run build for android I get this error. I go to the build and selected only Android.

ERROR (-7) from "client:upload-manager": Error in zipping package asset files: : File not found: /Users/Documents/Project/New Version/App/www/1536x2008.png Error at new ComponentError (/Applications/Intel XDK.app/Contents/Resources/app.nw/core-modules/public/component-error.js:17:1122) at makeError (file:///Applications/Intel%20XDK.app/Contents/Resources/app.nw/components/client/upload-manager/upload-manager.js:17:170) at getComponentError (file:///Applications/Intel%20XDK.app/Contents/Resources/app.nw/components/client/upload-manager/upload-manager.js:17:265) at file:///Applications/Intel%20XDK.app/Contents/Resources/app.nw/components/client/upload-manager/upload-manager.js:17:21929 at _rejected (file:///Applications/Intel%20XDK.app/Contents/Resources/app.nw/node_modules/q/q.js:844:24) at file:///Applications/Intel%20XDK.app/Contents/Resources/app.nw/node_modules/q/q.js:870:30 at Promise.when (file:///Applications/Intel%20XDK.app/Contents/Resources/app.nw/node_modules/q/q.js:1122:31) at Promise.promise.promiseDispatch (file:///Applications/Intel%20XDK.app/Contents/Resources/app.nw/node_modules/q/q.js:788:41) at file:///Applications/Intel%20XDK.app/Contents/Resources/app.nw/node_modules/q/q.js:604:44 at runSingle (file:///Applications/Intel%20XDK.app/Contents/Resources/app.nw/node_modules/q/q.js:137:13) 

I have selected Hybrid Cordova CLI 5.4.1 with plugins

  • Device
  • InAppBrowser
  • Splashscreen
  • Device Orientation
  • Network Information
  • Geolocation
  • Notification

I tried to edit the appname .xdk and removed the line 1536x2008.png  it returned the same error message.

Can you please assist.

Thanks

Honda20

 

 

0 Kudos
PaulF_IntelCorp
Employee
1,156 Views
0 Kudos
Honda20
Beginner
1,156 Views
Hi Paul from your comment (Paul F. (Intel) Mon, 08/22/2016 - 12:02 Samuel -- we are about to release a hotfix that will resolve the issue you posted. Should show up early this week.) When would th hot fix get release please
0 Kudos
PaulF_IntelCorp
Employee
1,156 Views

That hotfix was the 3522 release, which you are using. Unfortunately, it did not fix all occurrences of this problem. We are readying some additional changes in our upcoming release that we hope will further address this issue. In the meantime, please try the solution I pointed to, it may help out your situation.

0 Kudos
Honda20
Beginner
1,156 Views
Hi Paul. I read your post fro other thread. Ia this the solution. (Ryan -- I suspect the problem is the file it is looking for is inside the .xdk file (the project file) that is located in the root directory of your project. If you open that file with a CODE EDITOR (do not use Word, etc.) you will probably find a reference to that problem file and you can delete it from within that file. MAKE A COPY OF THE FILE BEFORE YOU EDIT IT!!!! Make sure your edits leave the file in a proper JSON format, otherwise the XDK will have trouble opening your project.) I deleted that line on the .xdk ysing code editor. I refresh and rjn the build and still returning error.
0 Kudos
PaulF_IntelCorp
Employee
1,156 Views
0 Kudos
Nuno_G_1
Beginner
1,156 Views

After trying with both personal and work computer in Windows 10 and without knowing if this is a bug of this version, i've seen that the code hint doesn't seem to work:

apagar.png

 

0 Kudos
PaulF_IntelCorp
Employee
1,156 Views

Nuno -- thank you for pointing that out. I'll log it in our bug database.

0 Kudos
Wagner_B_
Beginner
1,156 Views

I´m trying from many places (work, home, public wi-fi places) to download but all the time it gets "erros of networ" after  30 or 40% of downloads.
Please, help me out.

0 Kudos
John_L_11
Beginner
1,174 Views

Since the recent update, when we add any graphic buttons in App Designer, assign a src image, the buttons constantly clear the image and set it back to  "undefined". Even the "image src" checkbox is cleared and we have to assign the image again. The images are standard PNG files but it doesn't seem to matter what image is assigned.

What we DID notice is that it happens only if we clear the Button label (leave the label blank). If we add a label, the button images remain intact.

Is anyone else having this issue since the update?

Using the Cordova/HTML5 platform, Windows 7.

 

0 Kudos
Shailesh_S_
Beginner
1,174 Views

Hello sir,
we are unable to connect my mobile for  live debugging .
I am using windows 10 and Micromax 
Canvas 5.
Device is connected with pc but not shown in intel XDK.
In previous version of XDK it works fine.
Can you please share some instructions.

 

0 Kudos
Reply