All MacBooks and their components have a 1-12 months limited warranty that handles defects in resources and workmanship. Formally you should be capable to use MagSafe charging with more mature iPhones, but it seems that There's also difficulties applying MagSafe with older iPhones. As an example, if you employ https://supplyforsale.ca/product/45w-l-tip-replacement-power-adapter-charger-for-macbook-air-a1244-a1374-a1304-a1369-a1370-a1377-before-2012-model