Skip to content

Undefined symbol: dispatch thunk of LineSDK.LineSDKAccessToken.value.getter : Swift.String #220

@Kenward1336

Description

@Kenward1336

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.

Image

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions