对于NS项目,如何设置最低iOS版本。
我有 IPHONEOS_DEPLOYMENT_TARGET=8.0;在我的 build.xcconfig 文件中,但在构建过程中我收到未设置消息。
在构建过程中,我得到:
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.
我的 iOS/build.xcconfig 文件有
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
查看这里以获取一些Podfile 语法指南
对于这个特定问题,您只需编辑platforms/ios/Podfile并设置版本,如下所示:
platform :ios, '9.0'
| 归档时间: |
|
| 查看次数: |
3336 次 |
| 最近记录: |