You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
apple_framework_packing with link_dynamic=true will cause error #702
I don't see any reference to platform_types in the rules_ios codebase. Can you give more of the error message or a reproduction in rules_ios for us to debug, @wendyliga?
Additionally, it seems like you're mixing a lot of rules_apple/rules_swift native stuff with rules_ios things. Why are you doing that vs. just using entirely rules_ios? For example, you can swap the RxRelay definition over to something like this:
@mattrobmattrob my usecase is to generate a precompiled framework, you should use apple_framework_packing right?
regarding the mixing of the rules, I think the target //src/Bar is quite isolated. the repo is exist before, i just reuse it for showing this case.
Activity
mattrobmattrob commentedon May 3, 2023
I don't see any reference to
platform_typesin therules_ioscodebase. Can you give more of the error message or a reproduction inrules_iosfor us to debug, @wendyliga?thiagohmcruz commentedon May 3, 2023
+1 couldn't find any reference to
platform_typesinrules_iosnor inrules_appleor the Bazel command line 🤔, a repro would be great!wendyliga commentedon May 4, 2023
@mattrobmattrob @thiagohmcruz sure, i have created a simple project here and run
bazel build //src/Barto reproduce the issue.fyi: I could find any test case for this specific configuration; the one available is for static packing.
this is the full log and the stack trace
mattrobmattrob commentedon May 4, 2023
Why are you using
apple_framework_packagingdirectly instead of this?And, similarly, you should be using the
rules_ios.ios_applicationmacro if you want to support packaging inrules_iosthings:mattrobmattrob commentedon May 4, 2023
Additionally, it seems like you're mixing a lot of rules_apple/rules_swift native stuff with rules_ios things. Why are you doing that vs. just using entirely rules_ios? For example, you can swap the
RxRelaydefinition over to something like this:rules_ios/tests/ios/xcframeworks/Basic/BasicXCFramework/BUILD.bazel
Lines 3 to 46 in 6f11291
wendyliga commentedon May 9, 2023
@mattrobmattrob my usecase is to generate a precompiled framework, you should use
apple_framework_packingright?regarding the mixing of the rules, I think the target
//src/Baris quite isolated. the repo is exist before, i just reuse it for showing this case.acecilia commentedon Jul 26, 2023
I am also interested on this: how to generate a precompiled framework for third party distribution