Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nativescript - setting the target os version (iOS)

Tags:

nativescript

For a NS project, how do you set the minimum iOS version.

I've got IPHONEOS_DEPLOYMENT_TARGET=8.0; in my build.xcconfig file but during build I get not-set message.

During the build process, I get:

Pod installation complete! There are 2 dependencies from the Podfile and 2 total pods installed. [WARNING]: [!] Automatically assigning platform ios with version 8.0 on target publishios because no platform was specified. Please specify a platform for this target in your Podfile. Seehttps://guides.cocoapods.org/syntax/podfile.html#platform.

My iOS/build.xcconfig file has

IPHONEOS_DEPLOYMENT_TARGET = 8.0;

like image 361
dashman Avatar asked Nov 08 '22 08:11

dashman


1 Answers

Check this out for some Podfile syntax guidelines

For this specific issue, you just need to edit the platforms/ios/Podfile and set the version like so:

platform :ios, '9.0'

like image 172
Frank Avatar answered Dec 28 '22 07:12

Frank