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
Version 1.44.1-grpc contains unsafeFlags in the Package.swift manifest which prevents clients from using grpc. Unsafe flags can only be used for local packages and not for public packages. From the docs:
As some build flags can be exploited for unsupported or malicious behavior, the use of unsafe flags makes the products containing this target ineligible for use by other packages.
Error Produced
The error produced is:
Workaround
Unfortunately, this is a transitive dependency in our project and we are not specifying the version. To workaround this we can pin the version to the tag before this change was introduced:
This is cumbersome since we don't directly use grpc and will have to remember to take this out when the issue is resolved. A warning is also generated since the pinned package is not directly used:
The text was updated successfully, but these errors were encountered:
Problem Description
Version 1.44.1-grpc contains
unsafeFlags
in thePackage.swift
manifest which prevents clients from usinggrpc
. Unsafe flags can only be used for local packages and not for public packages. From the docs:Error Produced
The error produced is:
Workaround
Unfortunately, this is a transitive dependency in our project and we are not specifying the version. To workaround this we can pin the version to the tag before this change was introduced:
This is cumbersome since we don't directly use
grpc
and will have to remember to take this out when the issue is resolved. A warning is also generated since the pinned package is not directly used:The text was updated successfully, but these errors were encountered: