protobuf: clang frontend command failed with exit code 70 (use -v to see invocation)

Viewed 1184

Recently I removed Fabric from project and installed Firebase/Crashlytics instead. After that when I try to upload app to AppStore using fastlane or do it using native Xcode tools I faced with such error:

Clang frontend command failed with exit code 70 (use -v to see invocation)

enter image description here

I've tried to clean DerivedData folder, pod deintegrate, pod install but error remains.

List of pods:

pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'Firebase/Database'
pod 'Firebase/Auth'
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'
pod 'Locksmith'
pod 'CryptoSwift'
pod 'QRCode'
pod 'MessageKit'
pod 'MessageInputBar'
pod 'Alamofire', '~> 5.0.0-beta.3'
pod 'SQLite.swift', '~> 0.12.0'
pod 'ReachabilitySwift'
pod 'Localize-Swift', '~> 2.0'

Version of Xcode - 10.1 (10B61)

Any ideas?

2 Answers

I had the same problem after removing Fabric and Crashlytics from my Podfile (Protobuf error). I simply put both back into my Podfile and the error when away in Xcode and I was able to archive my iOS project. The version of Protobuf went from 3.12.0 to 3.7.0 in my Podfile.lock. Xcode Version 10.1 (10B61) on MacOS 10.14 Mojave.

UPDATE - Protobuf 3.12.0 on Xcode 11.5 (11E608c) on MacOS 10.15.4 seems fine. I was able to remove Fabric and Crashlytics.

Related