Commit 17a58f06 authored by Konrad Feiler's avatar Konrad Feiler Committed by Konrad Feiler

[CopyResourcesScript] add tv target-device for tvOS

TARGETED_DEVICE_FAMILY will be 3) for tvOS.
Without this line we get the following error when running the '[CP] Copy Pods Resources' build phase on tvOS:

```
***-tvOS.storyboard: error: tvOS storyboards do not support target device type "mac".
```
parent deda3dce
...@@ -48,11 +48,11 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -48,11 +48,11 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[Orta Therox](https://github.com/orta) [Orta Therox](https://github.com/orta)
[#6049](https://github.com/CocoaPods/CocoaPods/pull/6049) [#6049](https://github.com/CocoaPods/CocoaPods/pull/6049)
##### Bug Fixes ##### Bug Fixes
* None. * Add target-device tvOS in copy_resources generator.
[Konrad Feiler](https://github.com/Bersaelor)
[#6052](https://github.com/CocoaPods/CocoaPods/issues/6052)
## 1.1.0.rc.3 (2016-10-11) ## 1.1.0.rc.3 (2016-10-11)
......
...@@ -114,6 +114,9 @@ case "${TARGETED_DEVICE_FAMILY}" in ...@@ -114,6 +114,9 @@ case "${TARGETED_DEVICE_FAMILY}" in
2) 2)
TARGET_DEVICE_ARGS="--target-device ipad" TARGET_DEVICE_ARGS="--target-device ipad"
;; ;;
3)
TARGET_DEVICE_ARGS="--target-device tv"
;;
*) *)
TARGET_DEVICE_ARGS="--target-device mac" TARGET_DEVICE_ARGS="--target-device mac"
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment