In my case, I opened the wrong file (opened the .xcodeproj instead of .xcworkspace). In case someone else suffers the same lapsus 😅