matomo-org / matomo-sdk-ios

Matomo iOS, tvOS and macOS SDK: a Matomo tracker written in Swift
MIT License
388 stars 164 forks source link

Xcode 14.3 requires higher deployment target #430

Closed mfk-ableton closed 1 year ago

mfk-ableton commented 1 year ago

Hey all,

Matomo iOS SDK doesn't compile on Xcode 14.3 anymore as the deployment target has seemingly been raised:

/Users/asdasd/Library/Caches/org.carthage.CarthageKit/DerivedData/14.3_14E222b/matomo-sdk-ios/v7.5.2/Build/Intermediates.noindex/ArchiveIntermediates/MatomoTracker/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/MatomoTracker.framework/MatomoTracker
ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)

/Users/asdasd/Dev/[...]/third-party/Carthage/Checkouts/matomo-sdk-ios/MatomoTracker.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'MatomoTracker' from project 'MatomoTracker')
** ARCHIVE FAILED **

The library that's being linked to is unavailable on these devices, see also: https://stackoverflow.com/questions/75574268/missing-file-libarclite-iphoneos-a-xcode-14-3

mfk-ableton commented 1 year ago

@brototyp any idea when this will get a formal release? appreciate you doing the work :)

mfk-ableton commented 1 year ago

@brototyp any news?

brototyp commented 1 year ago

Hi @mfk-ableton, thanks for your patience. I have not been able to focus on Matomo. This PR is now merged and will be part of the next release.