Zip icon indicating copy to clipboard operation
Zip copied to clipboard

Not able to use zip.xcframework

Open sumitkapoorpurple opened this issue 2 years ago • 7 comments

Hello Team,

I am trying to use zip.xcframework in my app with other frameworks but getting these errors(Attached error screenshot) when trying to build my app....

Can you plz suggest what's wrong with using zip.xcframework...

Thanks Screenshot 2022-04-12 at 13 57 30

sumitkapoorpurple avatar Apr 12 '22 08:04 sumitkapoorpurple

@sumitkapoorpurple any updates on this issue?

Eslam-Salem avatar May 23 '22 13:05 Eslam-Salem

@Eslam-Salem not heard anything back from zip Team yet....

sumitkapoorpurple avatar May 23 '22 13:05 sumitkapoorpurple

@sumitkapoorpurple zip framework was installed by carthage in my project. and after updating xcode to version 13.3.1 these errors occurred. i tried to remove zip framework from carthage and install it by SPM and errors disappeared 💯 . it may help you. and you can check this to know more details about this issue. https://forums.swift.org/t/frameworkname-is-not-a-member-type-of-frameworkname-errors-inside-swiftinterface/28962

Eslam-Salem avatar May 23 '22 15:05 Eslam-Salem

Hey any updates on this?

haripacewisdom avatar Jul 06 '22 14:07 haripacewisdom

We had such a similar issue one year ago. The issue is that the Package/Module is named Zip so do the main Zip class.

Newer Xcode adds a warning about it: Screenshot 2022-07-28 at 16 39 37

yageek avatar Jul 28 '22 14:07 yageek

Any news on this issue ? I have this issue when building with xcodebuild in gitlab CI. I tried many solutions from internet like adding some "other swift flags" but the only solution was to fork the project and rename the package and module.

ahbo avatar Mar 19 '24 10:03 ahbo

Encounter the same issue when trying to build Zip.xcframework and embed manually/statically in my App.

XiaotiLiu avatar May 03 '24 23:05 XiaotiLiu