Open st34m3dr1c3 opened 6 years ago
Hi @st34m3dr1c3 , Just rename the module with Minizip
and also go to the Zip.swift
file and rename the import minizip
to Minizip
.
I get the same message as a warning when Xcode stops at a breakpoint, and it takes a long time until the debugger is ready to use. Could this have the same root cause?
warning: Swift error in fallback scratch context: error: /Users/ktayama/path/to/appProject/Pods/Zip/Zip/minizip/module/module.modulemap:1:8: error: redefinition of module 'Minizip'
module Minizip [system][extern_c] {
^
/Users/ktayama/path/to/appProject/Pods/Zip/Zip/minizip/module/module.modulemap:1:8: note: previously defined here
module Minizip [system][extern_c] {
^
/Users/ktayama/Library/Developer/Xcode/DerivedData/appName-hfihcoussmwlgxfuhptlhwtzpurt/Build/Products/Debug.Development-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h:2:9: note: while building module 'UIKit' imported from /Users/ktayama/Library/Developer/Xcode/DerivedData/appName-hfihcoussmwlgxfuhptlhwtzpurt/Build/Products/Debug.Development-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h:2:
#import <UIKit/UIKit.h>
^
:
: (many other notes)
:
note: This error message is displayed only once. If the error displayed above is due to conflicting search paths to Clang modules in different images of the debugged executable, this can slow down debugging of Swift code significantly, since a fresh Swift context has to be created every time a conflict is encountered.
I built the project via Carthage, and upon adding it to my project I get a compile time error:
Error: Redefinition of module 'minizip'
in the following block:
module minizip [system][extern_c] { header "unzip.h" header "zip.h" export * }
Any insight into this? Thanks!