X is not a member type of Y

后端 未结 6 1678
难免孤独
难免孤独 2021-02-13 05:36

I\'m having staring issues with Module name spacing in a swift project.

I\'ve tried this in a new project and everything works fine:

I have 2 modules with which co

6条回答
  •  野的像风
    2021-02-13 05:51

    In case anyone is here while trying to build and use an xcframework, apparently, the issue is caused when you have a class in the framework which has the same name as the module/framework.

    This is a known issue and needs a workaround as mentioned here.

    P.S. - I know this doesn't answer this question per se. Just leaving it here for anyone else who might land here because of the question title.

提交回复
热议问题