hippogamesunity / SimpleSignIn

A set of assets for Unity to authenticate users on different platforms with OAuth 2.0
4 stars 0 forks source link

Undefined symbols #4

Closed guirimarc closed 3 weeks ago

guirimarc commented 3 weeks ago

Getting this on iOS when archiving.

 Undefined symbols for architecture arm64:
17:26:39     "_dismiss", referenced from:
17:26:39         _SafariViewController_dismiss_mE000F2444A4008D3B569102EB3FF1134F7AFF648 in libGameAssembly.a[716](0w6nl0ql3ylg.o)
17:26:39         _SafariViewController_Close_m4501B7496C1B98A6FF726EE5140643EA1CF6200E in libGameAssembly.a[716](0w6nl0ql3ylg.o)
17:26:39         _XAuth_OnDeepLinkActivated_m441B20C804D6362739F7D87217FA7739F640F617 in libGameAssembly.a[716](0w6nl0ql3ylg.o)
17:26:39     "_openURL", referenced from:
17:26:39         _SafariViewController_openURL_mF37533D9C17B465D92282D7A530B0CD576D6C134 in libGameAssembly.a[716](0w6nl0ql3ylg.o)
17:26:39         _SafariViewController_OpenURL_mD15A8CABF8BDA95449F384B6F310D8FE582F5DCA in libGameAssembly.a[716](0w6nl0ql3ylg.o)
17:26:39   ld: symbol(s) not found for architecture arm64

image

hippogamesunity commented 3 weeks ago

Hello! Reimport the asset and make sure that SafariViewController.mm exists in Plugins/iOS

guirimarc commented 3 weeks ago

Yes sorry, for some reason I didn't have the .mm file. My bad.