Xcode 13.2 beta 2 did not resolve the issue for me, unfortunately. I can still reproduce it with my sample project (watch app + dynamic package).
I was able to silence the warnings by adding "-Xlinker -no_application_extension"
to OTHER_LDFLAGS
in my project settings. Alternatively, you can also specify this setting in your Package.swift
file:
linkerSettings: [
.unsafeFlags(["-Xlinker", "-no_application_extension"])
]),
I will report back if I encounter any issues with this workaround.