Cannot find 'UIDevice' in scope
OnurVar opened this issue Β· comments
Thanks for the quick fix. It was also working on my project using cocoapods. But when I switch to SPM from cocoapods, it failed. I believe this is because of the way cocoapod handles uikit framework.
Best regards
Thanks for explaining π Just searched for two seconds on Google, and there is already a Medium article about that issue: UIKit is currently being imported by CocoaPods in iOS-targeted Pods π