Building Mapnik for iOS fails
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 258
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Running:
``` bash
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the shown Mason command for Mapnik 3.0.14 and tracing the iOS universal-binary build path that invokes lipo. Check the context in related issues #400 and #450; done means the iOS build completes without duplicate-architecture errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, python
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100