-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Address Sanitizer Does not work with Physical Device #2844
Comments
Thanks for reporting. I can repro this issue. I think codesigning these dylibs will fix this issue. (Vanilla Xcode projects do codesign these dylibs when building for device)
|
Thanks for the investigation @chiragramani, have you found a way to sign it and attach it to the device? |
Hitting the same issue was able to hack together a manual codesigning workaround.
The underlying issue seems to be that the bazel build does the codesigning but a future step inserts the clang dylib afterwards. If you look at the produced Within the |
Description
Using Address Sanitizer in physical device cause error
Extra info:
flutter/flutter#108469
Reproduction steps
bazel run //:xcodeproj
Expected behavior
Work the same as the simulator.
rules_xcodeproj version
1.14.2
Xcode version
15.1
Bazel version
7.0.0
rules_apple version
3.1.1
rules_swift version
1.13.0
Additional information
I check the rules_apple and rules_swift version from the
examples/rules_ios/MODULE.bazel
The text was updated successfully, but these errors were encountered: