STTextView-Plugin-Neon icon indicating copy to clipboard operation
STTextView-Plugin-Neon copied to clipboard

Version error when minimum version is properly set

Open flusterIO opened this issue 1 month ago • 2 comments

Hi, I'm working on an iOS app to go along with the desktop app built in tauri. Full disclosure, I'm brand new to swift and xcode. I've played around with it in the past, but most of my experience comes from just making small changes to apps built with flutter, tauri or another webview framework. I'm currently encountering the following error when I try to build with this plugin:

The package product 'STTextView' requires minimum platform version 16.0 for the iOS platform, but this target supports 12.0

But the app builds with the SFTextView dependency, but it fails as soon as I add the STTextView-Plugin-Neon package as a dependency, whether or not I actually use it anywhere.

Like I said, I'm brand new to xcode, but I'm confident I have the minimum version set properly to 26.0.

Is there any possibility this is a bug on your end? From the sound of the error this seems like something handled completely by Apple, but for the life of me I can't figure out how to resolve it and this package would make a world of difference in the app I'm hoping to build.

Any help would be greatly appreciated, Andrew

flusterIO avatar Oct 31 '25 00:10 flusterIO

Somewhere in the setting, you must have the target deployment set to iOS 12. This setting can be override on different levels. Check all places where it is set - project and target levels of your app

krzyzanowskim avatar Oct 31 '25 17:10 krzyzanowskim

I'm new to swift and the whole structure of an iOS app, but I've went as far as even just rip-grepping the entire directory for '12' and '12.0' and didn't find anything. I'm not sure if it's defaulting to that because something is set wrong, but I haven't really messed around with any settings yet from the default template and other dependencies that require 16.0 are working. I realize this is likely an issue on my end, but I thought I'd reach out just in case there was some weird behavior in the apple ecosystem that I wasn't aware of that might lead to an error like this. I appreciate you getting back to me, but I'll figure this out.

flusterIO avatar Oct 31 '25 18:10 flusterIO

Yeah I have the same issue. Not a single target is set to iOS 12, all are iOS 17/18/26. Very strange. Doesn't seem to happen with the main branch version of this package, but then there are concurrency issues with TreeSitterClient..

SplittyDev avatar Nov 28 '25 14:11 SplittyDev