uber / uber-ios-sdk

Uber iOS SDK (beta)
https://developer.uber.com/docs
MIT License
376 stars 125 forks source link

Xcode 16 Support #316

Closed mohssenfathi closed 1 month ago

mohssenfathi commented 1 month ago

Description

Made minor updates required to build/run on Xcode 16. Only one change was required to handle UIApplication.openUrl

Changes

ApplicationLaunching

UIApplication's open(url...) method signature changed. Since the ApplicationLaunching protocol redefined this method and we had a UIApplication extension conforming to ApplicationLaunching, this broke. To fix this, open(url) was changed to launch(url) and the method is not called internally in the extension.

Testing

Manual Testing

Manually tested both inApp and native auth on simulator and physical devices

Unit tests

Mocks + unit tests were updated