-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 SwiftProtobuf with BUILD_LIBRARY_FOR_DISTRIBUTION=YES is not supported #8200
Comments
I found a few problems with this issue:
|
@acecilia Thanks for the report and sharing the thorough investigation. We'll have to investigate if there are any alternatives for the In the meantime, is it possible for you to integrate |
@paulb777 Thanks for the response! 🙌 I sadly cant integrate source and need a prebuilt binary, but I have a couple alternatives in mind:
|
@paulb777 there is another problem:
This could be solved by distributing |
@acecilia Would you explain more about your workflow? My understanding is after installing with Carthage, there is still an integration step into an Xcode project in which you would choose which |
@paulb777 Mmm Maybe I am missing something but: aren't both my So one would overwrite the other when Carthage installs them |
I understand now. The other |
Hi @acecilia , I'm investigating this issue and I followed your post in apple/swift-protobuf#1101. I'm trying to reproduce the following error:
But haven't figured out how to do so given your sample project... do you have any suggestions? |
Hey @ncooke3 👋 I just run |
According to apple/swift-protobuf#1101, there are solutions using |
[REQUIRED] Step 1: Describe your environment
12.3
8.1.0
Carthage
FirebaseMLModelDownloader
[REQUIRED] Step 2: Describe the problem
FirebaseMLModelDownloader
I have other third parties in my app that depend on
SwiftProtobuf
(grpc), so when usingFirebaseMLModelDownloader
I am building my ownSwiftProtobuf
xcframework using Carthage, and that usesBUILD_LIBRARY_FOR_DISTRIBUTION=NO
. When doing that, multiple link errors show up (Undefined symbols). See the following issue for an extensive description of the problem: apple/swift-protobuf#1101Steps to reproduce:
See: apple/swift-protobuf#1101 (comment)
The text was updated successfully, but these errors were encountered: