Brightroom icon indicating copy to clipboard operation
Brightroom copied to clipboard

Xcode 13 Compile failed

Open Chen-Michael opened this issue 3 years ago • 2 comments

截圖 2021-09-27 14 12 22

Today I try build my SwiftUI project in Xcode 13, but some error occurred

I think it need to update dependencies

Reproduce version

pod 'Brightroom/Engine', '2.0.0-alpha.8' pod 'Brightroom/UI-Classic', '2.0.0-alpha.8' pod 'Brightroom/UI-Crop', '2.0.0-alpha.8'

Chen-Michael avatar Sep 27 '21 06:09 Chen-Michael

I solved this problem by using Swift Package Manager instead of CocoaPods. However, since the minimum supported version of SPM is iOS 14, if the supported version of your project is lower than that version, you must fork the repository and modify it.

  • https://github.com/HyunjoonKo/Brightroom/blob/spm_v12/Package.swift

HyunjoonKo avatar Oct 06 '21 10:10 HyunjoonKo

I solved this problem by using Swift Package Manager instead of CocoaPods. However, since the minimum supported version of SPM is iOS 14, if the supported version of your project is lower than that version, you must fork the repository and modify it.

  • https://github.com/HyunjoonKo/Brightroom/blob/spm_v12/Package.swift

Thank you for your feedback, it helped me a lot

Chen-Michael avatar Oct 16 '21 04:10 Chen-Michael