BranchMetrics / unity-branch-deep-linking-attribution

The Branch Unity SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
https://docs.branch.io/apps/unity/
MIT License
118 stars 24 forks source link

No visible @interface for 'Branch' declares the selector 'enableLogging', 'addFacebookPartnerParameterWithName:value:', 'clearPartnerParameters' #195

Closed csritter closed 2 years ago

csritter commented 2 years ago

Hi, I've updated with the last Branch version (0.6.7) and iOS build have a strange issue which doesn't found 3 interfaces methods.

Screen Shot 2022-01-28 at 19 02 39

This issues its found in Unity 2020.3.26f1, Xcode 12.4/13.2.

Any ideas to solve this problem?

echo-branch commented 2 years ago

We did make a change to how we resolve our dependencies and it looks to me like you're still getting an old version of the underlying Branch iOS SDK. I didn't see that error when testing upgrade scenarios, but may have missed your setup. Which version were you upgrading from?

We now depend on Google's unity external dependency manager. https://github.com/googlesamples/unity-jar-resolver

csritter commented 2 years ago

The version was 0.6.4. So download the external dependecy manager from this repository?

echo-branch commented 2 years ago

That's usually not necessary since it should be included by the unitypackage. Check if you can find the menu for dependency resolution. Follow Google's documentation on updating the dependencies.

Might need a docs update to make this process more clear.

Screen Shot 2022-01-28 at 3 15 36 PM

csritter commented 2 years ago

Thanks @echo-branch for the support. I removed all the Branch folders, re-imported again and update google external dependency, and it looks like it's working now. I believe it's an old file that was included with it. Sorry for bother you.