Removing headers is not actual solution if you actually use the Appname-Swift.h
header - in such cases you need to find which additional headers to import in order to fix the issue. The solution for current issue can be
#import <PassKit/PassKit>
Found the solution in this thread: https://stackoverflow.com/a/34397364/1679620