Added dynamic frameworks and carthage support