refactored and use hacktoolkit-ios_lib