nativescript-cli: Linker command failing with 7.0.10 version

Environment

  • CLI: 7.0.10
  • Cross-platform modules: 7.0.11
  • Android Runtime: 7.0.0
  • iOS Runtime: 7.0.2-rc1

Describe the bug

Running ns run ios using CLI 7.0.10 and iOS runtime 7.0.2-rc1 (same for 7.0.1) fails with error below 👇

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_SDImageCache", referenced from:
      objc-class-ref in ABKSDWebImageProxy.o
  "_OBJC_CLASS_$_SDWebImageManager", referenced from:
      objc-class-ref in ABKSDWebImageProxy.o
  "_OBJC_CLASS_$_SDWebImageActivityIndicator", referenced from:
      objc-class-ref in ABKSDWebImageProxy.o
  "_OBJC_CLASS_$_SDWebImagePrefetcher", referenced from:
      objc-class-ref in ABKContentCardsTableViewController.o
      objc-class-ref in ABKNewsFeedTableViewController.o
      objc-class-ref in ABKSDWebImageProxy.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It works fine with CLI 7.0.9-rc.2 and iOS runtime 7.0.0 though.

To Reproduce

Execute ns run ios with CLI 7.0.10.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (7 by maintainers)

Most upvoted comments

@NathanaelA, thanks, pushed to your repo, PR 1 is the one you need.

@NathanaelA, could I please share my project via some private repo here so you can try it on your machine as well?

UPD. Sent an invite, the latest needed code you can test is under PR 1.