bazelbuild / rules_apple

Bazel rules to build apps for Apple platforms.
Apache License 2.0
515 stars 271 forks source link

Xcode14 App Store Connect watchos_application stub fat binary issue #1661

Open mcfans opened 2 years ago

mcfans commented 2 years ago

Hi! After upgrading to Xcode 14, our app is rejected by App Store Connect during validation because watchos_application stub binary has more architectures than our watchOS extension. I tried a hack to strip those unnecessary architectures and our app can pass connect validation again. I am looking into a fix but it seems I can't access multi arch info for lipo in _watchos_application_impl. Is there anyway i can access all architectures in watchos_application_impl or should I create a implicit dependency with a transition on it?

Related: https://github.com/bazelbuild/rules_apple/issues/704

mattrobmattrob commented 2 years ago

See if this is fixed by https://github.com/bazelbuild/rules_apple/pull/1703, @mcfans.