You almost certainly left way too much oil on it. If your apartment is "swirling with smoke" you're doing it wrong. Most youtube videos and online tutorials fail to make this point clearly (or are outright wrong, debating what kind of oil to incinerate half a bottle of in their pans).
You oil it (with any cooking oil) and then wipe it all off. It needs to look and feel like it hasn't been oiled. Any visible oil or stickiness will burn to black shit that isn't seasoning. There is still oil there. The invisible, microscopic residue is what you want. When you heat it (in the oven around 180C) it will generate a faint smell around the cooker, not fill your home with burning oil smoke. Do the whole thing 3-5 times.
But for a skillet this is just a kick start. It is neither necessary nor sufficient. The real seasoning comes from use and is way better than anything you can do by explicit seasoning. Use it frequently. Fry in it. FREQUENTLY. And when you do use use oil, ffs. While it's
newish, clean it promptly, dry it thoroughly and give it a thin wipe of oil before you put it away to prevent rust and help it season.
(If you're the sort that thinks never letting a single fat molecule enter your digestive system is a virtue, don't buy cast iron. It won't work for you. It'll rust and stick. Use teflon. It's the only thing you'll ever be able make a "fried" egg on. It might give you cancer but at least you won't accidentally ingest some butter. Also, if you cook once every 6 months, don't use cast iron. It needs use. Weekly at least, if not daily.)
One of our four cast skillets spent last night in the sink, full of water (see my other comment). We treat them how we please, scrubbing and washing them with detergent if needed, leaving them dirty if we want. They cook wonderfully, don't stick and will probably survive the death of the sun.