Promisekit: Xcode 10.2 error

Created on 20 May 2019  Ā·  13Comments  Ā·  Source: mxcl/PromiseKit

Showing Recent Messages
:-1: Undefined symbol: protocol conformance descriptor for Swift.Int64 : Swift.SignedInteger in Swift

:-1: Undefined symbol: (extension in Swift):Swift.Collection.isEmpty.getter : Swift.Bool

:-1: Undefined symbol: (extension in Swift):Swift.SetAlgebra< where A.ArrayLiteralElement == A.Element>.init(arrayLiteral: A.ArrayLiteralElement...) -> A

:-1: Undefined symbol: protocol requirements base descriptor for Swift.IteratorProtocol

:-1: Undefined symbol: _swift_getTupleTypeMetadata2

:-1: Undefined symbol: protocol conformance descriptor for [A] : Swift.Collection in Swift

:-1: Undefined symbol: (extension in Swift):Swift.Collection< where A.Iterator == Swift.IndexingIterator>.makeIterator() -> Swift.IndexingIterator

:-1: Undefined symbol: Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()

:-1: Undefined symbol: (extension in Swift):Swift.SignedInteger< where A: Swift.FixedWidthInteger>.init(A1) -> A

:-1: Undefined symbol: method descriptor for Foundation.LocalizedError.recoverySuggestion.getter : Swift.String?

:-1: Undefined symbol: method descriptor for Foundation.LocalizedError.errorDescription.getter : Swift.String?

:-1: Undefined symbol: protocol descriptor for Foundation.LocalizedError

:-1: Undefined symbol: method descriptor for Swift.Error._getEmbeddedNSError() -> Swift.AnyObject?

:-1: Undefined symbol: base conformance descriptor for Foundation.LocalizedError: Swift.Error

:-1: Undefined symbol: method descriptor for Swift.Error._userInfo.getter : Swift.AnyObject?

:-1: Undefined symbol: static (extension in Foundation):Swift.String._unconditionallyBridgeFromObjectiveC(__C.NSString?) -> Swift.String

:-1: Undefined symbol: protocol conformance descriptor for Foundation.CocoaError.Code : Foundation._ErrorCodeProtocol in Foundation

:-1: Undefined symbol: protocol conformance descriptor for Foundation.URLError.Code : Foundation._ErrorCodeProtocol in Foundation

:-1: Undefined symbol: type metadata accessor for Foundation.CocoaError.Code

:-1: Undefined symbol: type metadata accessor for Foundation.URLError.Code

:-1: Undefined symbol: Swift.IndexingIterator.next() -> A.Element?

:-1: Undefined symbol: Swift._getErrorEmbeddedNSError(A) -> Swift.AnyObject?

:-1: Undefined symbol: static Foundation.CocoaError.userCancelled.getter : Foundation.CocoaError.Code

:-1: Undefined symbol: Swift.== infix((A, B), (A, B)) -> Swift.Bool

:-1: Undefined symbol: (extension in Foundation):Foundation.LocalizedError.helpAnchor.getter : Swift.String?

:-1: Undefined symbol: method descriptor for Swift.Error._code.getter : Swift.Int

:-1: Undefined symbol: (extension in Foundation):Foundation.LocalizedError.recoverySuggestion.getter : Swift.String?

:-1: Undefined symbol: (extension in Foundation):Foundation.LocalizedError.failureReason.getter : Swift.String?

:-1: Undefined symbol: (extension in Swift):Swift.Error._getEmbeddedNSError() -> Swift.AnyObject?

:-1: Undefined symbol: (extension in Swift):Swift.Error._code.getter : Swift.Int

:-1: Undefined symbol: (extension in Swift):Swift.Sequence< where A.Element: Swift.Comparable>.sorted() -> [A.Element]

:-1: Undefined symbol: protocol conformance descriptor for (extension in Dispatch):__C.OS_dispatch_queue.Attributes : Swift.SetAlgebra in Dispatch

:-1: Undefined symbol: dispatch thunk of Swift.Collection.isEmpty.getter : Swift.Bool

:-1: Undefined symbol: dispatch thunk of Swift.Collection.endIndex.getter : A.Index

:-1: Undefined symbol: dispatch thunk of Swift.Collection.index(_: A.Index, offsetBy: Swift.Int) -> A.Index

:-1: Undefined symbol: dispatch thunk of Swift.Collection.subscript.read : (A.Index) -> A.Element

:-1: Undefined symbol: dispatch thunk of Swift.Sequence.makeIterator() -> A.Iterator

:-1: Undefined symbol: _swift_getAssociatedConformanceWitness

:-1: Undefined symbol: dispatch thunk of Swift.IteratorProtocol.next() -> A.Element?

:-1: Undefined symbol: method descriptor for Swift.Error._domain.getter : Swift.String

:-1: Undefined symbol: (extension in Swift):Swift.Collection.first.getter : A.Element?

:-1: Undefined symbol: (extension in Swift):Swift.Sequence.map((A.Element) throws -> A1) throws -> [A1]

:-1: Undefined symbol: type metadata for Swift.Int64

:-1: Undefined symbol: protocol requirements base descriptor for Swift.Sequence

:-1: Undefined symbol: value witness table for Builtin.BridgeObject

:-1: Undefined symbol: _swift_once

:-1: Undefined symbol: type metadata for Swift.String

:-1: Undefined symbol: protocol witness table for Swift.String : Swift.Equatable in Swift

:-1: Undefined symbol: _swift_isEscapingClosureAtFileLocation

:-1: Undefined symbol: (extension in Dispatch):__C.OS_dispatch_queue.sync(flags: Dispatch.DispatchWorkItemFlags, execute: () throws -> A) throws -> A

:-1: Undefined symbol: (extension in Swift):Swift.Sequence.forEach((A.Element) throws -> ()) throws -> ()

:-1: Undefined symbol: type metadata accessor for (extension in Dispatch):__C.OS_dispatch_queue.AutoreleaseFrequency

:-1: Undefined symbol: associated conformance descriptor for Swift.Sequence.Iterator: Swift.IteratorProtocol

:-1: Undefined symbol: type metadata accessor for (extension in Dispatch):__C.OS_dispatch_queue.Attributes

:-1: Undefined symbol: static (extension in Dispatch):__C.OS_dispatch_queue.Attributes.concurrent.getter : (extension in Dispatch):__C.OS_dispatch_queue.Attributes

:-1: Undefined symbol: associated type descriptor for Element

:-1: Undefined symbol: Swift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never

:-1: Undefined symbol: _swift_allocateGenericValueMetadata

:-1: Undefined symbol: protocol conformance descriptor for Swift.Int : Swift.BinaryInteger in Swift

:-1: Undefined symbol: _OBJC_CLASS_$__TtCs12_SwiftObject

:-1: Undefined symbol: Swift.Hasher.combine(A) -> ()

:-1: Undefined symbol: _swift_getWitnessTable

:-1: Undefined symbol: Swift.!== infix(Swift.AnyObject?, Swift.AnyObject?) -> Swift.Bool

:-1: Undefined symbol: protocol conformance descriptor for Dispatch.DispatchWorkItemFlags : Swift.SetAlgebra in Dispatch

:-1: Undefined symbol: _swift_getMetatypeMetadata

:-1: Undefined symbol: method descriptor for Swift.Hashable._rawHashValue(seed: Swift.Int) -> Swift.Int

:-1: Undefined symbol: _swift_initEnumMetadataMultiPayload

:-1: Undefined symbol: method descriptor for Swift.Hashable.hash(into: inout Swift.Hasher) -> ()

:-1: Undefined symbol: static (extension in Foundation):Foundation._ErrorCodeProtocol.~= infix(A, Swift.Error) -> Swift.Bool

:-1: Undefined symbol: base conformance descriptor for Swift.Hashable: Swift.Equatable

:-1: Undefined symbol: method descriptor for static Swift.Equatable.== infix(A, A) -> Swift.Bool

:-1: Undefined symbol: protocol descriptor for Swift.Equatable

:-1: Undefined symbol: value witness table for Builtin.NativeObject

:-1: Undefined symbol: associated type descriptor for Iterator

:-1: Undefined symbol: _swift_dynamicCast

:-1: Undefined symbol: _swift_getEnumCaseMultiPayload

:-1: Undefined symbol: _swift_allocateGenericClassMetadata

:-1: Undefined symbol: protocol witness table for Swift.Int : Swift.CustomStringConvertible in Swift

:-1: Undefined symbol: _swift_getGenericMetadata

:-1: Undefined symbol: _swift_unknownObjectRetain

:-1: Undefined symbol: method descriptor for Swift.CustomDebugStringConvertible.debugDescription.getter : Swift.String

:-1: Undefined symbol: _swift_getFunctionTypeMetadata1

:-1: Undefined symbol: protocol descriptor for Swift.CustomDebugStringConvertible

:-1: Undefined symbol: static Dispatch.DispatchWorkItemFlags.barrier.getter : Dispatch.DispatchWorkItemFlags

:-1: Undefined symbol: _swift_initClassMetadata2

:-1: Undefined symbol: protocol witness table for Swift.Int : Swift.Hashable in Swift

:-1: Undefined symbol: _swift_beginAccess

:-1: Undefined symbol: _swift_endAccess

:-1: Undefined symbol: __swift_FORCE_LOAD_$_swiftMetal

:-1: Undefined symbol: Swift.Array.count.getter : Swift.Int

:-1: Undefined symbol: type metadata for Any

:-1: Undefined symbol: type metadata for Swift.Int

:-1: Undefined symbol: Swift.DefaultStringInterpolation.appendInterpolation(A) -> ()

:-1: Undefined symbol: _swift_getDynamicType

:-1: Undefined symbol: Swift.Array.append(__owned A) -> ()

:-1: Undefined symbol: type metadata for ()

:-1: Undefined symbol: __swift_FORCE_LOAD_$_swiftUIKit

:-1: Undefined symbol: _swift_getErrorValue

:-1: Undefined symbol: protocol conformance descriptor for [A] : Swift.Sequence in Swift

:-1: Undefined symbol: _OBJC_METACLASS_$__TtCs12_SwiftObject

Most helpful comment

  1. Open ios/YourAppName.xcodeproj in Xcode
  2. Right-click on Your App Name in the Project Navigator on the left, and click New File…
  3. Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  4. when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem

All 13 comments

  1. Open ios/YourAppName.xcodeproj in Xcode
  2. Right-click on Your App Name in the Project Navigator on the left, and click New File…
  3. Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  4. when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem

Rebuild your CocoaPods or Carthage checkouts, it works fine with Xcode 10.2, I have 5 projects using it and we've been passing in CI for 5 months with no errors or warnings.

Definitely no reason to add a bridging header.

You can tell something is broken at a baser layer since most of the symbols it cannot find are in Swift itself.

  • Open ios/YourAppName.xcodeproj in Xcode
  • Right-click on Your App Name in the Project Navigator on the left, and click New File…
  • Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  • when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem

thanks!

Closing assume fixed. Re-open if not.

  • Open ios/YourAppName.xcodeproj in Xcode
  • Right-click on Your App Name in the Project Navigator on the left, and click New File…
  • Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  • when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem

Thanks, this works for me.

  1. Open ios/YourAppName.xcodeproj in Xcode
  2. Right-click on Your App Name in the Project Navigator on the left, and click New File…
  3. Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  4. when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem

Oh thank you kind sir!

  1. Open ios/YourAppName.xcodeproj in Xcode
  2. Right-click on Your App Name in the Project Navigator on the left, and click New File…
  3. Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  4. when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem

what kind of king are you Thanx

  1. Open ios/YourAppName.xcodeproj in Xcode
  2. Right-click on Your App Name in the Project Navigator on the left, and click New File…
  3. Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  4. when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem

Thanx

  1. Open ios/YourAppName.xcodeproj in Xcode
  2. Right-click on Your App Name in the Project Navigator on the left, and click New File…
  3. Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  4. when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem

Yo Thanks, it worked for me!!!

  1. Open ios/YourAppName.xcodeproj in Xcode
    2.Right-click on Your App Name in the Project Navigator on the left, and click New File…
  2. Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  3. when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem
    Thank You , it worked for me!!!
  1. Open ios/YourAppName.xcodeproj in Xcode
  2. Right-click on Your App Name in the Project Navigator on the left, and click New File…
  3. Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  4. when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem

You are a gem. Thanks.

  1. Open ios/YourAppName.xcodeproj in Xcode
  2. Right-click on Your App Name in the Project Navigator on the left, and click New File…
  3. Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  4. when Xcode asks, press Create Bridging Header and do not remove Swift file then. re-run your build.
    This should fix the problem

Simply genius! Worked like a charm!

You are the man (or woman) @louwailou !
I was stuck on this all morning.

Was this page helpful?
0 / 5 - 0 ratings