It seems like the 2.3.0 version of the Google Cast SDK for iOS stopped supporting the arm64
architecture (it does support x86_64
though, making it work in the 64-bit simulator)
λ: cd GoogleCast.framework
λ: file GoogleCast
GoogleCast: Mach-O universal binary with 5 architectures
GoogleCast (for architecture cputype (16777228) cpusubtype (0)): current ar archive
GoogleCast (for architecture armv7): current ar archive random library
GoogleCast (for architecture armv7s): current ar archive random library
GoogleCast (for architecture i386): current ar archive random library
GoogleCast (for architecture x86_64): current ar archive random library
Therefore, I get this error when building for a physical device:
ld: archive has no table of contents file '/Users/****/Frameworks/GoogleCast.framework/GoogleCast' for architecture arm64