Upvote:2
If you are visiting Nice then you must already have permission to enter the Schengen area. Frankfurt is also part of the Schengen area, so the visa that gets you into Nice will cover it. You will clear immigration in Frankfurt and then fly to Nice without further checks.