Skip to content

Linking error only in Archive/Release build #122

@nneubauer

Description

@nneubauer

Hey, probably this is a problem with my individual setup, but I can't really figure out a solution.

I have a relatively small and simple iOS app with FlyingFox (0.17.0). When I build for a debug configuration all works well including on device. But, if I want to archive my build for distribution, I get the following linker error:

Undefined symbol: protocol witness table for FlyingSocks.SocketPool<A> : FlyingSocks.AsyncSocketPool in FlyingSocks

I also don't really have FlyingSocks in use anywhere, just FyingFox.

Any idea what might be wrong? I really didn't mess with any specific settings during the build process and I checked if there are any noteworthy differences between debug and release but I can't find any that seem to be relevant.

If this helps:

XCode 16.0
Build Target is iOS 18
Dependency is managed through XCode package management
Swift 5
Other packages in the project are Starscream and SwiftUIKit, nothing else.

I am happy to read on anywhere else, but a pointer would be much appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions