From 4fe40a53b045ca2938fe5c632fc0af2c5b2422cb Mon Sep 17 00:00:00 2001 From: gregory Date: Fri, 25 Sep 2020 13:38:55 +0900 Subject: [PATCH] Currently BSImagePicker has issues on Xcode 12. Xcode show build error when user has 'Settings.swift' same name class. It is Objc header conflict issue. also I got error too because my project has 'Settings' Coredata model class. --- Sources/Model/Settings.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Model/Settings.swift b/Sources/Model/Settings.swift index f284f9e0..133a3a42 100755 --- a/Sources/Model/Settings.swift +++ b/Sources/Model/Settings.swift @@ -23,7 +23,7 @@ import UIKit import Photos -/// Settings for BSImagePicker +@objc(BSSettings) // Fix for ObjC header name conflicting. @objcMembers public class Settings : NSObject { public static let shared = Settings()