I'm building a project on a new mac mini. Have previously built it on a different Mac mini with no issues. Pulled code from Git repository, ran npm install and pod install - both appeared to complete successfully. Cleaned build folder. Attempted to build project.
Expected behaviour
Project should build - has built in previous versions of XCode on other people's machines
Actual behaviour
Reaches Twilio part of build and displays the following errors:
Undefined symbol: _OBJCCLASS$_TVITrackPublication
Undefined symbol: _OBJCCLASS$_TwilioVideoSDK
Undefined symbol: _OBJCCLASS$_TVINetworkQualityConfiguration
Undefined symbol: _OBJCCLASS$_TVIH264Codec
Undefined symbol: _OBJCCLASS$_TVIConnectOptions
Undefined symbol: _OBJCCLASS$_TVILocalAudioTrack
Undefined symbol: _OBJCCLASS$_TVIParticipant
Undefined symbol: _OBJCCLASS$_TVICameraSource
Undefined symbol: _OBJCCLASS$_TVIVideoView
Undefined symbol: _OBJCCLASS$_TVILocalDataTrack
Undefined symbol: protocol descriptor for Swift.ExpressibleByFloatLiteral
Undefined symbol: associated type descriptor for Swift.ExpressibleByIntegerLiteral.IntegerLiteralType
Undefined symbol: associated conformance descriptor for Swift.ExpressibleByIntegerLiteral.Swift.ExpressibleByIntegerLiteral.IntegerLiteralType: Swift._ExpressibleByBuiltinIntegerLiteral
Undefined symbol: _OBJCCLASS$_TVIEncodingParameters
Undefined symbol: swift_FORCELOAD$_swiftCoreFoundation
Undefined symbol: method descriptor for Swift.ExpressibleByFloatLiteral.init(floatLiteral: A.FloatLiteralType) -> A
Undefined symbol: _OBJCCLASS$_TVICameraSourceOptions
Undefined symbol: protocol descriptor for Swift.ExpressibleByIntegerLiteral
Undefined symbol: value witness table for Builtin.Int32
Undefined symbol: _OBJCCLASS$_TVILocalVideoTrack
Undefined symbol: swift_FORCELOAD$_swiftCoreGraphics
Undefined symbol: swift_FORCELOAD$_swiftCoreImage
Undefined symbol: protocol witness table for Swift.Float : Swift._ExpressibleByBuiltinFloatLiteral in Swift
Undefined symbol: swift_FORCELOAD$_swiftFoundation
Undefined symbol: _swift_getForeignTypeMetadata
Undefined symbol: method descriptor for Swift.ExpressibleByIntegerLiteral.init(integerLiteral: A.IntegerLiteralType) -> A
Undefined symbol: swift_FORCELOAD$_swiftObjectiveC
Undefined symbol: protocol witness table for Swift.Int : Swift._ExpressibleByBuiltinIntegerLiteral in Swift
Undefined symbol: associated type descriptor for Swift.ExpressibleByFloatLiteral.FloatLiteralType
Undefined symbol: swift_FORCELOAD$_swiftQuartzCore
Undefined symbol: __swift_FORCELOAD$_swiftDispatch
Undefined symbol: associated conformance descriptor for Swift.ExpressibleByFloatLiteral.Swift.ExpressibleByFloatLiteral.FloatLiteralType: Swift._ExpressibleByBuiltinFloatLiteral
Undefined symbol: swift_FORCELOAD$_swiftUIKit
Undefined symbol: swift_FORCELOAD$_swiftMetal
Undefined symbol: Swift.Float.init(Swift.Double) -> Swift.Float
Undefined symbol: __swift_FORCELOAD$_swiftDarwin
Environment
Node.js version: 14.17.5
React Native version: 0.64.2
React Native platform + platform version: iOS 9.0 (I think)
Steps to reproduce
I'm building a project on a new mac mini. Have previously built it on a different Mac mini with no issues. Pulled code from Git repository, ran npm install and pod install - both appeared to complete successfully. Cleaned build folder. Attempted to build project.
Expected behaviour
Project should build - has built in previous versions of XCode on other people's machines
Actual behaviour
Reaches Twilio part of build and displays the following errors: Undefined symbol: _OBJCCLASS$_TVITrackPublication Undefined symbol: _OBJCCLASS$_TwilioVideoSDK Undefined symbol: _OBJCCLASS$_TVINetworkQualityConfiguration Undefined symbol: _OBJCCLASS$_TVIH264Codec Undefined symbol: _OBJCCLASS$_TVIConnectOptions Undefined symbol: _OBJCCLASS$_TVILocalAudioTrack Undefined symbol: _OBJCCLASS$_TVIParticipant Undefined symbol: _OBJCCLASS$_TVICameraSource Undefined symbol: _OBJCCLASS$_TVIVideoView Undefined symbol: _OBJCCLASS$_TVILocalDataTrack Undefined symbol: protocol descriptor for Swift.ExpressibleByFloatLiteral Undefined symbol: associated type descriptor for Swift.ExpressibleByIntegerLiteral.IntegerLiteralType Undefined symbol: associated conformance descriptor for Swift.ExpressibleByIntegerLiteral.Swift.ExpressibleByIntegerLiteral.IntegerLiteralType: Swift._ExpressibleByBuiltinIntegerLiteral Undefined symbol: _OBJCCLASS$_TVIEncodingParameters Undefined symbol: swift_FORCELOAD$_swiftCoreFoundation Undefined symbol: method descriptor for Swift.ExpressibleByFloatLiteral.init(floatLiteral: A.FloatLiteralType) -> A Undefined symbol: _OBJCCLASS$_TVICameraSourceOptions Undefined symbol: protocol descriptor for Swift.ExpressibleByIntegerLiteral Undefined symbol: value witness table for Builtin.Int32 Undefined symbol: _OBJCCLASS$_TVILocalVideoTrack Undefined symbol: swift_FORCELOAD$_swiftCoreGraphics Undefined symbol: swift_FORCELOAD$_swiftCoreImage Undefined symbol: protocol witness table for Swift.Float : Swift._ExpressibleByBuiltinFloatLiteral in Swift Undefined symbol: swift_FORCELOAD$_swiftFoundation Undefined symbol: _swift_getForeignTypeMetadata Undefined symbol: method descriptor for Swift.ExpressibleByIntegerLiteral.init(integerLiteral: A.IntegerLiteralType) -> A Undefined symbol: swift_FORCELOAD$_swiftObjectiveC Undefined symbol: protocol witness table for Swift.Int : Swift._ExpressibleByBuiltinIntegerLiteral in Swift Undefined symbol: associated type descriptor for Swift.ExpressibleByFloatLiteral.FloatLiteralType Undefined symbol: swift_FORCELOAD$_swiftQuartzCore Undefined symbol: __swift_FORCELOAD$_swiftDispatch Undefined symbol: associated conformance descriptor for Swift.ExpressibleByFloatLiteral.Swift.ExpressibleByFloatLiteral.FloatLiteralType: Swift._ExpressibleByBuiltinFloatLiteral Undefined symbol: swift_FORCELOAD$_swiftUIKit Undefined symbol: swift_FORCELOAD$_swiftMetal Undefined symbol: Swift.Float.init(Swift.Double) -> Swift.Float Undefined symbol: __swift_FORCELOAD$_swiftDarwin
Environment
react-native-twilio-video-webrtc
Version: 2.0.0