I resolved the errors, for some reason, my Swift file wasn't a part of compile sources. The build is successful after adding it in compile sources after adding it in build phases with min development version set to be iOS 12.
Thank you :)
Regards,
Sumanth
Post
Replies
Boosts
Views
Activity
Yeah, you are right.
I am currently using Xcode 15.4.
I have tried creating a dummy project and everything is working as intended. I can build with the minimum deployment version set to 12 by using if #available(iOS 15.4, *), etc.
I can't do the same in the main project as I am getting some swift linker issues.
Thanks,
Sumanth