skywinder / ActionSheetPicker-3.0

Quickly reproduce the dropdown UIPickerView / ActionSheet functionality on iOS.
http://skywinder.github.io/ActionSheetPicker-3.0
BSD 3-Clause "New" or "Revised" License
3.4k stars 740 forks source link

Not working with Swift Package Manager [bug] #537

Closed swifthing closed 2 years ago

swifthing commented 3 years ago

If I use Cocoapod it is working

But if I use SPM I have an error:

Capture d’écran 2021-04-29 à 10 57 24

Module is correctly installed in SPM:

Capture d’écran 2021-04-29 à 10 58 21

The error is showing even after I cleaned and builded again

vewert commented 3 years ago

I was getting this too. I changed the import to:

import CoreActionSheetPicker

which got rid of that error, but then wherever I tried to use the pickers I got the following errors like:

"Cannot find 'ActionSheetStringPicker' in scope"

vewert commented 3 years ago

I also noticed the following compile error:

/Users/vewert/Library/Developer/Xcode/DerivedData/iPWMinder-hbyymbcbqlydgwcgjgemijqtdgct/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/CoreActionSheetPicker.modulemap:2:10: Umbrella directory '/Users/vewert/Library/Developer/Xcode/DerivedData/iPWMinder-hbyymbcbqlydgwcgjgemijqtdgct/SourcePackages/checkouts/ActionSheetPicker-3.0/CoreActionSheetPicker/include' not found

I'm not sure if that is related.

swifthing commented 3 years ago

Up

kkolontai commented 3 years ago

the same for. me

muh-bilal commented 3 years ago

Happening for me as well.