Skip to content

"is implemented in both" runtime errors when integrating xcframeworks #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
arielelkin opened this issue Jun 19, 2023 · 3 comments · Fixed by #238
Closed

"is implemented in both" runtime errors when integrating xcframeworks #233

arielelkin opened this issue Jun 19, 2023 · 3 comments · Fixed by #238
Assignees
Labels

Comments

@arielelkin
Copy link

I'm integrating Segment using the xcframeworks available in this repo's and in Sovran's Releases:
https://github.com/arielelkin/segment-xcframework-bug

The app builds fine, but it leads to the following runtime errors and crashes:

objc[12470]: Class _TtC6Sovran5Store is implemented in both /Users/me/Library/Developer/Xcode/DerivedData/HosterFive-dkbcyakfxdmsbufprlbwoasbierr/Build/Products/Debug/HosterFive.app/Contents/Frameworks/Sovran.framework/Versions/A/Sovran (0x100548610) and /Users/me/Library/Developer/Xcode/DerivedData/HosterFive-dkbcyakfxdmsbufprlbwoasbierr/Build/Products/Debug/HosterFive.app/Contents/Frameworks/Segment.framework/Versions/A/Segment (0x100c40400). One of the two will be used. Which one is undefined.

objc[12470]: Class _TtC6Sovran9Container is implemented in both /Users/me/Library/Developer/Xcode/DerivedData/HosterFive-dkbcyakfxdmsbufprlbwoasbierr/Build/Products/Debug/HosterFive.app/Contents/Frameworks/Sovran.framework/Versions/A/Sovran (0x100548730) and /Users/me/Library/Developer/Xcode/DerivedData/HosterFive-dkbcyakfxdmsbufprlbwoasbierr/Build/Products/Debug/HosterFive.app/Contents/Frameworks/Segment.framework/Versions/A/Segment (0x100c40520). One of the two will be used. Which one is undefined.

2023-05-22 16:51:04.050325+0200 HosterFive[12470:3802694] Inspection is enabled by default for process or parent application with 'com.apple.security.get-task-allow' entitlement linked against old SDK. Use `inspectable` API to enable inspection on newer SDKs.
@arielelkin
Copy link
Author

@bsneed any updates?

@bsneed
Copy link
Contributor

bsneed commented Jun 28, 2023

Yup, about to dive in. Last one on my list before a release. :D

@bsneed
Copy link
Contributor

bsneed commented Jun 29, 2023

Fixed in 1.4.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants