Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19103] Windows Phone: Lots of scary warnings in successful build of default app

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2015-11-11T16:47:42.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 5.2.0
ComponentsWindows
Labelsqe-5.2.0
ReporterFokke Zandbergen
AssigneeKota Iguchi
Created2015-06-29T18:34:34.000+0000
Updated2016-02-05T21:33:20.000+0000

Description

Although successful, building the default Alloy project for Windows Phone displays a lot of warnings in the console. Not sure if can ignore or fix those, but it's not reassuring for the user.
[DEBUG] simtype = none
[DEBUG] devicefamily = none
[DEBUG] deploytype = development
[DEBUG] target = wp-emulator
[DEBUG] project path = C:\Users\Fokke\dev\studio\test2
[DEBUG] app path = C:\Users\Fokke\dev\studio\test2\app
[DEBUG]
[DEBUG] ----- CONFIG.JSON -----
[DEBUG] dependencies = {}
[INFO]  [config.json] regenerating CFG.js from config.json...
[DEBUG] {
  "dependencies": {},
  "sourcemap": true,
  "autoStyle": false,
  "adapters": [
    "localStorage",
    "properties",
    "sql"
  ]
}
[DEBUG]
[DEBUG] ----- CLEANING RESOURCES -----
[DEBUG] Removing orphaned controllers ...
[DEBUG] Removing orphaned models ...
[DEBUG] Removing orphaned styles ...
[DEBUG] Removing orphaned sync adapters...
[DEBUG] Removing orphaned assets and libs...
[TRACE] * KS_nav_ui.png
[TRACE] * KS_nav_views.png
[DEBUG]
[DEBUG] ----- BASE RUNTIME FILES -----
[TRACE] SRC_DIR=C:\Users\Fokke\.appcelerator\install\4.0.2\package\node_modules\
appc-cli-titanium\node_modules\alloy\Alloy\lib
[TRACE] Copying SRC_DIR\alloy\sync\sql.js --> Resources\windows\alloy\sync\sql.j
s
[TRACE] Copying SRC_DIR\alloy\sync\properties.js --> Resources\windows\alloy\syn
c\properties.js
[TRACE] Copying SRC_DIR\alloy\sync\localStorage.js --> Resources\windows\alloy\s
ync\localStorage.js
[TRACE] Copying SRC_DIR\alloy\controllers\BaseController.js --> Resources\window
s\alloy\controllers\BaseController.js
[TRACE] Copying SRC_DIR\alloy\widget.js --> Resources\windows\alloy\widget.js
[TRACE] Copying SRC_DIR\alloy\underscore.js --> Resources\windows\alloy\undersco
re.js
[TRACE] Copying SRC_DIR\alloy.js --> Resources\windows\alloy.js
[TRACE]
[TRACE] SRC_DIR=C:\Users\Fokke\.appcelerator\install\4.0.2\package\node_modules\
appc-cli-titanium\node_modules\alloy\Alloy\common
[TRACE] Copying SRC_DIR\constants.js --> Resources\windows\alloy\constants.js
[TRACE]
[TRACE] SRC_DIR=C:\Users\Fokke\dev\studio\test2\app\assets
[TRACE] Copying SRC_DIR\windows\Logo.png --> Resources\windows\Logo.png
[TRACE] Copying SRC_DIR\windows\SmallLogo.png --> Resources\windows\SmallLogo.pn
g
[TRACE] Copying SRC_DIR\windows\SplashScreen.png --> Resources\windows\SplashScr
een.png
[TRACE] Copying SRC_DIR\windows\StoreLogo.png --> Resources\windows\StoreLogo.pn
g
[TRACE]
[DEBUG]
[INFO] ----- MVC GENERATION -----
[INFO] [app.tss] global style processing...
[INFO] [global style] writing to cache...
[INFO] [index.xml] view processing...
[INFO]   style:      "index.tss"
[INFO]   view:       "index.xml"
[INFO]   controller: "index.js"
[TRACE] - Processing "builtins" module...
[TRACE] - Processing "optimizer" module...
[TRACE] - Processing "compress" module...
[INFO]   created:    "Resources\windows\alloy\controllers\index.js"
[DEBUG]   map:        "build\map\Resources\windows\alloy\controllers\index.js.ma
p"
[INFO]   created:     "Resources\windows\alloy\styles\index.js"
[INFO]
[INFO] [app.js] Titanium entry point processing...
[TRACE] - Processing "builtins" module...
[TRACE] - Processing "optimizer" module...
[TRACE] - Processing "compress" module...
[INFO]   created:    "Resources\windows\app.js"
[DEBUG]   map:        "build\map\Resources\windows\app.js.map"
[INFO]
[INFO] ----- OPTIMIZING -----
[INFO] - alloy\CFG.js
[TRACE]   processing "builtins" module...
[TRACE]   processing "optimizer" module...
[TRACE]   processing "compress" module...
[INFO] - windows\alloy.js
[TRACE]   processing "builtins" module...
[TRACE]   processing "optimizer" module...
[TRACE]   processing "compress" module...
[INFO] - windows\alloy\sync\localStorage.js
[TRACE]   processing "builtins" module...
[TRACE]   processing "optimizer" module...
[TRACE]   processing "compress" module...
[INFO] - windows\alloy\sync\properties.js
[TRACE]   processing "builtins" module...
[TRACE]   processing "optimizer" module...
[TRACE]   processing "compress" module...
[INFO] - windows\alloy\sync\sql.js
[TRACE]   processing "builtins" module...
[TRACE]   processing "optimizer" module...
[TRACE]   processing "compress" module...
[TRACE]
[TRACE] Benchmarking
[TRACE] ------------
[TRACE] [2.70477s] TOTAL
[INFO]
[INFO] Alloy compiled in 2.70477s
[INFO]  Alloy compiler completed successfully
[INFO]  Launching emulator: 8-1-1
[INFO]  Processing JavaScript files
[INFO]  Generating i18n files
[INFO]  Generating Native Type Wrappers
[INFO]  Generating stubs for: Platform.Object
[INFO]  Setting up native modules for CMakeLists.txt...
[INFO]  Writing appxmanifest C:\Users\Fokke\AppData\Local\Temp\test2\Package.sto
re.appxmanifest.in
[INFO]  Writing appxmanifest C:\Users\Fokke\AppData\Local\Temp\test2\Package.pho
ne.appxmanifest.in
[INFO]  Writing CMakeLists.txt: C:\Users\Fokke\AppData\Local\Temp\test2\CMakeLis
ts.txt
[INFO]  Running cmake at C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150626
223333\windows\cli\vendor\cmake\bin\cmake.exe in directory C:\Users\Fokke\AppDat
a\Local\Temp\test2\phone.x86
[INFO]  -- The C compiler identification is MSVC 18.0.31101.0
[INFO]  -- The CXX compiler identification is MSVC 18.0.31101.0
[INFO]  -- Check for working C compiler using: Visual Studio 12 2013
[INFO]  -- Check for working C compiler using: Visual Studio 12 2013 -- works
[INFO]  -- Detecting C compiler ABI info
[INFO]  -- Detecting C compiler ABI info - done
[INFO]  -- Check for working CXX compiler using: Visual Studio 12 2013
[INFO]  -- Check for working CXX compiler using: Visual Studio 12 2013 -- works
[INFO]  -- Detecting CXX compiler ABI info
[INFO]  -- Detecting CXX compiler ABI info - done
[INFO]  -- Could NOT find GTest (missing:  GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST
_MAIN_LIBRARY)
[INFO]  -- Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE)
[INFO]  -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
[INFO]  -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
[INFO]  -- Performing Test COMPILER_HAS_DEPRECATED
[INFO]  -- Performing Test COMPILER_HAS_DEPRECATED - Failed
[INFO]  -- Configuring done
[INFO]  -- Generating done
[WARN] : [INFO]  -- Build files have been written to: C:/Users/Fokke/AppData/Loc
al/Temp/test2/phone.x86
 CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_BUILD_TYPE
[INFO]  Running MSBuild on solution: C:\Users\Fokke\AppData\Local\Temp\test2\pho
ne.x86\Test2.sln
[WARN]  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuil
d.targets(396,5): warning MSB8029: The Intermediate directory or Output director
y cannot reside under the Temporary directory as it could lead to issues with in
cremental build. [C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\ZERO_CHECK.v
cxproj]
         Creating directory "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\R
elease\".
         Creating directory "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\".
[WARN]  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuil
d.targets(396,5): warning MSB8029: The Intermediate directory or Output director
y cannot reside under the Temporary directory as it could lead to issues with in
cremental build. [C:\Use
[WARN]  5>C:\Users\Fokke\AppData\Local\Temp\test2\Native\include\RequireHook.hpp
(31): warning C4453: 'TitaniumWindows::Application' : A '[WebHostHidden]' type s
hould not be used on the published surface of a public type that is not '[WebHos
tHidden]' (C:\Users\Fokke\AppData\Local\Temp\test2\Native\src\RequireHook.cpp) [
C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Native\TitaniumWindows_Native.
vcxproj]
[WARN]  TitaniumWindows_Native : TitaniumWindows_Native.CopyLocalFilesOutputGrou
p : C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150626223333\windows\lib\Ti
taniumWindows\phone\x86\TitaniumWindows.dll -> TitaniumWindows.dll
         TitaniumWindows_Native : TitaniumWindows_Native.CopyLocalFilesOutputGro
up : C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150626223333\windows\lib\T
itaniumWindows\phone\x86\TitaniumWindows.pri -> TitaniumWindows.pri
         TitaniumWindows_Native : TitaniumWindows_Native.CopyLocalFilesOutputGro
up : C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150626223333\windows\lib\T
itaniumWindows_Utility\phone\x86\TitaniumWindows_Utility.dll -> TitaniumWindows_
Utility.dll
         TitaniumWindows_Native : TitaniumWindows_Native.CopyLocalFilesOutputGro
up : C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150626223333\windows\lib\T
itaniumWindows_Utility\phone\x86\TitaniumWindows_Utility.pri -> TitaniumWindows_
Utility.pri
         TitaniumWindows_Native : TitaniumWindows_Native.CopyWinmdArtifactsOutpu
tGroup : C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Native\Release\Titani
umWindows_Native.winmd -> TitaniumWindows_Native.winmd
         TitaniumWindows_Native : TitaniumWindows_Native.PriFilesOutputGroup : C
:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150626223333\windows\lib\Titaniu
mWindows\phone\x86\TitaniumWindows.pri -> TitaniumWindows.pri
         TitaniumWindows_Native : TitaniumWindows_Native.PriFilesOutputGroup : C
:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150626223333\windows\lib\Titaniu
mWindows_Utility\phone\x86\TitaniumWindows_Utility.pri -> TitaniumWindows_Utilit
y.pri
         TitaniumWindows_Native : TitaniumWindows_Native.GetResolvedSDKReference
s : C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\ExtensionSDKs\Mic
rosoft.VCLibs\12.0\ ->
         TitaniumWindows_Native : TitaniumWindows_Native._GetProjectArchitecture
 : x86 ->
     5>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\M
icrosoft.AppXPackage.Targets(2893,9): warning APPX1901: The DefaultLanguage prop
erty is either missing from the project file or does not have a value. The fallb
ack language is set to the Visual Studio language: nl-NL. [C:\Users\Fokke\AppDat
a\Local\Temp\test2\phone.x86\Native\TitaniumWindows_Native.vcxproj]
[WARN]  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuil
d.targets(396,5): warning MSB8029: The Intermediate directory or Output director
y cannot reside under the Temporary directory as it could lead to issues with in
cremental build. [C:\Use
[WARN]  C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\
Microsoft.AppXPackage.Targets(2893,9): warning APPX1901: The DefaultLanguage pro
perty is either missing from the project file or does not have a value. The fall
back language is set to
[WARN]  MakePRI : warning 0xdef00522: Resources found for language(s) 'en' but n
o resources found for default language(s): 'nl-NL'. Change the default language
or qualify resources with the default language. http://go.microsoft.com/fwlink/?
LinkId=231899 [C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.vcxproj]
[WARN]  6>MakePRI : warning 0xdef01051: No default or neutral resource given for
 'Resources/app_name'. The application may throw an exception for certain user c
onfigurations when retrieving the resources. [C:\Users\Fokke\AppData\Local\Temp\
test2\phone.x86\Test2.vcxproj]
[WARN]  MakePRI : warning 0xdef01051: No default or neutral resource given for '
Resources/app_name'. The application may throw an exception for certain user con
figurations when retrieving the resources. [C:\Users\Fokke\AppData\Local\Temp\te
st2\phone.x86\Test2.vcxp
[WARN]  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuil
d.targets(396,5): warning MSB8029: The Intermediate directory or Output director
y cannot reside under the Temporary directory as it could lead to issues with in
cremental build
[WARN]  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuil
d.targets(396,5): warning MSB8029: The Intermediate directory or Output director
y cannot reside under the Temporary directory as it could lead to issues with in
cremental build
[WARN]  C:\Users\Fokke\AppData\Local\Temp\test2\Native\include\RequireHook.hpp(3
1): warning C4453: 'TitaniumWindows::Application' : A '[WebHostHidden]' type sho
uld not be used on the published surface of a public type that is not '[WebHostH
idden]' (C:\Use
[WARN]  C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\
Microsoft.AppXPackage.Targets(2893,9): warning APPX1901: The DefaultLanguage pro
perty is either missing from the project file or does not have a value. The fall
back language i
[WARN]  "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.vcxproj" (Rebui
ld target) (6) ->
       (PrepareForBuild target) ->
         C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBui
ld.targets(396,5): warning MSB8029: The Intermediate directory or Output directo
ry cannot reside under the Temporary directory as it could lead to issues with i
ncremental build. [C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.vcxpr
oj]


       "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.sln" (rebuild ta
rget) (1) ->
       "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.vcxproj.metaproj
" (Rebuild target) (2) ->
       "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.vcxproj" (Rebuil
d target) (6) ->
       (_GetDefaultResourceLanguage target) ->
         C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage
\Microsoft.AppXPackage.Targets(2893,9): warning APPX1901: The DefaultLanguage pr
operty is either missing from the project file or does not have a value. The fal
lback language is set to the Visual Studio language: nl-NL. [C:\Users\Fokke\AppD
ata\Local\Temp\test2\phone.x86\Test2.vcxproj]


       "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.sln" (rebuild ta
rget) (1) ->
       "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.vcxproj.metaproj
" (Rebuild target) (2) ->
       "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.vcxproj" (Rebuil
d target) (6) ->
       (_GenerateProjectPriFileCore target) ->
         MakePRI : warning 0xdef00522: Resources found for language(s) 'en' but
no resources found for default language(s): 'nl-NL'. Change the default language
 or qualify resources with the default language. http://go.microsoft.com/fwlink/
?LinkId=231899 [C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.vcxproj]

         MakePRI : warning 0xdef01051: No default or neutral resource given for
'Resources/app_name'. The application may throw an exception for certain user co
nfigurations when retrieving the resources. [C:\Users\Fokke\AppData\Local\Temp\t
est2\phone.x86\Test2.vcxproj]


       "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.sln" (rebuild ta
rget) (1) ->
       "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.vcxproj.metaproj
" (Rebuild target) (2) ->
       "C:\Users\Fokke\AppData\Local\Temp\test2\phone.x86\Test2.vcxproj" (Rebuil
d target) (6) ->
       (_SplitResourcesPri target) ->
         MakePRI : warning 0xdef01051: No default or neutral resource given for
'Resources/app_name'. The application may throw an exception for certain user co
nfigurations when retrieving the resources. [C:\Users\Fokke\AppData\Local\Temp\t
est2\phone.x86\Test2.vcxproj]

....

[INFO]  Finished building the application in 2m 25s 59ms

Comments

  1. Kota Iguchi 2015-11-11

    https://github.com/appcelerator/titanium_mobile_windows/pull/472

    Steps to Test

    - Make sure the build ends with zero warnings
       ti build --platform windows --target wp-emulator --device-id 8-1-6 --win-publisher-id 00AFB000-00F0-0F00-0000-C00000EDBD00 --wp-sdk 8.1
       
  2. Josh Longton 2016-02-05

JSON Source