Skip to content

Commit

Permalink
Currently BSImagePicker has issues on Xcode 12.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gregory-macarong committed Sep 25, 2020
1 parent afc6b93 commit 4fe40a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Model/Settings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 4fe40a5

Please sign in to comment.