grpc / grpc-ios

gRPC for iOS
Apache License 2.0
39 stars 22 forks source link

xcodebuild fails to resolve dependency #90

Closed tedc-artium closed 2 years ago

tedc-artium commented 2 years ago

Running: xcodebuild -resolvePackageDependencies

Results:

xcodebuild: error: Could not resolve package dependencies:
  the target 'gRPC-Core' in product 'gRPC-cpp' contains unsafe build flags
  the target 'gRPC-cpp' in product 'gRPC-cpp' contains unsafe build flags

Xcode dependency graph resolves to:

{
        "package": "gRPC",
        "repositoryURL": "https://github.com/grpc/grpc-ios.git",
        "state": {
          "branch": null,
          "revision": "87cbe43709371123e95ca10d6956938741388af7",
          "version": "1.44.1-grpc"
        }
      },
paulz commented 2 years ago

same error on our project

dennycd commented 2 years ago

dup and resolved https://github.com/grpc/grpc-ios/issues/86. Let us know if you are still seeing this after local cache reset. thanks