exponea / exponea-ios-sdk

MIT License
19 stars 27 forks source link

Errors in UICollectionViewCompositionalLayout after updating #73

Closed dyegos closed 3 days ago

dyegos commented 6 days ago

Xcode Version 15.4 (15F31d) Apple M1 Pro 14.5 (23F79) Exponea SDK 2.27.0

When I updated Exponea from 2.26.2 to 2.27.0 I got the errors from the image below

Screenshot 2024-06-28 at 15 00 30

xcibik00 commented 6 days ago

Hi @dyegos , which minimal iOS version you are targeting? In 2.27.0 (as you can see in release notes https://github.com/exponea/exponea-ios-sdk/releases/tag/2.27.0) we increased minimal supported iOS version from 12 to 13 Thanks for info

dyegos commented 6 days ago

hi @xcibik00

Sorry, I forgot to mention that. The minimum target is iOS 15.6

adam1929 commented 3 days ago

Hi @dyegos this issue seems to be "just" project configuration problem. Please ensure that you have everything set to min iOS 13, Debug and Release target. You can check this in "General" tab for your app, and/or in "Build Settings" tab. As we are not aware of your "environment" and app configuration, please check if you have not any script in "Build Phases" tab that overrides minimum deployment target. Also please check your podfile if you are using Cocoapods as package manager. Sorry that I'm not giving exact guide, but there are multiple things to check according to your project setup.

Screenshot 2024-07-01 at 09 41 42
dyegos commented 3 days ago

Hi @adam1929 Thank you for the guide. I checked the minimal versions everywhere. I am using only SPM for this project.

I created a sample empty project targeting iOS 15.6 everywhere and I added Exponea and it shows the same errors. Exponea.zip

adam1929 commented 3 days ago

Hi @dyegos thank you for patience. Package.swift file was not updated to match iOS13, we are working on fix. Thank you

dyegos commented 3 days ago

@adam1929 Thank you for taking a look at it. Have a nice one.

xcibik00 commented 3 days ago

Hi @dyegos , there was an issue specific for SPM usage - its already fixed and available in 2.27.1 version https://github.com/exponea/exponea-ios-sdk/commit/5572fdd6b418fa36504d41c600f2e5953ee5d396