Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Swift Package Manager integration build failed #615

Closed
pyby opened this issue Aug 24, 2022 · 0 comments
Closed

Swift Package Manager integration build failed #615

pyby opened this issue Aug 24, 2022 · 0 comments
Labels

Comments

@pyby
Copy link
Contributor

pyby commented Aug 24, 2022

Environment

  • Platform+version: Any
  • FLEX version: Current master branch (1b91bc9)

Bug Report

The project support Swift Package Manager.

In an Xcode project using this Flex version with SPM, the build failed with error:
/Users/pyby/Library/Developer/Xcode/DerivedData/PlaySRG-dyyaxxrvmfadjcclckzqglcrgvfx/SourcePackages/checkouts/FLEX/Classes/Headers/FLEX-Categories.h:21:9: error build: 'NSDateFormatter+FLEX.h' file not found

Issue

Public headers has to be declare in the Package.swift file.
The publicHeadersPath is Classes/Headers folder.

One of last commit "Wrap NSDateFormatter" (b241075) added NSDateFormatter+FLEX.h in the public FLEX-Categories.h header.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant