Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Issue with APP ID on Windows build x Windows Store

Hamilton_Tenório_da_
Valued Contributor I
5,292 Views

I am trying to publish an APP to Windows Store. The name of APP is ConfirmAkiPRO.

When I use only this name on building settings, the Windows Store does not accept my package. The error is:

Validation error:   All packages for this app must use the package identity name: 9HTSInformtica.ConfirmAkiPRO

If I change the ID name to this, the build starts OK:

Build Log:
  • Building a Cordova 4.1.2 application.
  • The application name is ConfirmAki PRO
  • The package name is 9HTSInformtica.ConfirmAkiPRO
...
but does not finish. In the log appears this line:

...\ConfirmAkiPRO\platforms\windows\build\windows80\Release\AnyCPU\AppxManifest.xml(24,18): error APPX1404: File content does not conform to specified schema. The 'Id' attribute is invalid - The value '9HTSInformtica.ConfirmAkiPRO' is invalid according to its datatype 

 

I´m lost.... It is my first APP in Windows Store. Maybe I´m doing somehing wrong.

0 Kudos
1 Solution
Eric_H_Intel
Employee
5,262 Views

Cordova 4.1.2 for Windows updates two fields in the appxmanifest file with the package name.   Unfortunately the fields have different specifications.   The one that is causing the error in your build does not allow the period "." character.

I have put a short term fix in place.   Try your build again and it should get past that problem.

Eric

View solution in original post

0 Kudos
32 Replies
Bhavya_A_
Beginner
1,750 Views

Hi,

i am also having the same problem

here is the build log:

The 'Id' attribute is invalid - The value '5BA24DDE.Cordova008' is invalid according to its datatype 'http://schemas.microsoft.com/appx/2010/manifest:ST_ApplicationId' - The Pattern constraint failed. [...\test\platforms\windows\CordovaApp.Phone.jsproj]
ERROR: Error code 1 for command: ...\MSBuild\12.0\bin\msbuild with args: ...\test\platforms\windows\CordovaApp.Phone.jsproj,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=release,/p:Platform=anycpu,/p:BuildFromCordovaTooling=true
Command finished with error code 2: ...\test\platforms\windows\cordova\build.bat --release,--verbose,--phone
Error: ...\test\platforms\windows\cordova\build.bat: Command failed with exit code 2
    at ChildProcess.whenDone (D:\Developer\cordova\4.1.2\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)

 

 

For more details please see the attached build log

Please help me out with this error.

Thanks

 

 

 

 

0 Kudos
Bhavya_A_
Beginner
1,750 Views

Hi,

 

I am also having the same issue.


The 'Id' attribute is invalid

The 'Id' attribute is invalid - The value '5BA24DDE.Cordova008' is invalid according to its datatype 'http://schemas.microsoft.com/appx/2010/manifest:ST_ApplicationId' - The Pattern constraint failed.

Please do see the attached build log with this comment.

Thanks

0 Kudos
Bhavya_A_
Beginner
1,750 Views

Hi ,

Please help to resolve the issue .

 

Thanks

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
1,750 Views

In that time, Intel applied a workaround in the system build and I could build normally. For a long time I don´t build for Windows. I don´t know how is it today.

0 Kudos
PaulF_IntelCorp
Employee
1,750 Views

Bhavya -- please see this updated note to see if this is being caused by an incorrect publisher ID.

0 Kudos
Bhavya_A_
Beginner
1,750 Views

Hi Paul,

 

I have changed my Publisher id from windows publisher id to window phone publisher id but yet not able to build my app.

Please help to resolve this issue as soon as possible.

Thanks 

Bhavya

0 Kudos
PaulF_IntelCorp
Employee
1,750 Views

This is being worked on. Please try using CLI 4.1.2 as a workaround.

0 Kudos
Bhavya_A_
Beginner
1,750 Views

Paul  

I have used both CLI :4.1.2 and CLI : 5.1.1 getting the same error.

Bhavya

0 Kudos
Pamela_H_Intel
Moderator
1,750 Views

Bhavya,

It looks like you are discussing this issue in two threads. Please post in a single thread. 

I have checked on the status of the invalid app id build issue. The engineer in charge is working on it. I will post in this thread when we have a fix in the build system.

Pamela

0 Kudos
Fernando_O_
Beginner
1,750 Views

Please,

Help me! I got same error to publish Intel XDK App to Windows.

The problem consist at package name. A composted name is waited in this field, like (xxxxxxxx.xxxxxxxxx).

When I try to put correct package name at Intel XDK Build settings I got fail built saying that I cant use "." in this filed.

Could you help me?

Thank you,

Fernando Oliveira

0 Kudos
Pamela_H_Intel
Moderator
1,750 Views

Fernando,

This question is not related to this thread. Please post in a new thread. When you do, please copy the exact error message. I'm not sure what name you changed in XDK - the Publisher ID has dashes, not dots. The App ID has dots. It looks like Windows expects a string for the package name. I think you are referring to the App Name in XDK?

Again, please clarify in a new thread.

Pamela

0 Kudos
Pamela_H_Intel
Moderator
1,750 Views

This question is being answered in thread: https://software.intel.com/en-us/forums/intel-xdk/topic/611641

0 Kudos
Reply