I started getting this similar error for testing adding S3 file using AWS services. Below was the error. dyld: Library not loaded: @rpath/AWSAutoScaling.framework/AWSAutoScaling
I searched a lot and above solutions are also not helpful for me. Below link helped me to solve this issue.
https://forums.developer.apple.com/thread/21292
Which says to fix this issue by re-downloading the WWDR (Apple Worldwide Developer Relations Certification Authority).