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

See original GitHub issue

Your Environment

  • Plugin version: 4.0.4
  • Platform: iOS
  • OS version: 12 xcode 13.1
  • Device manufacturer / model:
  • React Native version (react-native -v):0.64.2
  • Plugin config

Expected Behavior

Project should compile

Actual Behavior

ld: warning: ignoring file …/node_modules/react-native-background-fetch/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_armv7/TSBackgroundFetch.framework/TSBackgroundFetch, missing required architecture x86_64 in file …/node_modules/react-native-background-fetch/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_armv7/TSBackgroundFetch.framework/TSBackgroundFetch (2 slices) Undefined symbols for architecture x86_64: “OBJC_CLASS$_TSBackgroundFetch”, referenced from: objc-class-ref in RNBackgroundFetch+AppDelegate.o objc-class-ref in libRNBackgroundFetch.a(RNBackgroundFetch.o) 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

pod install try to build error thrown

Context

Trying to build the project

Debug logs

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
franbouacommented, Nov 24, 2021

I found my problem it was in the project.pbxproj file where there were references to react-native-background-fetch.

thank you for the help

1reaction
franbouacommented, Nov 22, 2021

I try with version 4.4.4 for react-native-background-geolocation but …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find auto-linked framework 'TSBackgroundFetch ...
Could not find auto-linked framework 'TSBackgroundFetch' Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_TSBackgroundFetch" #966.
Read more >
Xcode 11 beta 4: Could not find or use auto-linked library ...
... not find or use auto-linked library, Undefined symbols for architecture armv7 ... I've got a framework project with mixed Objective-C and Swift...
Read more >
Undefined symbols for architecture x86_64: "_OBJC_CLASS_ ...
Click on your project in Xcode 2. Select General 3. Locate "Linked Frameworks and Libraries" 4. Click the plus button at the bottom...
Read more >
Problem with building project to test in Xcode... : r/gamemaker
d: warning: Could not find or use auto-linked framework 'FBLPromises' Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_JSContext", ...
Read more >
Auto-linked FBLPromises issue with Sdkbox and Admob
d: warning: Could not find or use auto-linked framework 'FBLPromises' Undefined symbols for architecture armv7: "_OBJC_CLASS_$_JSContext", referenced from: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found