You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request: module 'SwiftProtobuf' was not compiled with library evolution support; using it means binary compatibility for 'TestModule' can't be guaranteed
#1198
Adding Swift-protobuf to our Xcode project causes the following build warning to be produced:
warning: module 'SwiftProtobufPluginLibrary' was not compiled with library evolution support; using it means binary compatibility for 'TestModule' can't be guaranteed
import SwiftProtobufPluginLibrary
^
In the interest of reducing build warnings, I request that the following setting be made on the Protobuf Xcode project build settings:
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
Build Configuration
macOS 11.6 (20G165)
Xcode version 13.1 (13A1030d)
Swift 5.5
SwiftProtobuf 1.17.0
The text was updated successfully, but these errors were encountered:
Purely out of curiosity, what are you using the "PluginLibrary" for? Most people only use the core "SwiftProtobuf" library and I'm interested in learning more about how people use the plugin library so we can do a better job evolving it in the future.
Purely out of curiosity, what are you using the "PluginLibrary" for? Most people only use the core "SwiftProtobuf" library and I'm interested in learning more about how people use the plugin library so we can do a better job evolving it in the future.
Hello, thanks so much for your reply.
First off, I'm not the original developer who added protobuf to our app; I'm in charge of taking care of build warnings and these protobuf warnings are some of the last issues I haven't been able to clean up. So, I'm figuring out some of the protobuf issues after the fact.
After some more investigation, we apparently are just a regular client and the import of the SwiftProtobufPluginLibrary module was not needed. I changed to import SwiftProtobuf
Adding Swift-protobuf to our Xcode project causes the following build warning to be produced:
warning: module 'SwiftProtobufPluginLibrary' was not compiled with library evolution support; using it means binary compatibility for 'TestModule' can't be guaranteed
import SwiftProtobufPluginLibrary
^
In the interest of reducing build warnings, I request that the following setting be made on the Protobuf Xcode project build settings:
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
Build Configuration
The text was updated successfully, but these errors were encountered: