How to solve “Expected identifier for type name” caused by CryptoSwift addition

0 votes
asked Sep 13, 2017 by vishal-dharankar

I have a codebase where I am adding CryptoSwift through pods, and after adding it it compiler has started throwing 20 odd errors of type

Expected identifier for type name

My PodFile looks like this

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'
use_frameworks!
target 'TestApp' do
    pod 'AWSIoT'
    pod 'Fabric'
    pod 'Digits'
    pod 'Crashlytics'
    pod 'PureLayout'
    pod 'Amplitude-iOS', '~> 3.11.1'
    pod 'SDWebImage', '~>3.8'
    pod 'CryptoSwift'
    pod 'AWSCognitoIdentityProvider', '~> 2.5.0'
    pod 'AWSAPIGateway', '~> 2.5.0'
    pod 'AWSS3', '~> 2.5.0'
    pod 'PhoneNumberKit', '~> 1.3'
    pod 'ReachabilitySwift', '~> 3'
    pod 'libPhoneNumber-iOS', '~> 0.8'
    pod 'SVProgressHUD'
    pod 'Kingfisher', '~> 3.0'
    pod 'AwesomeCache', '~> 5.0'
    pod 'OHHTTPStubs/Swift'
    pod 'SwiftyGif'

end

target 'TestAppRecents' do
    pod 'AWSIoT'
    pod 'Fabric'
    pod 'Digits'
    pod 'CryptoSwift'
end

target ‘TestAppTests’ do
    pod 'AWSIoT'
    pod 'Fabric'
    pod 'Digits'
    pod 'Crashlytics'
    pod 'PureLayout'
    pod 'Amplitude-iOS', '~> 3.11.1'
    pod 'SDWebImage', '~>3.8'
    pod 'AWSCognitoIdentityProvider', '~> 2.5.0'
    pod 'AWSAPIGateway', '~> 2.5.0'
    pod 'AWSS3', '~> 2.5.0'
    pod 'PhoneNumberKit', '~> 1.3'
    pod 'ReachabilitySwift', '~> 3'
    pod 'libPhoneNumber-iOS', '~> 0.8'
    pod 'SVProgressHUD'
    pod 'Kingfisher', '~> 3.0'
    pod 'AwesomeCache', '~> 5.0'
    pod 'OHHTTPStubs/Swift'
    pod 'SwiftyGif'
end

Pod gets installed just fine I have added the file to point me out if any conflict Here is the additional info

enter image description here

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter

...