Aleksey Shevchenko
Aleksey Shevchenko

Reputation: 1251

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

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?

Upvotes: 3

Views: 1432

Answers (2)

Cuong Vu
Cuong Vu

Reputation: 26

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.

Upvotes: 0

Paul Beusterien
Paul Beusterien

Reputation: 29582

Current version of Firebase require at least Xcode 10.3. Details at https://firebase.google.com/docs/ios/setup

Upvotes: 2

Related Questions