user11182249
user11182249

Reputation:

ld: symbol(s) not found for architecture arm64

I am getting multiple errors in Xcode:

I just implemented this cocoa pod:

pod 'SwiftVideoBackground', '~> 3.0'

from here. This pod is the reason for the error. Although after deleting it from the project and reading all other pods I found that the Twitter dependency still exists.

enter image description here

Pods im using:

pod 'RealmSwift'
pod 'Firebase'
pod 'Firebase/Firestore'
pod 'Firebase/Storage'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'FirebaseUI'
pod 'SDWebImage'
pod 'Mapbox-iOS-SDK', '~> 4.9'
pod 'SwiftVideoBackground', '~> 3.0'

What is this and how can I fix it?

Update:

Some more info as requested:

The large message before the message shown in the image reads:

    Undefined symbols for architecture arm64:
  "_TWTRCoreOAuthSigningOAuthEchoHeaders", referenced from:
      -[TWTROAuthSigning OAuthEchoHeadersForRequestMethod:URLString:parameters:error:] in TwitterKit(TWTROAuthSigning.o)
...

At the end of the long message it says:

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Upvotes: 0

Views: 3716

Answers (1)

user11182249
user11182249

Reputation:

I was able to solve this by running:

pod outdated

and then

pod update

Upvotes: 0

Related Questions