Ionic ios build release can't upload to app store

Hi,

I have a ionic v3 and I’m using one signal notification. I already update my ionic cordova platform ios to 5.0.0. But When I successfully run ionic cordova build ios --prod --release and archive my ios app. it say’s "ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 11.2 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later.""

Hey, I have exactly the same problem. Have you already manage to solve the issue? I would really apreciate to know how you solved that.