rgommezz / timer-live-activity

Seamless integration of iOS Live Activities into React Native with two-way communication 🎨
205 stars 8 forks source link

Cannot find 'TimerWidgetAttributes' in scope #7

Open andyyou opened 1 month ago

andyyou commented 1 month ago

Hi, I've been following your excellent tutorial on implementing Live Activities in React Native 0.75.4. While implementing the TimerWidgetModule, I'm encountering an error where Swift cannot find 'TimerWidgetAttributes' in scope. I've double-checked the implementation and target memberships, but I might be missing something in the setup process.

Thanks for writing such a detailed guide!

Currently, I am in part 2

ζˆͺεœ– 2024-10-23 ζ™šδΈŠ7 04 05

System: OS: macOS 14.5 CPU: (8) arm64 Apple M1 Memory: 63.06 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 16.20.2 path: ~/.nvm/versions/node/v16.20.2/bin/node Yarn: Not Found npm: version: 8.19.4 path: ~/.nvm/versions/node/v16.20.2/bin/npm Watchman: version: 2024.09.30.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: Not Found SDKs: iOS SDK: Platforms:

andyyou commented 1 month ago

I am so confusing. Implement again from begin. It's ok now and I compare two projects it's no different.