Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5627] Error when Microsoft review the application

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2018-03-29T21:45:07.000+0000
Affected Version/sAppcelerator Studio 4.3.0
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterThomas Lemaitre
AssigneeShak Hossain
Created2018-02-27T10:44:43.000+0000
Updated2018-04-02T00:29:07.000+0000

Description

I use Titanium SDK 6.2.0 on Windows Error Found: The supported APIs test detected the following errors: API ??0JSObject@HAL@@QAE@$$QAV01@@Z in hal.dll is not supported for this application type. TitaniumWindows_Utility.dll calls this API. API ??0JSObject@HAL@@QAE@ABV01@@Z in hal.dll is not supported for this application type. TitaniumWindows_Utility.dll calls this API. API ??0JSString@HAL@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z in hal.dll is not supported for this application type. TitaniumWindows_Utility.dll calls this API. API ??0JSValue@HAL@@QAE@ABV01@@Z in hal.dll is not supported for this application type. TitaniumWindows_Utility.dll calls this API. API ??1JSObject@HAL@@UAE@XZ in hal.dll is not supported for this application type. TitaniumWindows_Utility.dll calls this API. ... Impact if not fixed: Using an API that is not part of the Windows SDK for Microsoft Store apps violates the Microsoft Store certification requirements. How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Microsoft Store apps. Please note, apps that are built in a debug configuration or without .NET Native enabled (where applicable) can fail this test as these environments may pull in unsupported APIs. Retest your app in a release configuration, and with .NET Native enabled if applicable. See the link below for more information: https://msdn.microsoft.com/fr-fr/library/windows/apps/hh464945.aspx

Attachments

FileDateSize
log.xml2018-02-27T14:51:23.000+000022977
output.json2018-02-27T13:42:57.000+000021991
output-appc.txt2018-02-27T11:37:33.000+00001866

Comments

  1. Ewan Harris 2018-02-27

    [~thomas.webgo@gmail.com] Hey there, could you provide some more information, mainly - Visual Studio version - Target for deployment (dist-phonestore, dist-winstore) - Windows SDK version targeted (8.1 or 10) - When does this error occur, is it when you're uploading the app to developer.microsoft.com? Or running the Windows App Cert Kit locally?
  2. Thomas Lemaitre 2018-02-27

    * Visual Studio version => i didn't use Visual studio, i use Appcelerator Studio (5.0.0) and i've create the windows certificate with CLI * Target for deployment (dist-phonestore, dist-winstore) => Target is dist-winstore * Windows SDK version targeted (8.1 or 10) => Windows 10 * When does this error occur, is it when you're uploading the app to developer.microsoft.com? Or running the Windows App Cert Kit locally? => this error occur when i send the app to developer.microsoft.com. I didn't test with App Cert kit localy.
  3. Ewan Harris 2018-02-27

    [~thomas.webgo@gmail.com] The Titanium SDK requires an install of Visual Studio in order to build applications, could you run appc ti info -t windows from command prompt and upload the output here
  4. Thomas Lemaitre 2018-02-27

    I have Visual studio installed of course (i have the 14.0 version). You can find the ouput of the command attached here. [^output-appc.txt]
  5. Ewan Harris 2018-02-27

    [~thomas.webgo@gmail.com] Could you also try running [Windows App Cert Kit](https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/windows-app-certification-kit) locally and see whether it passes or fails there. You might need to install the certificate you're using, see [To install certificates with WindowsCertutil.exe](https://msdn.microsoft.com/en-us/library/windows/desktop/jj835832%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396), I'm trying to reproduce this locally, and using dev.microsoft.com, using 6.2.0.GA and am unable to
  6. Kota Iguchi 2018-02-27

    [~thomas.webgo@gmail.com] Could you run appc ti info -p windows -o json to get more detailed environmental information? I am also interested in how Titanium SDK 7.0.0.GA works for you because as of 7.0.0 release there was a big update on the base library (TIMOB-24746).
  7. Thomas Lemaitre 2018-02-27

    @Kota Iguchi you can find the ouput json attached. [^output.json]
  8. Thomas Lemaitre 2018-02-27

    Hello, i've test the windows app cert kit locally. You can find the log.xml attached to my message.
  9. Thomas Lemaitre 2018-02-27

    [^log.xml]
  10. Kota Iguchi 2018-02-28

    Hmm the result seems pretty strange. According to [^log.xml], App Cert Kit doesn't report an error about actual usage of supported APIs (in Test des API prises en charge) but reports an error on .NET API (System.Xml.XmlDocument.Load) that is never used in the application. I would guess that the App Cert Kit is failing to test for some reason? Also, the reported API in the ticket description 0JSObject@HAL@@QAE@$$QAV01@@Z in hal.dll) should be supporting the platforms as it is actually the API that is compiled for Titanium for all supported platforms (I mean it is not an "external" API, Titanium is providing all of those). As I see the inconsistency between local App Cert Kit result and Microsoft review, is there any possibilities to get more support from Microsoft?
  11. Portal 2018-03-22

    I had the same issue and i wrote to Microsoft in order to discover what was the real problem and i finally find out: the problem is that the app package includes the HAL.dll library which has unfortunately the name of a Windows system library, so they told me to rename it if it is a different library because the current WACK (Windows Apps Certification Kit) which now is used for the store certification doesn’t accept it. The reason why the local WACK certification doesn’t detect this problem is that the new WACK is not yet available, it will be released with the next Windows update. Conclusion: i think the HAL library needs to be renamed.
  12. Kota Iguchi 2018-03-23

    Awesome, thank you for the information! (y) Created TIMOB-25895 and started working on it.
  13. Kota Iguchi 2018-03-29

    Let me close this ticket for now as duplicated, this issue has been taken care by TIMOB-25895. Current state: We are pushing fix for this and it is in-review state by QE team now. It is scheduled to release in next minor release 7.1.1. If you have anything to comment/discuss, please use TIMOB-25895 ticket. (y)
  14. Kota Iguchi 2018-04-02

    Just in case you missed we already have nightly build for this fix. you might want to try this out;
        appc ti sdk install --branch 7_1_X 7.1.1.v20180329233702
        
    Please note that AC-5627 won't be updated further more. If you have anything to comment/discuss, please use TIMOB-25895 ticket, thanks.

JSON Source