Replies: 1 comment 3 replies
-
I'm raising this issue because I encountered some problems while trying to use SPM with my project. Specifically, I received the following errors:
I tried adjusting the build settings to set the minimum iOS version to 16 or 17, but that didn't resolve the issue. It seems the conflict arises from the target configuration in Package.swift:
Since the project targets iOS 13, all dependencies must support this version. However, due to CapawesomeCapacitorLiveUpdate requiring iOS 16 and ZipArchive requiring iOS 15.5, it’s causing compatibility issues. Would it be possible to downgrade these dependencies to versions compatible with iOS 13 or consider alternative libraries? For instance, ZIP functionality could potentially be implemented in pure Swift, which might avoid the need for such dependencies. Maybe this is a good alternative? ZIPFoundation What do you think, @robingenz? |
Beta Was this translation helpful? Give feedback.
-
Hello @robingenz ,
I'm a bit puzzled about why the minimum iOS version required is set to iOS 16, especially since Capacitor supports iOS 13 as the minimum version. I noticed that the dependency on ZipArchive requires a minimum iOS version of 15.5. Would it be possible to consider using an older version of the package or perhaps an alternative library?
Additionally, creating a ZIP archive in pure Swift doesn't seem overly complex, and it might be worth exploring a solution that avoids adding a dependency for this functionality. This could help maintain broader compatibility with older iOS versions.
Thank you for considering this!
Beta Was this translation helpful? Give feedback.
All reactions