3

I've integrated Google cast support in my iOS app using official documentation and cocoapods. It's mentioned that before publishing app, you need to run shell script strip_unused_archs.sh to strip unused architectures from the app bundle.

I've tried adding script in buildphase/runphase section but it's not working. I'm facing the issue while locating the script. However i can locate it if i use cast SDK manually (without pods)

I tried this stackover flow thread, but no help as i'm not able to locate the script in my project.

How to run this script when you're using cocoapods?

Fayza Nawaz
  • 2,256
  • 3
  • 26
  • 61

1 Answers1

1

If you have added Google cast using cocoapods, you don't have to strip any symbols. If you've added it manually, then you must add the script to remove them.

Fayza Nawaz
  • 2,256
  • 3
  • 26
  • 61
  • 2
    Approximately how big is the GoogleCast.framework supposed to me? I installed with Cocoapods and the framework is around 650MB, which seems too big. https://stackoverflow.com/questions/53465950/why-is-chromecast-sdk-for-ios-with-so-big-when-installed-with-cocoapods – gohnjanotis Nov 25 '18 at 08:59