Use arch when looking for device support path #441
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uses the device CPU architecture value to look for
DeviceSupport
path.When you have two different
DeviceSupport
folders for the same iOS version but different architectures, ios-deploy choses the wrong one forarm64e
devices. For example, if you have both'13.3 (17C54)'
and'13.3 (17C54) arm64e'
in'Library/Developer/Xcode/iOS DeviceSupport'
, ios-deploy picks'13.3 (17C54)'
, using the wrong debug symbols when debugging applications on anarm64e
device.This change makes ios-deploy also search for the arm64e path when debugging a application on a known
arm64e
device.