Skip to content

Commit 0fa5686

Browse files
Address Expo prebuild issues
1 parent b982c41 commit 0fa5686

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugin/src/withMParticleIOS.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ function addMParticleToObjcAppDelegate(
338338
* These are dependencies of mParticle kits that must also be dynamic frameworks
339339
*/
340340
const KIT_TRANSITIVE_DEPENDENCIES: Record<string, string[]> = {
341-
'mParticle-Rokt': ['Rokt-Widget'],
341+
'mParticle-Rokt': ['Rokt-Widget', 'RoktContracts', 'RoktUXHelper', 'DcuiSchema'],
342342
// Add other kit dependencies here as needed
343343
// "mParticle-Amplitude": [],
344344
// "mParticle-Braze": [],
@@ -348,7 +348,7 @@ const KIT_TRANSITIVE_DEPENDENCIES: Record<string, string[]> = {
348348
* Get all pods that need dynamic framework linking
349349
*/
350350
function getDynamicFrameworkPods(iosKits?: string[]): string[] {
351-
const pods = ['mParticle-Apple-SDK'];
351+
const pods = ['mParticle-Apple-SDK', 'mParticle-Apple-SDK-ObjC', 'mParticle-Apple-SDK-Swift'];
352352

353353
if (iosKits) {
354354
for (const kit of iosKits) {

0 commit comments

Comments
 (0)