unity-plugin icon indicating copy to clipboard operation
unity-plugin copied to clipboard

Method `setServerZone` is not fully implemented for iOS

Open laocooler opened this issue 2 years ago • 1 comments

Expected Behavior

The iOS build via Xcode is successful

Current Behavior

Build fails with

Assets/Plugins/iOS/Amplitude/AmplitudeCWrapper.m:199:60: error: no visible @interface for 'Amplitude' declares the selector 'setServerZone:updateServerUrl:'
    [[Amplitude instanceWithName:ToNSString(instanceName)] setServerZone:ampServerZone updateServerUrl:updateServerUrl];

Possible Solution

Either extend Amplitude.h and Amplitude.m with neccessary methods or could it be that the AMPServerZone.h and .m files are missing?

Steps to Reproduce

  1. Try to build a Unity app for iOS

Environment

  • Unity Plugin Version: 2.7.0
  • Device: build step
  • Device OS and Version: iOS

laocooler avatar Oct 19 '23 08:10 laocooler

Hi @laocooler , do you have the dependency manager with your build? And can you see the iOS SDK in your packages?

qingzhuozhen avatar Oct 26 '23 22:10 qingzhuozhen