升级Xcode9,项目运行Xib报错

2017-09-30  本文已影响0人  Refresh_Yy

Showing Recent Errors Only

/Pods/UMengSocial/Umeng_SDK_Social_iOS_ARM64_5.0/UMSocial_Sdk_5.0/SocialSDKXib/UMSCommentDetailController.xib:global: warning: This file is set to build for a version older than the deployment target. Functionality may be limited. [9]

/Pods/UMengSocial/Umeng_SDK_Social_iOS_ARM64_5.0/UMSocial_Sdk_5.0/SocialSDKXib/UMSCommentDetailController.xib:global: error: Compiling IB documents for earlier than iOS 7 is no longer supported. [12]

/Pods/UMengSocial/Umeng_SDK_Social_iOS_ARM64_5.0/UMSocial_Sdk_5.0/SocialSDKXib/UMSCommentDetailController.xib: warning: Internationalization is not available when compiling for targets before iOS 6.0

解决方法:进入UMengSocial/Resources,将其中所有xib文件,在属性栏第一项下的interface Builder Document中的Builds For 换成7.0 and Later即可正常运行,如下图:


上一篇 下一篇

猜你喜欢

热点阅读