Skip to content

Implicit declaration of function 'pb_release' is invalid in C99 - GDTCCTUploader #12699

@ykhandelwal913

Description

@ykhandelwal913

Description

error: call to undeclared function 'pb_release'; ISO
C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
pb_release(gdt_client_metrics_ClientMetrics_fields, &clientMetricsProto);

The following build commands failed:
CompileC /Users/xxxxx/test/iOS/output/aws/Build/Intermediates.noindex/GoogleDataTransport.build/Debug-iphoneos/GoogleDataTransport.build/Objects-normal/arm64/GDTCORMetrics+GDTCCTSupport.o /Users/xxxxx/test/iOS/output/aws/SourcePackages/checkouts/GoogleDataTransport/GoogleDataTransport/GDTCCTLibrary/GDTCORMetrics+GDTCCTSupport.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'GoogleDataTransport' from project 'GoogleDataTransport')

I see similar issue reported #6741.

@chanuuuu how did you resolve this issue with fastlane?

Reproducing the issue

No response

Firebase SDK Version

10.23.1

Xcode Version

15.1

Installation Method

Swift Package Manager

Firebase Product(s)

Crashlytics

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved. 

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock! 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions