Dyld: Symbol not found: __TWPVs11AnyHashables20_AnyHashableProtocols

My application started crashing as soon as I upgraded Xcode to 8.3 with the error below:

  dyld: Symbol not found: __TWPVs11AnyHashables20_AnyHashableProtocols
  Referenced from: /Users/faidmit/Library/Developer/CoreSimulator/Devices/C7E102B3-69B4-42EC-A699-0D2FDF768A86/data/Containers/Bundle/Application/341C0D73-B57B-4E30-A639-3A23B1D7CAA6/MVP-INT.app/Frameworks/Alamofire.framework/Alamofire
  Expected in: /Users/faidmit/Library/Developer/CoreSimulator/Devices/C7E102B3-69B4-42EC-A699-0D2FDF768A86/data/Containers/Bundle/Application/341C0D73-B57B-4E30-A639-3A23B1D7CAA6/MVP-INT.app/Frameworks/libswiftCore.dylib

What I tried:

  • Cleared and restarted.
  • The structure is available in the Embedded Part Two.
  • I changed the order to make sure its last downloadable (tried from a solution that mentions that CFNetwork should be after Foundation, etc.)
  • Made by Alamofire Optional.
+4
source share
2 answers

, , , , ( ). , , . -, , . :

  • Deployment Target ( 8.1)
  • Alamofire GitHub Deployment Target (8.0).
  • Alamofire, (8.1).
  • .framework.

, . , . , .

+2

, , . Xcode 8.3 , XCode > Preferences > Locations. . Finder Derived Data. ,

+1

Source: https://habr.com/ru/post/1674008/


All Articles