Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Zlib problem when building for emulator #14

Closed
reaperdtme opened this issue Nov 24, 2015 · 4 comments
Closed

Zlib problem when building for emulator #14

reaperdtme opened this issue Nov 24, 2015 · 4 comments

Comments

@reaperdtme
Copy link

Compiling for iOS device (or generic device) succeeds

When compiling for simulator, we get errors for redefinition of modules: 'Compression', 'Darwin', 'os', 'libkern'
The result of the error is: 'Could not build Objective-C module 'Zlib''

The redefinition happens because these modules are defined in both iOS and iOS simulator module maps, example of the error:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.1.sdk/usr/include/module.modulemap:1:8: error: redefinition of module 'Compression'
module Compression [system] [extern_c] {
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/module.modulemap:1:8: note: previously defined here
module Compression [system] [extern_c] {

Really at a complete loss as to what to do here. I tried removing the simulator module maps but that caused other issues. Crypto worked in simulator for me before Zlib was added

@soffes
Copy link
Owner

soffes commented Nov 25, 2015

Bummer. Reverting this.

@soffes soffes closed this as completed Nov 25, 2015
@nickygerritsen
Copy link
Contributor

I guess you did not revert this yet? It seems I also get errors now...
My PR #12 does include this still btw, so maybe it is better to first merge that so I won't get merge conflicts again :).

@reaperdtme
Copy link
Author

He just deleted the tagged release, afaik

@soffes
Copy link
Owner

soffes commented Dec 8, 2015

Correct. It was reverted in a commit later. The latest release doesn't include zlib

Repository owner locked and limited conversation to collaborators Dec 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants