'TSBackgroundFetch/TSBackgroundFetch.h' file not found xcode 13

See original GitHub issue

Your Environment

  • Plugin version: “react-native-background-fetch”: “^4.0.1”, “react-native-background-geolocation”: “^4.4.4”,
  • Platform: iOS
  • OS version: macOs Monteret 12.1
  • Device manufacturer / model: MacBook Air (M1, 2020)
  • React Native version (react-native -v): react-native-cli: 2.0.1, react-native: 0.63.4
  • Plugin config

image image image image image

Expected Behavior

Should compile without errors

Actual Behavior

build failed to compile image image

Steps to Reproduce

cd ios pod install cd … yarn ios

Or build the project on Xcode

Context

I’ve followed the documentation to auto-link this with IOS, I’ve checked other issues and tried to change the deployment version, the Android version compiles with success as you can see on the print bellow: image

I’ve also tried to uninstall the two libs and reinstall with the latest version.

Debug logs

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rodrigodiasf1984commented, Feb 1, 2022

@christocracy @mikehardy Thanks for you’re help i’ve just manage to compile a new project on xcode, I used this tutorial to config my mac https://medium.com/@davidjasonharding/developing-a-react-native-app-on-an-m1-mac-without-rosetta-29fcc7314d70 and I used the latest version of
“react-native”: “0.67.2”, “react-native-background-fetch”: “^4.0.4”, “react-native-background-geolocation”: “^4.4.4”

image

0reactions
rodrigodiasf1984commented, Jan 27, 2022

@mikehardy thanks for your help, I’ll upgrade my version on the project!! I hope this works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

'TSBackgroundFetch/TSBackgroundFetch.h' file not found #902
The build fails both when executed from command line ( react-native run-ios ) or through Xcode. Debug logs. I suspect logs will only...
Read more >
Getting error "No such module" using Xcode, but the ...
If the Modules folder is missing the "MyFramework.swiftmodule" folder then the framework will be found but Xcode won't know about its contents so...
Read more >
Xcode 12 beta 4 - error compiling … | Apple Developer Forums
An existing framework library workspace compiles without error when targeting iOS device architecture, but when targeting Simulator I receive the following ...
Read more >
react-native-background-fetch - npm
Background Fetch is a very simple plugin which attempts to awaken an app in the background about every 15 minutes, providing a short...
Read more >
Use Of Unresolved Identifier Error Only Appear When Build ...
It's a common error in Xcode: Use of unresolved identifier. ... RCTLog.h' file not found & Use of undeclared identifier 'RNBRANCHVERSION' buildtime error ......
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