Skip to content

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

Closed
@arielelkin

Description

@arielelkin

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions