reverted last change because ios does already support resource-file