XCode project is not building

Hi folks, I'm really happy you have made this and would love to chat more on the subject if that's your jam.

However, I am struggling to integrate your plugin with my project. I have updated to Unity 2020.3.36f1 (Unity 2020.3.33f1 does not open on my laptop, seem like others had similar issues).

The plugin compiles correctly in my Unity project, and I have referenced AccessibilitySettings.PreferredContentSizeMultiplier. Unity builds the XCode project fine, but I cannot build in XCode because of a series of errors like this:

Undefined symbols for architecture arm64:

  "__UnityAX_registerAccessibilityPreferredContentSizeCategoryDidChangeNotification", referenced from:

      _AccessibilitySettings_RegisterCallbacks_m24D66FBB224A583EB09114081A38990B392CC1F4 in Apple.Accessibility.o

      _AccessibilitySettings__UnityAX_registerAccessibilityPreferredContentSizeCategoryDidChangeNotification_mAE514A0A5C03E7E91AC797D9FB1E52650D30AB1E in Apple.Accessibility.o

     (maybe you meant: _AccessibilitySettings__UnityAX_registerAccessibilityPreferredContentSizeCategoryDidChangeNotification_mAE514A0A5C03E7E91AC797D9FB1E52650D30AB1E)

  "__UnityAX_registerAccessibilityIsSwitchControlRunningDidChangeNotification", referenced from:

      _AccessibilitySettings_RegisterCallbacks_m24D66FBB224A583EB09114081A38990B392CC1F4 in Apple.Accessibility.o

I suspect I am not linking a library I should be, however, adding the Accessibility framework to Embedded Frameworks or to the UnityFramework has not resolved the issue.

Could you please point me in the right direction?

All the best,

Le-Roy

Replies

Not sure if I can edit my previous post. Thought I should add that XCode is Version 13.4.1 (13F100)