Adding Testflight SDK: missing required architecture arm64 in file libTestFlight.a

Viewed 5680

I'm adding the Testflight SDK to my iOS project, but now I can't build the IPA for it.

The error I have is

 ld: warning: ignoring file     /Users/RM/Dropbox/SAM_iOS/mainApp/SAM/TestFlightSDK2/libTestFlight.a, missing required architecture arm64 in file /Users/RM/Dropbox/SAM_iOS/mainApp/SAM/TestFlightSDK2/libTestFlight.a (3 slices)
 Undefined symbols for architecture arm64:
 "_OBJC_CLASS_$_TestFlight", referenced from:
  objc-class-ref in AppDelegate.o
 ld: symbol(s) not found for architecture arm64
 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I've followed (three times) the steps detailed here, but the error keeps appearing. Any help is appreciated!

2 Answers
Related