AliSoftware / Dip

Simple Swift Dependency container. Use protocols to resolve your dependencies and avoid singletons / sharedInstances!
MIT License
978 stars 75 forks source link

Use of undeclared type 'StoryboardInstantiatable' on SPM installation #232

Closed alphatroya closed 4 years ago

alphatroya commented 4 years ago

I move from Carthage to SPM installation after 7.1.0 release but encounter with the issue of my project compilation. Other methods and classes resolving fine.

Update to the latest version by Carthage is also working fine.

ilyapuchka commented 4 years ago

I guess it's expected as AFAIK it's still not possible to use SPM to manage dependencies of the iOS apps, or ha a storyboard as a SPM framework resource. So we have this type stripped away with #if !SWIFT_PACKAGE

alphatroya commented 4 years ago

Well, not sure that I correctly understand you, but XCode 11 is out with full SPM support (including iOS). I've already switched many of my project dependencies from Carthage. Many of that dependencies is iOS only framework.

ilyapuchka commented 4 years ago

I'm just curious how do you link SPM dependencies to iOS application targets

On Wed, 13 Nov 2019, 04:15 Alexey Korolev, notifications@github.com wrote:

Well, not sure that I correctly understand you, but XCode 11 is out with full SPM support (including iOS). I've already switched many of my project dependencies from Carthage. Many of that dependencies is iOS only framework.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AliSoftware/Dip/issues/232?email_source=notifications&email_token=AALLLJPFCJBUXC4Y6JNDPY3QTN5ODA5CNFSM4JLRVAG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED42HEI#issuecomment-553231249, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALLLJJOYIBKMWZT34MLHQTQTN5ODANCNFSM4JLRVAGQ .

alphatroya commented 4 years ago

I use "Swift Packages" tab in the project settings

Снимок экрана 2019-11-13 в 12 28 50 Снимок экрана 2019-11-13 в 12 29 00 Снимок экрана 2019-11-13 в 12 29 11
ilyapuchka commented 4 years ago

Nice, never used this yet 👍