SwiftyDropbox: SwiftDropbox is incompatible with iOS 4.2
I get runtime errors for Alamofire after migrating an app of mine (that uses SwiftDropbox) to Swift 4.2.
dyld: Symbol not found: _$S8Dispatch0A3QoSV0B6SClassO7utilityyA2EmFWC
Referenced from: /Users/admin/Library/Developer/CoreSimulator/Devices/69F0BD96-7BB8-4B29-BE96-A423BA2FBD3C/data/Containers/Bundle/Application/CAAB9A58-4F89-4C85-BCDA-8ECF22D11731/VandelayExample.app/Frameworks/Alamofire.framework/Alamofire
Expected in: /Users/admin/Library/Developer/CoreSimulator/Devices/69F0BD96-7BB8-4B29-BE96-A423BA2FBD3C/data/Containers/Bundle/Application/CAAB9A58-4F89-4C85-BCDA-8ECF22D11731/VandelayExample.app/Frameworks/libswiftDispatch.dylib
in /Users/admin/Library/Developer/CoreSimulator/Devices/69F0BD96-7BB8-4B29-BE96-A423BA2FBD3C/data/Containers/Bundle/Application/CAAB9A58-4F89-4C85-BCDA-8ECF22D11731/VandelayExample.app/Frameworks/Alamofire.framework/Alamofire
(lldb)
I think the underlying error is that SwiftyDropbox uses Alamofire 4.5. Bumping the dependency to the latest 4.7.x version could perhaps solve this problem.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (6 by maintainers)
Hi @greg-db
This is still not fully resolved. Sure, I can now remove the additional
Alamofireline in myCartfileandpodspecand Xcode manages to build the project, but my pod can still not be linted, sinceSwiftyDropboxis still not migrated to Swift 4.2. This gives me the following lint error: