Apple has reached a settlement with Canadian telecom provider Comwave which gives Apple the legal right to use the trademark “iPhone” in Canada. The settlement was reached late Wednesday evening, prior to the iPhone 3G’s Friday launch. According to the terms of the settlement, Apple will receive sole rights to the iPhone name in Canada, while Comwave has agreed to phase out its use of the name — which it has used since 2004…