You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I open workspace and build ios framework. Then embedded the LanuchDarkly.framework & LDSwiftEventSource.framework into our project. It show below error:
Class _TtC18LDSwiftEventSource11EventParser is implemented in both /Users/rcadmin/jenkins-slave/workspace/CommonCI-mThor-Core-Auto-Generate/RingCentral-Core/build/Build/Products/Debug-iphonesimulator/core-test.xctest/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource (0x170ba2498) and /Users/rcadmin/jenkins-slave/workspace/CommonCI-mThor-Core-Auto-Generate/RingCentral-Core/build/Build/Products/Debug-iphonesimulator/core-test.xctest/Frameworks/LaunchDarkly.framework/LaunchDarkly (0x1708fa870). One of the two will be used. Which one is undefined.
I found EventParser symbol exist in LanuchDarkly.framework, not reasonable because it just belongs to LDSwiftEventSource.framework.
I open project & found the dependency is framework, but link by using static in project build phase tab.
Incorrect, right?
The text was updated successfully, but these errors were encountered:
Hello @kinglezhuang, Apologies for the delay and thank you for waiting. From your error, it seems that the linker is complaining there are multiple implementations of LDSwiftEventSource. Because the iOS SDK already listed LDSwiftEventSource as a [dependency] (https://github.com/launchdarkly/ios-client-sdk/blob/v5/Package.swift#L22), have you tried to only embed LaunchDarkly.framework?
I open workspace and build ios framework. Then embedded the LanuchDarkly.framework & LDSwiftEventSource.framework into our project. It show below error:
Class _TtC18LDSwiftEventSource11EventParser is implemented in both /Users/rcadmin/jenkins-slave/workspace/CommonCI-mThor-Core-Auto-Generate/RingCentral-Core/build/Build/Products/Debug-iphonesimulator/core-test.xctest/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource (0x170ba2498) and /Users/rcadmin/jenkins-slave/workspace/CommonCI-mThor-Core-Auto-Generate/RingCentral-Core/build/Build/Products/Debug-iphonesimulator/core-test.xctest/Frameworks/LaunchDarkly.framework/LaunchDarkly (0x1708fa870). One of the two will be used. Which one is undefined.
I found EventParser symbol exist in LanuchDarkly.framework, not reasonable because it just belongs to LDSwiftEventSource.framework.
I open project & found the dependency is framework, but link by using static in project build phase tab.
Incorrect, right?
The text was updated successfully, but these errors were encountered: