Swinject: Swinject crashes swiftc in Xcode 9
When building Swinject with Xcode 9, Swinject causes a segmentation fault in swiftc. I know this isn’t your fault (the compiler shouldn’t crash) but I thought I should mention it here. I’ve also filed this with Apple as rdar://32589507
To reproduce: Clone the repo as it is right now. Open Swinject.xcodeproj in Xcode 9. Build. Swiftc will have a segmentation fault and die, causing a build failure.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 16
- Comments: 21 (6 by maintainers)
Changing code in ObjectScope.Standard.swift fixed the issue for me:
What about the compatibility of Swinject with branch ‘swift4’ and SwinjectStoryboard?
As of today:
No telling when it’ll be fixed but it looks like Swinject is handling it nicely.