How to Fix Invalid MinimumOSVersion Error in Xcode (ONNX Runtime iOS Upload Fix)

Here is how you can fix the invalid MinimumOS version error while using ONNX Runtime and uploading an iOS app to App Connect.

First, try updating the OnnxRuntime package by right-clicking on the package and selecting Update. If this does not work, you will need to make some minor edits.

Open Xcode and go to Window → Organizer. Right-click on your app and select Show in Finder. Then right-click on the app again and choose Show Package Contents. Navigate to Products → Applications, right-click the app once more, and select Show Package Contents.

Scroll down until you find the Frameworks folder. We need to edit these frameworks to resolve the errors. Open the onnx folder and open the Info.plist file with Xcode. You will see that the MinimumOSVersion is set to 15.1, so simply change it to match your minimum deployment target.

After that, go back and open the Info.plist file for the other framework. If you do not see a MinimumOSVersion entry, simply right-click, add a new row, type MinimumOSVersion, and set the value to match your deployment target. Then save the file.

Once this is done, go back to Window → Organizer and try distributing the app again to see if it works. After making these changes, the app should upload successfully.

I hope this video was useful.

Thank you very much.






SUBSCRIBE

SUBSCRIBE

Welcome to Hey, Let's Learn Something!

Please sign up here to receive the latest updates on our blogs, tutorials and download section :)

Thank you for subscribing :)