Skip to content

Commit

Permalink
[iOS] Modified rpath for brave_rewards_ios_tests.
Browse files Browse the repository at this point in the history
Added:
- /usr/lib/swift
- @executable_path/../Frameworks

This to get around the error:

brave_rewards_ios_tests.app (22597) encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. (Underlying Error: Crash: brave_rewards_ios_tests (22597):   dyld: Using shared cache: 59E5DB8B-B935-310F-81BF-FB7488068748
Library not loaded: @rpath/libswiftCore.dylib
  • Loading branch information
mkarolin committed Jan 6, 2021
1 parent 7552e7d commit e7f1c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/brave-ios/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ config("internal_config") {
"-Wno-objc-property-synthesis",
"-Wno-sign-compare",
]
ldflags = [ "-Wl,-no_compact_unwind" ]
ldflags = [ "-Wl,-no_compact_unwind,-rpath,/usr/lib/swift,-rpath,@executable_path/../Frameworks" ]
include_dirs = [
".",
"Ads",
Expand Down

0 comments on commit e7f1c8b

Please sign in to comment.