mParticle / mparticle-apple-sdk

mParticle Apple SDK
Apache License 2.0
45 stars 66 forks source link

Declaration of 'MPIHasher' must be imported from module 'mParticle_Apple_SDK.Swift' before it is required #242

Closed techouse closed 9 months ago

techouse commented 9 months ago

Issue

I have noticed that mParticle-Apple-SDK/mParticle v8.17.0 introduces an import bug in mParticle-Appboy/MPKitAppboy.m

Modules Issue (Xcode): Declaration of 'MPIHasher' must be imported from module 'mParticle_Apple_SDK.Swift' before it is required

Workaround

The issue is not present in mParticle-Apple-SDK/mParticle v8.16.0 so a hotfix for that at the moment is to pin it to that version

pod 'mParticle-Apple-SDK/mParticle', '~> 8.16.0'

Note

I am limited to using mParticle-Appboy v8.0.16 because v8.1.x and v8.2.x don't yet support Braze's iOS SDK v7.

techouse commented 9 months ago

Fixed by https://github.com/mparticle-integrations/mparticle-apple-integration-appboy/pull/85