-
Hello, I am currently integrating Rugby into our company's CI/CD pipeline using Codemagic on a Mac mini M1. However, we've encountered an issue where it seems to be looking for combined binaries (or something along those lines), leading to a compilation error. Here are the warnings we receive during the build process (we're just trying to run tests in a simulator):
The system appears to be searching for combined amd64 and x86_64 binaries. This issue does not occur on our local development machines, which leads me to believe there might be a discrepancy or a missing configuration within XCode that we are not aware of. Could these paths be generated, or is there a specific XCode configuration that we're missing? Any guidance or advice on how to resolve this would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@sdurban Hello! Sorry, I've missed your topic( It looks like you don't pass the specific destination. -destination "platform=iOS Simulator,name=iPhone 15" set -o pipefail && env NSUnbufferedIO=YES arch -arm64 xcodebuild test \
-workspace Example.xcworkspace \
-scheme ExampleFrameworks \
-testPlan ExampleFrameworks \
-destination "platform=iOS Simulator,name=iPhone 15" \
COMPILER_INDEX_STORE_ENABLE=NO \
SWIFT_COMPILATION_MODE=wholemodule \
CODE_SIGNING_ALLOWED=NO \
| xcbeautify When you don't select the specific destination -destination generic/platform=iOS Simulator And it leads to setting You are welcome! |
Beta Was this translation helpful? Give feedback.
Thank you for your swift response!
I've implemented the destination configuration as you recommended. However, it seems that even with the specific destination set, the build process still attempts to use a combination of arm64 x86_64, which leads to the same issue persisting.
Understanding that this behavior might be unintended in many scenarios and appears to be tied to how Codemagic handles build configurations on Mac mini M1 setups, I've decided to take a temporary measure to move forward with our CI/CD processes. I'm going to fork 🏈 Rugby to apply a patch specifically addressing this issue.
This fork will allow us to proceed temporarily until I can discuss with Codemagic the reason b…