wxxsw / SwiftTheme

🎨 Powerful theme/skin manager for iOS 9+ 主题/换肤, 暗色模式
MIT License
2.52k stars 306 forks source link

Cannot find type 'UIControl' in scope in ThemePicker.swift line 49 #143

Closed ethanwa closed 3 years ago

ethanwa commented 3 years ago

I'm getting an odd Error in Xcode when I'm trying to build that I can't seem to track down. SwiftTheme has been added via SPM (version 0.6.0). I've tried re-adding the package, deleting DerivedData, and more, but I can't stop the Error from occurring when adding SwiftTheme. I've even tried SwiftTheme 0.5.5 and I have the same issue. I'm wondering if maybe it's a conflict with one of my other packages, but I am not sure. Here is the Error:

Screen Shot 2021-02-19 at 1 16 26 AM

Here are the packages I use:

Screen Shot 2021-02-19 at 1 17 42 AM

Any ideas on what I should look for as to what could be causing this Error in this specific part of the code? I can't help but think this is some compiler problem in Xcode 12.4. I am on an M1 Mac.

wxxsw commented 3 years ago

I fixed the problem and released a new version 0.6.1.