Can't distribute Ionic 3 app on IOS - Found an unexpected Mach-O header code: 0x72613c21

I’ve recently upgraded to a new server with the most recent MacOS on MacinCloud (since i don’t own a Macbook or IMac), now using the XCode 11.4 i’m not able to distribute my Ionic 3 app. With the old version (Mojave and XCode 11.3) i was able to distribute it normally, but now since Apple Store will not accept distribution of apps without the iOS 13 SDK or later i’m having this issue, can somebody help?
I am able to test it on any Simulator but when i try to archive it XCode shows “Found an unexpected Mach-O header code: 0x72613c21”.

My Ionic info:

Ionic:

   Ionic CLI          : 5.4.13 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms : android 6.3.0, ios 5.1.1
   Cordova Plugins   : cordova-plugin-ionic-webview 1.1.1, (and 29 other plugins)

Utility:

   cordova-res (update available: 0.12.0) : 0.8.1
   native-run                             : not installed

System:

   ios-deploy : 1.10.0
   ios-sim    : 8.0.2
   NodeJS     : v12.13.1 (/usr/local/bin/node)
   npm        : 6.13.6
   OS         : macOS Catalina
   Xcode      : Xcode 11.4 Build version 11E146

My plugin list (it’s a big app :sweat_smile:):

call-number 0.0.2 "Cordova Call Number Plugin"
com.telerik.plugins.nativepagetransitions 0.6.5 "Native Page Transitions"
com.thiagoprz.imagepicker 2.1.11 "ImagePicker"
cordova-android-play-services-gradle-release 1.3.0 "cordova-android-play-services-gradle-release"
cordova-google-api-version 0.0.1 "cordova-google-api-version"
cordova-plugin-add-swift-support 1.7.1 "AddSwiftSupport"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-badge 0.8.7 "Badge"
cordova-plugin-camera 4.0.2 "Camera"
cordova-plugin-device 1.1.7 "Device"
cordova-plugin-facebook4 1.9.1 "Facebook Connect"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-file-opener2 2.0.19 "File Opener2"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-filechooser 1.0.1 "File Chooser"
cordova-plugin-filepath 1.0.2 "FilePath"
cordova-plugin-filepicker 1.1.4 "File Picker"
cordova-plugin-firebase 1.0.5 "Google Firebase Plugin"
cordova-plugin-fullscreen 1.1.0 "cordova-plugin-fullscreen"
cordova-plugin-geolocation 3.0.0 "Geolocation"
cordova-plugin-googleplus 5.2.3 "Google SignIn"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-inapppurchase 1.1.0 "In App Purchase"
cordova-plugin-ionic-webview 1.1.19 "cordova-plugin-ionic-webview"
cordova-plugin-ios-disableshaketoedit 1.0.0 "iOS Disable Shake to Edit"
cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification"
cordova-plugin-nativegeocoder 3.1.1 "NativeGeocoder"
cordova-plugin-network-information 2.0.1 "Network Information"
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-x-socialsharing 5.3.2 "SocialSharing"
cordova-sqlite-storage 2.3.0 "Cordova sqlite storage plugin"
cordova.plugins.diagnostic 3.9.2 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-keyboard 2.2.1 "Keyboard"
onesignal-cordova-plugin 2.4.1 "OneSignal Push Notifications"

My Podfile:

platform :ios, '10.0'

target 'Beemob' do
  project 'Beemob.xcodeproj'
  pod 'OneSignal', '>= 2.11.2', '< 3.0'
end

target 'OneSignalNotificationServiceExtension' do
  pod 'OneSignal', '>= 2.11.2', '< 3.0'
end

I searched a lot on the web and couldn’t find a solution to this problem, usually this error must be related to the desktop or Podfile, but nothing helped.