Invoke notification expectation actions when we aren't using a matcher.
Make podspec compatible with the latest CocoaPods.