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
currently we specify the -sdk to xcodebuild, but this is a fragile approach and should be replaced with -destination. Currently, it is warning that it will choose the first from a set of possible destinations, and this can sometimes lead to it choosing the wrong one. I've seen this happen when it chooses a macOS destination when building for iOS, and also choosing the wrong macOS architecture (x86_64 vs arm64).
For macOS catalyst we use -destination and the same warning appears.
I believe the solution should involve a query for the specific SDK before compiling it, to ensure the desire destination exists.
Description
currently we specify the
-sdk
to xcodebuild, but this is a fragile approach and should be replaced with-destination
. Currently, it is warning that it will choose the first from a set of possible destinations, and this can sometimes lead to it choosing the wrong one. I've seen this happen when it chooses a macOS destination when building for iOS, and also choosing the wrong macOS architecture (x86_64 vs arm64).https://github.com/getsentry/sentry-cocoa/actions/runs/9866174689/job/27244481851#step:3:3981
The text was updated successfully, but these errors were encountered: