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

Factor Clibsodium into its own sub-package. #234

Closed
wants to merge 1 commit into from

Conversation

jnross
Copy link
Contributor

@jnross jnross commented Dec 21, 2020

This change appears to fix #233, which may occur due to Xcode incorrect parallelizing the build of target dependencies in a single package. Putting Clibsodium in its own package appears make this dependency more clear.

I would mark this PR as a draft if I could. In particular I have not tested whether my change to the podspec works correctly. That part of the diff is just a guess.

@jnross jnross marked this pull request as draft December 21, 2020 20:26
@@ -32,5 +32,5 @@ Pod::Spec.new do |s|

s.requires_arc = true

s.vendored_frameworks = "Clibsodium.xcframework"
s.vendored_frameworks = "Clibsodium/Clibsodium.xcframework"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this change to the podspec works correctly with the directory structure changes.

@jnross
Copy link
Contributor Author

jnross commented Dec 21, 2020

This approaches works fine locally, but throws some weird errors about versioning when I try to add the dependency pointed to the remote git URL.

@jnross
Copy link
Contributor Author

jnross commented Dec 21, 2020

Closing. This is not what Package(path:) is for. Right now the only approach that I know works is to make Clibsodium a separate package in a separate repo.

@jnross jnross closed this Dec 21, 2020
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

Successfully merging this pull request may close these issues.

First build fails with "No such module 'Clibsodium'" when paired with CocoaLumberjack
1 participant