Closed karim-alweheshy closed 4 months ago
After fixing the force_load issue we have another issue with
clang++: warning: using sysroot for 'iPhoneSimulator' but targeting 'MacOSX' [-Wincompatible-sysroot]
for all the linking on non MaxOSX targets
This will be addressed separately in another PR This should just move us one step closer to bazel 7
Shows different errors now in bazel 7 builds https://github.com/bazel-ios/rules_ios/pull/816
A step for bazel7 migration https://github.com/bazel-ios/rules_ios/issues/795
Merged in #850
Issue
When we build an executable e.g.
We get a linker error e.g.
Disgnostic
The linker args/flags file, e.g.
iOS-14.0-AppHost_bin-2.params
file, is missing the -force_load of the forced linked libs in the executable e.g.Resource
Following guide from here Overall effort here Example migrations for rules_apple here
Migration plan
//rules:migrates_cc_info_linking_info