bugfix in timer, fixed ios build settings