sy6sy2 / xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS and Windows.
https://kodi.tv/
Other
6 stars 1 forks source link

[tvOS] configure.ac more robust found_sdk_version #17

Closed fuzzard closed 5 years ago

fuzzard commented 5 years ago

Description

Use sed to better find the SDK number from xcodebuild -showsdks

Motivation and Context

Ive started exploring adding a target for the tvOS simulator. as part of that, ive found that finding the sdk when not supplied via the configure command could be a little more generic rather than the existing grep. Also adds a fallback error if an incorrect CPU architecture (non arm64) is provided in the configure, rather than continuing.

An example of where im headed can be seen in the following commit https://github.com/fuzzard/xbmc/commit/a93601e94608bf67995c413f5148609c8e267ac7

How Has This Been Tested?

Depends build still works as expected.

sy6sy2 commented 5 years ago

Thank you!