Skip to content

[FIX] XCode 12: 'SessionDelegate' has different definitions in different modules - #37

Open
JMCPH wants to merge 1 commit into
KaneCheshire:mainfrom
JMCPH:fix/xcode-12-SessionDelegate
Open

[FIX] XCode 12: 'SessionDelegate' has different definitions in different modules#37
JMCPH wants to merge 1 commit into
KaneCheshire:mainfrom
JMCPH:fix/xcode-12-SessionDelegate

Conversation

@JMCPH

@JMCPH JMCPH commented May 18, 2021

Copy link
Copy Markdown

Added @objc(...) attribute to the SessionDelegate class, which will update the Obj-C interface in a generated ...-Swift.h file, to avoid the name conflict with other libraries with a class named SessionDelegate (e.g. Alamofire, Kingfisher...)

@JMCPH

JMCPH commented May 18, 2021

Copy link
Copy Markdown
Author

@JMCPH

JMCPH commented May 18, 2021

Copy link
Copy Markdown
Author

@KaneCheshire I have made this PR 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant