Skip to content

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

@Ariandr

Description

@Ariandr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions