Closed RandomActsOfCode closed 2 years ago
@RandomActsOfCode. this issue should now be resolved. Please reset your local cache and try again (1.44.1-grpc) . thanks
It is working now. But I had to delete the Derived Data and restart the XCode to make it work.
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: