line-sdk-ios-swift
line-sdk-ios-swift copied to clipboard
Undefined symbol: dispatch thunk of LineSDK.LineSDKAccessToken.value.getter : Swift.String
Hello,
We are developing a Swift framework to be used in Unity.
While working on adding Line Login, we encountered an issue. We successfully added the dependency via CocoaPods, wrote the necessary code, and built the framework without any errors.
However, when adding the framework to the Unity iOS build project and attempting to build, we encountered issues where certain Swift functions could not be found, such as:
Undefined symbol: dispatch thunk of LineSDK.LineSDKAccessToken.value.getter : Swift.String
Undefined symbol: dispatch thunk of LineSDK.LineSDKLoginResult.accessToken.getter : LineSDK.LineSDKAccessToken
Undefined symbol: dispatch thunk of LineSDK.LineSDKLoginManager.application(_:__C.UIApplication, open: Foundation.URL, options: [__C.UIApplicationOpenURLOptionsKey : Any]) -> Swift.Bool
and along with some other errors of the same kind.
Following the guide, we were able to integrate it successfully using Objective-C. But, our goal is to build the framework purely in Swift.
Would you be able to provide any insights or solutions for this issue?