React-native-background-geolocation: Could not find auto-linked framework 'TSBackgroundFetch' Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_TSBackgroundFetch"

Created on 30 Jan 2020  路  3Comments  路  Source: transistorsoft/react-native-background-geolocation

Your Environment

  • Plugin version: 3.4.2
  • Platform: iOS or Android: iOS
  • OS version: 12.4
  • Device manufacturer / model: iPhoneX
  • React Native version :0.61.5
  • Plugin config

Expected Behavior

Project should compile

Actual Behavior

On build below error is thrown:
Could not find auto-linked framework 'TSBackgroundFetch'
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_TSBackgroundFetch", referenced from:
objc-class-ref in TSLocationManager(TSLocationManager.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Steps to Reproduce

  1. pod install
  2. try to build
  3. error thrown

Context


Trying to build the project

Debug logs


Logs

<!-- Syntax highlighting: DO NOT REMOVE --> PASTE_YOUR_LOGS_HERE

Most helpful comment

yarn add react-native-background-fetch
pod install

All 3 comments

yarn add react-native-background-fetch
pod install

Awesome, It worked. Thanks for quick reply.

Was this page helpful?
0 / 5 - 0 ratings