ra1028 / swiftui-hooks

🪝 A SwiftUI implementation of React Hooks. Enhances reusability of stateful logic and gives state and lifecycle to function view.

Home Page:https://ra1028.github.io/swiftui-hooks/documentation/hooks/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: The package product 'Hooks' cannot be used as a dependency of this target because it uses unsafe build flags.

GodL opened this issue · comments

commented

Checklist

  • This is not a bug caused by platform.
  • Reviewed the README and documentation.
  • Checked existing issues & PRs to ensure not duplicated.

What happened?

This error is reported after importing in Xcode

Expected Behavior

This package uses unSafeFlag

Reproduction Steps

  1. xcode import this package
  2. build

Swift Version

v5

Library Version

lastest

Platform

No response

Scrrenshot/Video/Gif

No response

same here

@GodL @strangeliu
Thanks for reporting. That will be fixed in the next release.
Fix PR: #24

Released the new version 0.0.6

Feel free to reopen this issue if you will face related issues.