twilio / video-quickstart-ios

Twilio Video Quickstart for iOS
https://www.twilio.com/docs/api/video
MIT License
460 stars 177 forks source link

"Command PhaseScriptExecution failed with a nonzero exit code" conflict only with firebase. #540

Closed piyusharma13 closed 4 years ago

piyusharma13 commented 4 years ago

Description

My app is live and users are facing issues so when I am trying to integrate Firebase functionality with existing Twilio I am facing an issue related to "Command PhaseScriptExecution failed with a nonzero exit code" This is happening only with firebase pods, I have tried other pods and everything is working fine.

Steps to Reproduce -

  1. Happening when I am archiving app. App builds and runs on simulator.

Please note -

  1. When I uncheck "Run script only when installing" app doesn't build on simulator.

Tried following -

  1. Disintegrated pods - cleared and reinstalled.
  2. Cleared derived data.
  3. Verified pods are not under source control (git).

    I am using following pods:

    pod 'TwilioVideo', '~> 3.4' pod 'TwilioChatClient', '~> 3.1 pod 'Firebase/Crashlytics pod 'Firebase/Analytics

    Versions

All relevant version information for the issue.

Video iOS SDK

[3.4 via CocoaPods]

Xcode

[11.5]

iOS Version

[Minimum - 11]

iOS Device

[Iphones only]

Update - Removing screenshots

piyusharma13 commented 4 years ago

Please find the response of Firebase support team: Without adding another RunScript (just Twilio's one remaining), I am able to create an archive.

Update - Removing screenshots

piyushtank commented 4 years ago

@piyusharma13 If you are using cocoapods, you may not be required to have an additional run script for remove_arch scripts. Our documentation has room for improvements which we will update in future.

Let me know if you have any questions.

piyusharma13 commented 4 years ago

We are able to create an archive also with run Script by configuring build settings. Thank you for the help.