xcode "no such Module" when using cocoapods randomly occuring
When using cocoapods I’m getting the error "no such Module " intermittently. I spent several hours trying to find the answer but all answers referenced consistent behavior, while mine does not. I learned independently after ~ 6 hours that icloud would randomly offload the referenced framework causing the module not to be found during build time (as it is in the cloud and no longer available)
Solution: duplicate the project in a folder called .nosync to prevent icloud from interfering, therefore all frameworks will continue to be stored locally after installation.
I thought I’d share my findings so no one else has to waste as much time on this