Move back warnings to Core

Related to https://github.com/CocoaPods/CocoaPods/issues/2028