Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Building XCFramework doesn't properly include framework deps (SwiftyBeaver) #1152

Open
e-001 opened this issue Jul 8, 2021 · 1 comment
Open

Comments

@e-001
Copy link

e-001 commented Jul 8, 2021

Describe the bug
Generating an XCFramework with the project's build script leaves behind SwiftyBeaver's swiftinterface file necessitating SwiftyBeaver be included in the parent project. Simply changing BUILD_LIBRARY_FOR_DISTRIBUTION to true should fix this.

To Reproduce
Steps to reproduce the behavior:

  1. Build (./build.sh xcframework 0.19.3 1)
  2. Embed in another project
  3. Build pukes on missing SwityBeaver fw (it is present on fs, missing its .swiftinterface file)

Expected behavior
Shouldn't have to include the dep in the parent project.

Additional context
Answer found in this SO post. Simply supplying the flag at the xcodebuild step doesn't work, it must be changed within the project file.

@e-001 e-001 changed the title Building XCFramework doesn't include library deps (SwiftyBeaver) Building XCFramework doesn't properly include framework deps (SwiftyBeaver) Jul 8, 2021
@ferologics
Copy link
Contributor

see niochat/MatrixSDK#2 for workaround

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

No branches or pull requests

2 participants