     }
     let nsuuid = NSUUID(UUIDBytes: bytes)
     return (nsuuid.UUIDString, "")
-#elseif os(iOS)
+#elseif os(iOS) || os(tvOS)
     let vendorID = UIDevice.currentDevice().identifierForVendor?.UUIDString ?? ""
     let adManager = ASIdentifierManager.sharedManager()
     let advertisingID = adManager.advertisingTrackingEnabled ? adManager.advertisingIdentifier.UUIDString : ""

// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

import Foundation
#if os(iOS)
import UIKit
import AdSupport
#elseif os(watchOS)

internal let LK_DEVICE_TYPE: String = {
#if os(OSX)
    return "Mac"
#elseif os(iOS) || os(tvOS)
    return UIDevice.currentDevice().model
#elseif os(watchOS)
    return WKInterfaceDevice.currentDevice().model
