transistorsoft / capacitor-background-fetch

Periodic callbacks in the background for both IOS and Android
78 stars 9 forks source link

'TSBackgroundFetch/TSBackgroundFetch.h' file not found #8

Closed josiahbryan closed 3 months ago

josiahbryan commented 2 years ago

Your Environment

Latest Dependencies:

@capacitor/cli: 3.2.4 @capacitor/core: 3.2.4 @capacitor/android: 3.2.4 @capacitor/ios: 3.2.4

Installed Dependencies:

@capacitor/cli: 3.1.2 @capacitor/core: 3.1.2 @capacitor/android: 3.1.2 @capacitor/ios: 3.1.2

[success] iOS looking great! 👌



* Plugin config provided to `BackgroundFetch.configure`: N/A - Not using it personally, installing as a dep for the background geolocation plugin

## Expected Behavior
<!--- Tell us what should happen -->
Build should work

## Actual Behavior
<!--- Tell us what happens instead -->
Build fails with error:
`/Users/josiahbryan/devel/rubber/client/node_modules/@transistorsoft/capacitor-background-fetch/ios/Plugin/BackgroundFetchModule.h:3:9: 'TSBackgroundFetch/TSBackgroundFetch.h' file not found`

## Steps to Reproduce
<!--- reproduce this issue; include code to reproduce, if relevant -->
1. `npm i -S @transistorsoft/capacitor-background-fetch`
2. `npx cap sync`
3. Open XCode project
4. Build

## Context
<!--- What were you trying to do? -->
Build the app

## Debug logs
<!-- include iOS / Android logs
- ios XCode logs,
- use #getLog #emailLog methods (@see docs)
- Android: $ adb logcat
-->
![image](https://user-images.githubusercontent.com/4821548/136420130-f21bb26a-1155-4ea3-80a2-4c63db58e7d7.png)
josiahbryan commented 2 years ago

Note that the capacitor background geolocation plugin also was failing, so I removed it from the project so I could troubleshoot this issue without confusing the two. Once I get this working, I'll see if the background geo plugin works finally. However, I've tried everything I can (googling the heck out of the error) and nothing I can find works.

Any thoughts on how to fix..?

itismelito commented 2 years ago

@josiahbryan Did you find a fix for this? I have same issue.

caioalexandre6 commented 2 years ago

https://github.com/transistorsoft/capacitor-background-fetch/blob/master/help/INSTALL-IOS.md

have you followed the setup for IOS?

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.