timer-live-activity icon indicating copy to clipboard operation
timer-live-activity copied to clipboard

Cannot find 'TimerWidgetAttributes' in scope

Open andyyou opened this issue 1 year ago β€’ 1 comments

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: - DriverKit 23.2 - iOS 17.2 - macOS 14.2 - tvOS 17.2 - visionOS 1.0 - watchOS 10.2 Android SDK: Not Found IDEs: Android Studio: 2023.1 AI-231.9392.1.2311.11330709 Xcode: version: 15.2/15C500b path: /usr/bin/xcodebuild Languages: Java: version: 11.0.19 path: /usr/bin/javac Ruby: version: 3.2.5 path: /Users/andyyou/.rvm/rubies/ruby-3.2.5/bin/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.75.4 wanted: 0.75.4 react-native-macos: Not Found npmGlobalPackages: "react-native": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: true newArchEnabled: false

andyyou avatar Oct 23 '24 11:10 andyyou

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

andyyou avatar Oct 24 '24 02:10 andyyou