Search code examples
cross-compilingios5.1expat-parser

How to compile expat with iOS SDK 5.1?


How to compile expat with iOS SDK 5.1? I tried to adapt/upgrade from all older scripts, but nothing worked... Could anybody do it already?


Solution

  • I found it!

    I used the following script: https://github.com/x2on/expat-ios

    The problem is that the command "xcode-select -print-path", used in the compilation script, is showing "/Developer" instead of the correct full path including "/Applications/Xcode.app/Contents/Developer". I just changed it and then it worked!

    The last XCode [SDK 5.1] moved the path of the developer tools and SDK to inside the XCode bundle.