add dependency plugin and check for iOS platform only