To compute the expectation of $N=\inf\{n\mid X_1+\cdots+X_n>1\}$ without computing its distribution, the most direct approach might be to enlarge the setting, considering, for every nonnegative $x$, the mean number $n(x)$ of random variables uniform on $(0,1)$ that are necessary to get a sum larger than $1$, assuming that one starts at level $x$.
Thus, $n(x)=E(N_x)$ where $N_x=\inf\{n\mid x+X_1+\cdots+X_n>1\}$ and one is after $n(0)$.
First, $n(x)=0$ for every $x>1$. Second, for every $x$ in $[0,1]$, conditioning on the uniform random variable $X_1$, one gets the relation $$n(x)=1+E(n(x+X_1))$$ that is, $$n(x)=1+\int_0^{1-x}n(x+u)du=1+\int_x^1n(u)du$$ Differentiating, one gets $$n'(x)=-n(x)$$ for every $x$ in $[0,1]$, with $n(1)=1$, hence $$n(x)=e^{1-x}$$ for every $x$ in $[0,1]$, in particular,
$$E(N)=n(0)=e$$
Exercise: Using the same approach, compute $E(N^{(2)})$, where $N^{(2)}=\inf\{n\mid X_1+\cdots+X_n>2\}$. You should find $E(N^{(2)})=e^2-e$. Give a simple argument to explain why $E(N^{(2)})<2E(N)$.