Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Xcframework issue #72

Open
Open

Description

@johndpope

supabase/supabase-swift#38

At the bottom of this ticket
I’ve successfully exported any cod able along with 6-7 other frameworks but then hit a snag with this library. Are you aware that this actually works with say Bazel uses x frameworks?

UPDATE

https://stackoverflow.com/questions/34159442/x-is-not-a-member-type-of-y


_When using an xcframework that depends on another framework, the X is not a member of type Y will also happen for the Framework it depends on when writing an extensions that wraps, for example, delegate methods

Example: Framework Foo depends on Bar and need to conform to DataDelegate.

class Foo {
    ...
}

extension Foo : Bar.DataDelegate {
    ...
}
Everything during compiling will go as planned and the xcframework will be generated. Once you add it to your App along with the dependancy framework Bar and try to build it you will get DataDelegate is not a member of type Bar._

Activity

  1. wweevv-johndpope commented on Sep 5, 2022

    @wweevv-johndpope

    build logs

    https://gist.github.com/wweevv-johndpope/4fecec0e6b9369ab8220e0becb40fe3f

    swiftlang/swift#56573

    we can't have
    AnyCodable module name + AnyCodable class together - have to rename one or the other.

    how bout AnyCodableKit?

  2. stidch commented on Apr 20, 2023

    @stidch

    Are there any activity planed for the rename? We're facing the same issue and would appreciate a fix.

  3. johndpope commented on Apr 21, 2023

    @johndpope
    Author

    I think I got around it by importing classes into project....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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