Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Build get fails at Compiling Annotations.pbobjc.m on Azure Hosted macos agent #144

Open
kartheekmunaga opened this issue Jul 9, 2020 · 1 comment

Comments

@kartheekmunaga
Copy link

Receiving below error when running build on Azure Hosted macos agents

Compiling Annotations.pbobjc.m

❌ /Users/runner/work/1/s/platforms/ios/google/api/Annotations.pbobjc.m:40:10: field designator 'messageOrGroupClassName' does not refer to any field in type 'GPBExtensionDescription' (aka 'struct GPBExtensionDescription'); did you mean 'messageOrGroupClass'?

    .messageOrGroupClassName = GPBStringifySymbol(HttpRule),

The following build commands failed:
CompileC /Users/runner/Library/Developer/Xcode/DerivedData/Astro-cbybgdgxvrloqgdxhdtbywxtcjun/Build/Intermediates.noindex/Pods.build/Release-iphoneos/googleapis.build/Objects-normal/arm64/Annotations.pbobjc.o /Users/runner/work/1/s/platforms/ios/google/api/Annotations.pbobjc.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
##[debug]success of first tool:false
##[debug]rc:0
##[debug]success:true
##[debug]task result: Failed
##[error]Error: /usr/bin/xcodebuild failed with return code: 65

Xcode 11.3.1

Can anyone throw some light on how to fix this error.

Thanks in advance!

@tansaku
Copy link

tansaku commented Aug 7, 2020

I think I managed to move beyond this error by changing .messageOrGroupClassName to .messageOrGroupClass

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

No branches or pull requests

2 participants