2
Try to install the Cocoapods and then remove and add again the plugin onesignal
. Cocoapods makes it easy to implement libs in Xcode.
sudo gem install cocoapods
pod repo update
If even after the above procedure the error continues, try to open the file .xcworkspace
instead of the .xcodeproj