diff --git a/src/objective-c/BUILD b/src/objective-c/BUILD index c3629d0ada4..3a71086f0f6 100644 --- a/src/objective-c/BUILD +++ b/src/objective-c/BUILD @@ -130,5 +130,4 @@ grpc_objc_library( "//:grpc_objc", "@com_google_protobuf//:protobuf_objc", ], - visibility = ["//visibility:public"], ) diff --git a/src/objective-c/examples/BUILD b/src/objective-c/examples/BUILD index d3a5a76b89a..d6e1140d8f5 100644 --- a/src/objective-c/examples/BUILD +++ b/src/objective-c/examples/BUILD @@ -52,8 +52,8 @@ local_objc_grpc_library( objc_library( name = "Sample-lib", - srcs = glob(["Sample/**/*.m"]), - hdrs = glob(["Sample/**/*.h"]), + srcs = glob(["Sample/Sample/**/*.m"]), + hdrs = glob(["Sample/Sample/**/*.h"]), data = glob([ "Sample/Sample/Base.lproj/**", "Sample/Sample/Images.xcassets/**", @@ -71,12 +71,13 @@ ios_application( "ipad", ], deps = ["Sample-lib"], + visibility = ["//visibility:public"], ) objc_library( name = "InterceptorSample-lib", - srcs = glob(["InterceptorSample/**/*.m"]), - hdrs = glob(["InterceptorSample/**/*.h"]), + srcs = glob(["InterceptorSample/InterceptorSample/**/*.m"]), + hdrs = glob(["InterceptorSample/InterceptorSample/**/*.h"]), data = glob([ "InterceptorSample/InterceptorSample/Base.lproj/**", "InterceptorSample/InterceptorSample/Images.xcassets/**",