Buglife / Buglife-iOS

Awesome bug reporting for iOS apps
Apache License 2.0
509 stars 63 forks source link

Undefined symbols #45

Open eimantas opened 5 years ago

eimantas commented 5 years ago

Hi,

Buglife SDK version: 2.10.1 macOS: 10.14.4 Xcode: 10.1 (10B61)

After downloading Buglife SDK and plugging it into the project I receive the following linking errors:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_LIFEAlertAction", referenced from:
      objc-class-ref in Buglife(Buglife+UIStuff.o)
  "_OBJC_CLASS_$_LIFEImageEditorView", referenced from:
      objc-class-ref in Buglife(LIFEContainerAlertToImageEditorAnimator.o)
  "_OBJC_CLASS_$_LIFEAlertAnimator", referenced from:
      objc-class-ref in Buglife(LIFEContainerViewController.o)
  "_OBJC_CLASS_$_LIFEAlertController", referenced from:
      objc-class-ref in Buglife(LIFEContainerViewController.o)
      objc-class-ref in Buglife(Buglife+UIStuff.o)
  "_OBJC_CLASS_$_LIFEImageEditorViewController", referenced from:
      objc-class-ref in Buglife(LIFEReportTableViewController.o)
      objc-class-ref in Buglife(LIFEContainerViewController.o)
      objc-class-ref in Buglife(Buglife.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Update: it seems that installation instructions on the website have link to the faulty sdk. Installing the SDK by following instructions here (btw, using Carthage) - worked correctly.