Getting Error while Running Fastlane when using Composable architecture Swift Library #3679
diptikhurana
started this conversation in
General
Replies: 1 comment
-
Hi @diptikhurana, it seems that you are not correct enabling macros when building. I'm not sure exactly how or why, but I do not believe this is a problem with this library. I am going to convert this to a discussion and feel free to continue the conversation over there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
We are trying to run fastlane pipeline on a project which is using composable architecture . Due to restriction of one of our framework our project runs on Rosetta simulator only. So I am able to run my project on rosetta simulator locally but while running a pipeline with rosetta Simulator it fails with the below error:
❌ error: Build input file cannot be found: '/opt/builds/FastLaneApp/.DerivedData/Build/Products/Debug/PerceptionMacros'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'Perception' from project 'swift-perception')
None of the architectures in ARCHS (x86_64) are valid. Consider setting ARCHS to $(ARCHS_STANDARD) or updating it to include at least one value from VALID_ARCHS (arm64). (in target 'PerceptionMacros' from project 'swift-perception').
Also we are using xcargs: "-skipMacroValidation"
run_tests(device: device, xcargs: '-skipMacroValidation ARCHS=x86_64'
Any suggestions for above error ?
Checklist
main
branch of this package.Expected behavior
No response
Actual behavior
No response
Reproducing project
No response
The Composable Architecture version information
1.19.0
Destination operating system
iOS 18
Xcode version information
iOS 16.2
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions