Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google cast doesn't support arm64 architecture on simulators #132

Open
Ariandr opened this issue Apr 14, 2023 · 3 comments
Open

Google cast doesn't support arm64 architecture on simulators #132

Ariandr opened this issue Apr 14, 2023 · 3 comments

Comments

@Ariandr
Copy link

Ariandr commented Apr 14, 2023

Now, in order to build the project, I need to exclude arm64 architecture in Build Settings because of using google cast pod.

Starting from Xcode 14.3, it messes with displaying live issues and displaying the build warnings and errors after the successful build.
The issue and solution is described here: https://developer.apple.com/forums/thread/715103?answerId=749818022#749818022

But unfortunately, if I remove arm64 from excluded architectures, the project doesn't compile because I get this error:
In /Users/***/Documents/Work/iOS/***/Pods/google-cast-sdk-no-bluetooth/GoogleCastSDK-ios-4.7.0_static/GoogleCast.framework/GoogleCast(GCKCastContext+UI.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/***/Documents/Work/iOS/**/Pods/google-cast-sdk-no-bluetooth/GoogleCastSDK-ios-4.7.0_static/GoogleCast.framework/GoogleCast' for architecture arm64

@HarisHare
Copy link

HarisHare commented Jun 1, 2023

I was having the same issue while building a flutter app. Found this in docs https://developers.google.com/cast/docs/ios_sender
There is a section near the end on how to manually update to version 4.7.1 which supports arm64 for simulators.
Hope it helps

@Ariandr
Copy link
Author

Ariandr commented Jun 2, 2023

Hi @HarisHare
Thanks!

@Ariandr
Copy link
Author

Ariandr commented Jun 12, 2023

Hi.
Does anyone know when 4.7.1 is going to be available via Cocoapods?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants