Skip to content

Crash on launch; dyld Symbol not found in Swift 5.4 / XCode 12.5 #116

Description

@dodgecm

Created a fresh project, linked Contentful and ContentfulPersistence and get a crash immediately on launch. Only happens when ContentfulPersistence is linked; if I just link the Contentful library, there's no crash. Did not have any issues on the previous version of XCode

My .xcframeworks were built using Carthage 0.38.0.

dyld: Symbol not found: __ZN5swift34swift50override_conformsToProtocolEPKNS_14TargetMetadataINS_9InProcessEEEPKNS_24TargetProtocolDescriptorIS1_EEPFPKNS_18TargetWitnessTableIS1_EES4_S8_E
  Referenced from: /Users/dodge/Library/Developer/Xcode/DerivedData/CarthageTest-ccdjadqjfvdesbgzwfcwneffqihd/Build/Products/Debug-iphonesimulator/ContentfulPersistence.framework/ContentfulPersistence
  Expected in: /Users/dodge/Library/Developer/Xcode/DerivedData/CarthageTest-ccdjadqjfvdesbgzwfcwneffqihd/Build/Products/Debug-iphonesimulator/Contentful.framework/Contentful
 in /Users/dodge/Library/Developer/Xcode/DerivedData/CarthageTest-ccdjadqjfvdesbgzwfcwneffqihd/Build/Products/Debug-iphonesimulator/ContentfulPersistence.framework/ContentfulPersistence

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions