iOS build failed - OneSignal pod error

I’m trying to build iOS, but i got this error:

Failed to restore plugin "onesignal-cordova-plugin". You might need to try adding it again. Error: Error: pod: Command failed with exit code 1

i’m not receiving this error on my local:

Ionic:

Ionic CLI : 6.12.3 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.5.2
@angular-devkit/build-angular : 0.901.13
@angular-devkit/schematics : 8.3.29
@angular/cli : 9.1.13
@ionic/angular-toolkit : 2.3.3

Cordova:

Cordova CLI : 10.0.0
Cordova Platforms : ios 6.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, cordova-plugin-ionic 5.4.7, (and 10 other plugins)

Utility:

cordova-res (update available: 0.15.2) : 0.9.0
native-run : not installed

System:

NodeJS : v14.15.4 (/usr/local/bin/node)
npm : 6.14.10
OS : macOS Big Sur

Hi wjsm93,

It looks like this issue could be related to using an old version of pods.

The Cocoapods versionin appflow depends on the Build stack used. Using the macOS - 2020.08 or latest stack would have the CocoaPods v1.9.3 or higher.

You can know more about all the available build stacks here!

If you are facing any further issues, I would encourage you to contact the Appflow support for further assistance.

Thanks,

The macOS - 2020.11 of Appflow uses CocoaPods 1.10.0 i have 1.10.1 in my iMac but i can’t do “pod repo update” with shell because i don’t have permissions on the VM.