iOS minimum version mismatch

Hello,

seems like a client got a problem:

As far as I see, the Xojo iOS app has iOS 14 as minimum. I build the plugin with iOS 12 as deployment target and Xojo generates an info.plist file with iOS 11.0 as minimum.

I suspect that may be a conflict.

This worked with 25.5 plugin, which I compiled with deployment target iOS 11. Now I switched to iOS 12 due to the newer Xcode version.

@William_Yu or @Javier_Menendez . Does someone have an idea?

Hi @Christian_Schmitz

That’s odd. Here is an excerpt for the info.plist file from a newly built iOS App:

<string>17A324</string>
   <key>DTPlatformName</key>
<string>iphoneos</string>
   <key>DTSDKName</key>
<string>iphoneos26.0</string>
   <key>MinimumOSVersion</key>
   <string>14.0</string>

As you can see, if nothing else has been entered as the minimum OS, then it defaults to iOS 14.0. Maybe you need to raise the minimum of your deployment target to iOS 14.0?

You need to have a plugin.

Then Xojo creates frameworks for the used plugins and there is an info.plist for the plugin framework inside.

looks like this:

and

Looks like we missed updating those when implementing https://tracker.xojo.com/xojoinc/xojo/-/issues/80055. We’ll take another look, thanks for the update.

2 Likes

@Christian_Schmitz In our Info.plist the MinimumOSVersion is 13.0
You said your plugins use 12.0 as minimum version.
So if we set the MinimumOSVersion in Xojo to 12.0 too it should work?

You could change the plugin info.plist to say 12.0 or 14.0 and see if that helps.

To match the app itself.

So I have to change all Info.plist files of all plugins?
I also use Einhugur Plugins they don’t seem to have this problem despite they also have MinimumOSVersion 11.0

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>en</string>
	<key>CFBundleExecutable</key>
	<string>EHRawBitmap</string>
	<key>CFBundleIdentifier</key>
	<string>com.xojo.ehrawbitmap.dylib</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>EHRawBitmap</string>
	<key>CFBundlePackageType</key>
	<string>FMWK</string>
	<key>CFBundleShortVersionString</key>
	<string>1.0</string>
	<key>CFBundleSupportedPlatforms</key>
	<array>
		<string>iPhoneOS</string>
	</array>
	<key>CFBundleVersion</key>
	<string>1</string>
	<key>DTPlatformBuild</key>
	<string>17A566</string>
	<key>DTPlatformName</key>
	<string>iphoneos</string>
	<key>DTPlatformVersion</key>
	<string>13.0</string>
	<key>DTSDKBuild</key>
	<string>17A566</string>
	<key>DTSDKName</key>
	<string>iphoneos13.0</string>
	<key>DTXcode</key>
	<string>1100</string>
	<key>DTXcodeBuild</key>
	<string>11A420a</string>
	<key>MinimumOSVersion</key>
	<string>11.0</string>
	<key>UIDeviceFamily</key>
	<array>
		<integer>1</integer>
		<integer>2</integer>
	</array>
	<key>UIRequiredDeviceCapabilities</key>
	<array>
		<string>arm64</string>
	</array>
</dict>
</plist>