unable to find module dependency : 'minizip'

I downloaded Xcode Beta 26 and built the POS code repository project. However, an error appeared: unable to find the module dependency 'minizip'. No changes have been made to the repository since upgrading to iOS 18.0. Is this a new issue with Xcode 26, and what are the resolution steps?

Answered by jonathan889 in 844023022

I also had having this issue with CocoaPods dependencies.

I found the issue is with Explicitly Built modules not Xcode 26 specifically. It's just that Xcode 26 has explicitly built modules on by default.

To work around it you can set Explicitly Built Modules to no. But I'm surprised not to find anyone else having issues with this in Xcode 16, nor any mention of explicitly build modules on CocoaPods. I know it's end of life but still.

The real fix is to stop using CocoaPods.

minizip isn't the name of a module in the iOS SDK. Is the project yours, a sample code project from Apple, or something else? If this is your project and this module is from a vendor you depend on, you should review the integration instructions provided by the vendor.

— Ed Ford,  DTS Engineer

Same here with SwiftProtobuf and SwiftSignalRClient which are added via Cocoapods.

@AK_2024 said:

It is a xcode project based on UIKit and CocoaPods. It has multiple pods, including RxSwift, project-specific dependencies, XCGLogger, and Zip.

And @ozzotto said:

Same here with SwiftProtobuf and SwiftSignalRClient which are added via Cocoapods.

Since you're managing your dependencies with Cocoapods, you should check with the vendors for these libraries and your dependency manager for the proper path to resolution when using their software.

— Ed Ford,  DTS Engineer

Accepted Answer

I also had having this issue with CocoaPods dependencies.

I found the issue is with Explicitly Built modules not Xcode 26 specifically. It's just that Xcode 26 has explicitly built modules on by default.

To work around it you can set Explicitly Built Modules to no. But I'm surprised not to find anyone else having issues with this in Xcode 16, nor any mention of explicitly build modules on CocoaPods. I know it's end of life but still.

The real fix is to stop using CocoaPods.

unable to find module dependency : 'minizip'
 
 
Q