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

Use non_arc_srcs instead of srcs for objc_library, since protoc-generated .m files don't use ARC. #401

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrep
Copy link

@andrep andrep commented Feb 25, 2025

I wasn't sure how to build & run tools/rulegen to make the changes to modules/objc/objc_(grpc)_library.bzl files, though I have validated that the if the files are edited directly, this change works for me as expected. I'm happy to run, rebuild, and test if someone can help me out with that.

For the actual ARC change, see the Objective-C protobuf Building documentation note about ARC: "If the target is using ARC, remember to turn off ARC (-fno-objc-arc) for the .m files.

@github-actions github-actions bot added the lang-objc Objective-C rules specific label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-objc Objective-C rules specific
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant