Class is implemented in both, One of the two will be used. Which one is undefined

后端 未结 5 886
感情败类
感情败类 2020-12-04 19:15

I have an issue with dependencies included in Cocoapods.

I have a Framework project (MyFramework target), which also has App target (MyFrameworkExampleApp). When I t

5条回答
  •  青春惊慌失措
    2020-12-04 20:19

    I don't know the reason, but if you open your app's Pods-[AppName].debug.xcconfig file that cocoapods creates you'll find OTHER_LDFLAGS and you'll see it links to the same frameworks you link in your framework. So if you remove -framework [Duplicated framework] the warning disappears.

    Seems to be a cocoapods error

提交回复
热议问题