Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup method never been called in 2.2.2 and static linking in Cocoapods #168

Open
Sega-Zero opened this issue Sep 30, 2021 · 4 comments
Open

Comments

@Sega-Zero
Copy link

Upgraded SwinjectStoryboard to 2.2.2 and suprisingly faced with trouble of setup method not being called at all, so all implicit injects are now not working.
Also, XCode 13 warns me with this:

warning: (arm64) /path/to/project/Build/Products/Debug-iphoneos/SwinjectStoryboard/libSwinjectStoryboard.a(_SwinjectStoryboardBase(iOS-tvOS).o) unable to open object file: No such file or directory

Versions 2.2.0 and 2.2.1 works as expected with no warnings. With dynamic_frameworks setup method works fine.

@JHeisecke
Copy link

JHeisecke commented Jun 4, 2022

Having same issue here with:

  • SwinjectStoryboard (2.2.2):
    • Swinject (~> 2.7.1)

My difference is that I don't get that warning

@whendon
Copy link

whendon commented Jul 15, 2022

I am experiencing this issue in 2.2.0 (when I remove @objc from my extension class).

If I leave @objc on my extension class, I get this error: #173

@BarredEwe
Copy link
Contributor

Could you try this?
#173 (comment)

@JHeisecke
Copy link

@BarredEwe it's still not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants