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

Architecture exclusions in tealium_firebase.podspec #33

Open
RubenNunez opened this issue Jul 21, 2023 · 1 comment
Open

Architecture exclusions in tealium_firebase.podspec #33

RubenNunez opened this issue Jul 21, 2023 · 1 comment

Comments

@RubenNunez
Copy link

Hi, while examining the 'tealium_firebase.podspec' file in the 'tealium-flutter/remotecommands/tealium_firebase/ios' directory, I noticed the configuration s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386, arm64' }.

I am interested in understanding why these specific architectures (i386, arm64) are excluded for simulator builds. I am facing challenges with simulator builds in my project and suspect that these exclusions could be the cause.

Any explanation about this configuration and advice on how to handle simulator build issues due to these exclusions would be greatly appreciated.

Thank you in advance for your assistance.

@Enricoza
Copy link
Contributor

Hi @RubenNunez, thanks for opening this issue.
The reason for the two exclusion is very simple: flutter doesn't support i386 and CocoaPods used to not support arm64 for simulators.

So we will remove the arm64 exclusion soon to allow M1 and M2 users to easily build on the simulator.

At the moment as a workaround you can just change the project settings (and remove the "excluded archs" from the tealium-flutter pod settings) after the pod install or add a post install script in your podfile to do that automatically.

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

Successfully merging a pull request may close this issue.

2 participants