diff --git a/examples/BUILD.gn b/examples/BUILD.gn index 4789238dec..be3ac53899 100644 --- a/examples/BUILD.gn +++ b/examples/BUILD.gn @@ -579,6 +579,11 @@ if (is_ios || (is_mac && target_cpu != "x86")) { libs = [ "AppKit.framework" ] + ldflags = [ + "-rpath", + "@executable_path/../Frameworks", + ] + deps = [ ":AppRTCMobile_lib", "../sdk:mac_framework_bundle", diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn index 60ea4734e9..2498bb700a 100644 --- a/sdk/BUILD.gn +++ b/sdk/BUILD.gn @@ -1494,7 +1494,7 @@ if (is_ios || is_mac) { "$root_build_dir/WebRTC.framework", ] outputs = [ - "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}", + "{{bundle_contents_dir}}/Frameworks/{{source_file_part}}", ] } }