exponea / exponea-ios-sdk

MIT License
19 stars 27 forks source link

Update code for latest Swift (5.3+) versions & address warnings #35

Closed username0x0a closed 2 years ago

username0x0a commented 2 years ago

As Swift has been evolving, some changes in the language alone (mainly around the 4.x/5.x version edges) lead to some of the conventions being deprecated.

At this moment with Xcode 13 (and AFAIK also previously with Xcode 12 cycle), a couple of warnings appears when building the library:

Screenshot 2022-01-10 at 22 31 21

This is a very minor change required, so addressing this should be a half-an-hour job in fact. 👍 Taking it practically, App Store currently requires Xcode 12 to be used to build any bundle deployed there, that means Swift 5.3 is effectively the oldest version supported. Your Package.swift file already states this, thus fixing this shouldn't really cause conflicts in any 3rd-party project. 👌

michaela-dev commented 2 years ago

Hi, thanks for noticing this 👍 . It's already fixed, the next iOS SDK release containing the fix should be out within this/next week.

michaela-dev commented 2 years ago

Fixed in 2.11.2 release