iosobjective-cswiftsmaato

Smaato for Swift iOS: linker command with exit code 1 (use -v to see invocation)


Xcode gets error which you can see below

Error

Smaato framework is Objective-C written framework but I use only Swift in my project. How can I manage this problem (I have only dragged and dropped Smaato framework to Xcode project space and checked that it works with import line)?


Solution

  • check whether you have added following frameworks: UIKit,Foundation,StoreKit,CoreTelephony,SystemConfiguration,MessageUI,AdSupport,QuartzCore,CoreLocation,CoreImage,CoreFoundation,EventKit