DataDog / dd-sdk-kotlin-multiplatform

Datadog SDK for Kotlin Multiplatform
Apache License 2.0
4 stars 0 forks source link

ld: framework 'DatadogObjc' not found during linkDebugFrameworkIosArm64 task in KMM iOS framework #94

Open etilly opened 4 days ago

etilly commented 4 days ago

Question

Hello,

We recently integrated the Datadog SDK into our Kotlin Multiplatform Mobile (KMM) project. When generating the iOS framework using the embedAndSignAppleFrameworkForXcode task, we encounter the following error :

Image

Despite these efforts, the issue persists.

Do you have any insights on how to resolve this?

Thank you in advance for your help.

0xnm commented 1 day ago

Hello @etilly!

DatadogObjc should be added to the Frameworks list in the XCode (since you are using embedAndSignAppleFrameworkForXCode.

Image

If you have it added there and problem still persists, can you please share with us more details: what is the Kotlin version you are using, what is your build script, etc.?