Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method setServerZone is not fully implemented for iOS #127

Open
laocooler opened this issue Oct 19, 2023 · 1 comment
Open

Method setServerZone is not fully implemented for iOS #127

laocooler opened this issue Oct 19, 2023 · 1 comment
Labels
type: bug Something isn't working

Comments

@laocooler
Copy link

laocooler commented Oct 19, 2023

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 laocooler added the type: bug Something isn't working label Oct 19, 2023
@qingzhuozhen
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants