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

Crash Release Configuration: Swift 4.1, XCode 9.3 #188

Closed
v-silin opened this issue Apr 5, 2018 · 1 comment
Closed

Crash Release Configuration: Swift 4.1, XCode 9.3 #188

v-silin opened this issue Apr 5, 2018 · 1 comment

Comments

@v-silin
Copy link

v-silin commented Apr 5, 2018

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.

@v-silin
Copy link
Author

v-silin commented Apr 9, 2018

XCode speed optimization issue.
Dip works great.

Closed.

@v-silin v-silin closed this as completed Apr 9, 2018
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

1 participant