Just remove regex for the digit and remove the parameter from the method.
@Given("^I upload to iphone5$")
public void I_upload_to_iphone() throws Throwable {
// Express the Regexp above with the code you wish you had
throw new PendingException();
}
in your case
@And("^then upload iPhone5 image \"([^\"]*)\"$")
public void then_upload_iPhone_image(String arg2) throws Throwable {
// Express the Regexp above with the code you wish you had
throw new PendingException();
}