diff --git a/Tests/LiveKitTests/PublishTests.swift b/Tests/LiveKitTests/PublishTests.swift index 1da6dd70d..d00e51874 100644 --- a/Tests/LiveKitTests/PublishTests.swift +++ b/Tests/LiveKitTests/PublishTests.swift @@ -17,8 +17,9 @@ @testable import LiveKit import XCTest -#if !os(iOS) -// TODO: Make this work with iOS +#if !targetEnvironment(simulator) +// TODO: Make this work with iOS Simulator + class PublishTests: XCTestCase { let room = Room() diff --git a/Tests/LiveKitTestsObjC/Basic.m b/Tests/LiveKitTestsObjC/Basic.m index 34dd1e6d4..c286b5dee 100644 --- a/Tests/LiveKitTestsObjC/Basic.m +++ b/Tests/LiveKitTestsObjC/Basic.m @@ -14,9 +14,10 @@ * limitations under the License. */ -#import +@import XCTest; @import LiveKit; +// Simple ObjC test just to ensure ObjC SDK code compiles. @interface Basic : XCTestCase @end