Crash Release Configuration: Swift 4.1, XCode 9.3
v-silin opened this issue · 1 comments
Hi. Hope you are doing well.
I have the following issue with latest stable XCode version(Xcode 9.3, Swift 4.1):
Fatal error: 'try!' expression unexpectedly raised an error:
No definition registered for type: MyBestProtocol, arguments: (), tag: nil. Check the tag, type you try to resolve, number, order and types of runtime arguments passed to resolve()
and match them with registered factories for type MyBestProtocol.: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-902.0.48/src/swift/stdlib/public/core/ErrorType.swift, line 184
I can debug App without any issue.
This happens only for App release configuration: both debugging Release and TestFlight.
I tried latest develop branch with no success.
Do you have any ideas what went wrong?
I am working on example App now, so I can provide more details soon.
Lower iOS: 10.0
Swift: 4.1
XCode: 9.3
Best regards,
Vasili Silin.
XCode speed optimization issue.
Dip works great.
Closed.