HeroTransitions / Hero

Elegant transition library for iOS & tvOS
https://HeroTransitions.github.io/Hero/
MIT License
22k stars 1.72k forks source link

Missing framework crash #719

Closed andrebng closed 3 years ago

andrebng commented 3 years ago

What did you do?

Building, archiving and submitting with Xcode works. But we also use Bitrise and noticed that these builds end up in crashes when opening the app. The same happens for development distributions. I found this in the logs:

`Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Description: DYLD, dyld: Using shared cache: 14717012-2E84-3416-8150-5E937791EE50 | dependent dylib '@rpath/Hero.framework/Hero' not found for '/private/var/containers/Bundle/Application/2CCE0800-23D5-4A95-875F-F2382ECC4097/MyApp.app/MyApp', tried but didn't find: '/usr/lib/swift/Hero.framework/Hero' '/private/var/containers/Bundle/Application/2CCE0800-23D5-4A95-875F-F2382ECC4097/MyApp.app/Frameworks/Hero.framework/Hero' '@rpath/Hero.framework/Hero' '/System/Library/Frameworks/Hero.framework/Hero' Highlighted by Thread: 0

Backtrace not available

Unknown thread crashed with ARM Thread State (64-bit):`

What did you expect to happen?

Opening the app and not crash. The framework to be embedded correctly

What happened instead?

App crashes right after opening.

General Information

andrebng commented 3 years ago

I embedded the Hero framework with "Embed and Sign", that seemed to do it. I removed and re-installed it via SPM before.