[AC-1745] Studio: Build error: libxml/tree.h not found
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2013-04-08T18:38:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | b. bijlsma |
Assignee | Mauro Parra-Miranda |
Created | 2012-11-30T16:51:17.000+0000 |
Updated | 2016-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
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.
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
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?
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:
Sorry for taking a while, but can you try again with the latest Studio? This should be fixed by now. Thanks!