Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4703] Build fails when using native API call

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2017-01-03T00:01:36.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsbuildproblem, hyperloop, windows, windows8.1, windowsphone
ReporterLuca Sartori
AssigneeShak Hossain
Created2017-01-02T20:54:50.000+0000
Updated2017-01-03T00:01:36.000+0000

Description

Build fails with this simple line bq. var ChatMessage = require({color:#59afe1}'Windows.ApplicationModel.Chat.ChatMessage'{color}); if i comment that line the build give no errors. Error Log: {quote}[INFO] : Processing JavaScript files [INFO] : Detected native API reference: Windows.ApplicationModel.Chat.ChatMessage [INFO] : Detected native API reference: Windows.UI.Xaml.Window [INFO] : Generating i18n files [INFO] : Generating Native Type Wrappers [WARN] : Unable to find metadata for: Platform.Object [WARN] : Something went wrong. No metadata for type: Windows.Foundation.IAsyncOperation1<T> [WARN] : Something went wrong. No metadata for type: Platform.Object [WARN] : Something went wrong. No metadata for type: Windows.Foundation.IAsyncOperationWithProgress2 [WARN] : Unable to find metadata for: Platform.Object [WARN] : Unable to find metadata for: Platform.Object [WARN] : Unable to find metadata for: Platform.Object [WARN] : Unable to find metadata for: Platform.Object [WARN] : Unable to find metadata for: Platform.Object [WARN] : Unable to find metadata for: Platform.Object [WARN] : Something went wrong. No metadata for type: Windows.ApplicationModel.Chat.ChatMessage [ERROR] : An error occurred during build after 10s 923ms [ERROR] : Something went wrong. No metadata for type: Windows.ApplicationModel.Chat.ChatMessage{quote} I attach complete build log and sample project that i have used to reproduce the error. Thank you for reply Luca

Attachments

FileDateSize
build.log2017-01-02T20:53:09.000+00003587
TestWinRT.zip2017-01-02T20:51:00.000+0000291965

Comments

  1. Hans Knöchel 2017-01-03

    Hyperloop for the Windows Phone platform is not supported, yet (see TIMOB-23765). But it's what we can say already is that it's currently been worked on.

JSON Source