Skip to content

Move GTMNSObject+KeyValueObserving over to ARC#548

Merged
dmaclach merged 1 commit into
mainfrom
fix_GTM
Aug 22, 2025
Merged

Move GTMNSObject+KeyValueObserving over to ARC#548
dmaclach merged 1 commit into
mainfrom
fix_GTM

Conversation

@dmaclach

Copy link
Copy Markdown
Collaborator

No description provided.

thomasvl
thomasvl previously approved these changes Aug 20, 2025
Comment thread Foundation/GTMNSObject+KeyValueObservingTest.m Outdated
@end

@interface GTMKeyValueObservingHelper : NSObject {
@private

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this might have been needed?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you think this was needed?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My mistake, I was looking at the errors for the CI jobs failing, and didn't read close enough; I was thinking it was something about the decl, but the problem is https://github.com/google/google-toolbox-for-mac/blob/main/GoogleToolboxForMac.podspec#L69-L74

Probably needs to have inserted:

    sp.requires_arc = 'Foundation/GTMNSObject+KeyValueObserving.{h,m}'

So it's like the Logger entry: https://github.com/google/google-toolbox-for-mac/blob/main/GoogleToolboxForMac.podspec#L76-L78

@dmaclach dmaclach merged commit 27f71f8 into main Aug 22, 2025
9 checks passed
thomasvl added a commit to thomasvl/google-toolbox-for-mac that referenced this pull request Sep 3, 2025
@thomasvl thomasvl deleted the fix_GTM branch September 4, 2025 18:15
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 this pull request may close these issues.

2 participants