mason
mason copied to clipboard
Building Mapnik for iOS fails
Running:
MASON_PLATFORM=ios MASON_PLATFORM_VERSION=9.0 /tmp/mason install mapnik 3.0.14
Fails with this output:
input file lib-ios-arm64/libjpeg.a is not a fat file
Non-fat file: lib-ios-arm64/libjpeg.a is architecture: i386
input file lib-ios-arm64/libturbojpeg.a is not a fat file
Non-fat file: lib-ios-arm64/libturbojpeg.a is architecture: i386
* Creating Universal Binary...
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: lib-isim-i386/libjpeg.a and lib-isim-x86_64/libjpeg.a have the same architectures (i386) and can't be in the same fat output file
This may be related to #400 and #450
Yes, @romanroibu likely needs to the same fix as https://github.com/mapbox/mason/pull/465. Is this something you test and provide a PR for?
Hi, I've added the fix from #465 to the dependencies, but now there's an issue with missing the /lib/pkgconfig/libpng.pc file when building libpng 1.6.28:
Failed to open '/tmp/mason/mason_packages/ios-8.0/libpng/1.6.28/lib/pkgconfig/libpng.pc': No such file or directory
No package '/tmp/mason/mason_packages/ios-8.0/libpng/1.6.28/lib/pkgconfig/libpng.pc' found
Any ideas on what could be wrong? Thanks!
FYI, you can find the changes so far here.