Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1745] Studio: Build error: libxml/tree.h not found

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2013-04-08T18:38:17.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
Reporterb. bijlsma
AssigneeMauro Parra-Miranda
Created2012-11-30T16:51:17.000+0000
Updated2016-03-08T07:40:38.000+0000

Description

Steps to Reproduce

whatever mobile code I try, everytime I get the same fatal eror: libxml/tree.h is not found.

Actual Result

fatal error

Expected Result

no error

Attachments

FileDateSize
.log2012-11-30T16:51:24.000+00003330
diagnostic4714367141938700112.log2012-11-30T16:51:29.000+00001174

Comments

  1. Daniel Sefton 2012-11-30

    I can't see any errors in the log - can you describe in detail at what point you're receiving this error, and if there's any other information surrounding it? Is it an error message in the console for example? If so, post your console.
  2. b. bijlsma 2012-12-04

    I replied your email, but apparently that is not the procedure. this is the console: [INFO] One moment, building ... [INFO] Titanium SDK version: 2.1.4 (11/09/12 12:46 51f2c64) [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 6.0 [INFO] iPhone simulated device: iphone [INFO] Minimum iOS version: 4.3 Linked iOS Version 6.0 [INFO] Compiling localization files [ERROR] /Users/admin/Documents/Titanium_Studio_Workspace/test2/build/iphone/Classes/GDataXMLNode.h:39:9: fatal error: 'libxml/tree.h' file not found [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Users/admin/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/builder.py", line 1325, in main execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False) File "/Users/admin/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/builder.py", line 1231, in execute_xcode output = run.run(args,False,False,o) File "/Users/admin/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/run.py", line 41, in run sys.exit(rc) SystemExit: 65
  3. Daniel Sefton 2012-12-04

    What version of Xcode do you have installed? Can you try going to your build folder and building the project through Xcode to see if you get more of a description of the problem?
  4. b. bijlsma 2012-12-05

    The Xcode version is 4.5.2 Build failed because of: Lexical or Preprocessor issue 'libxml/tree.h' file not found In file included from /Users/admin/Documents/Titanium_Studio_Workspace/html1/build/iphone/Classes/TiNetorkHTTPClientResultProxy.m:12: In file included from /Users/admin/Documents/Titanium_Studio_Workspace/html1/build/iphone/Classes/TiDOMDocumentProxy.h:12:
  5. Daniel Sefton 2013-04-08

    Sorry for taking a while, but can you try again with the latest Studio? This should be fixed by now. Thanks!

JSON Source