Closed arietis closed 1 month ago
:tada: This PR is included in version 7.27.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hi @arietis, congrats, the Appium project wants to compensate you for this contribution! Please reply to this comment mentioning me and sharing your OpenCollective account name, so that we can initiate payment! Or let me know if you decline to receive compensation via OpenCollective. Thank you!
@jlipps sergei-guselnikov Thank you!
Summary:
This PR updates the
verifyApplicationPlatform
function to uselipo -info
instead of thefile
command for determining the architectures supported by the app’s executable. The change improves accuracy when verifying compatibility on both Intel and Apple Silicon devices by aligning with the consistent output format of lipo.Reasoning:
• Inconsistent file Output: The file command’s output can vary based on the system, leading to unreliable architecture detection.
• Consistent lipo Output: lipo -info provides consistent architecture details, which makes it a better choice for ensuring the correct Simulator architecture is detected.
• Simplified Logic: This change also simplifies string matching and error handling, reducing potential issues with cross-architecture setups.
Example of inconsistent file Output
Example of consistent lipo Output