You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
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 :).
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:
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
The text was updated successfully, but these errors were encountered: