ASP源码.NET源码PHP源码JSP源码JAVA源码DELPHI源码PB源码VC源码VB源码Android源码
当前位置:首页 >> 低调看直播体育app软件下载 >> IOS开发 >> 阿里weex研究iOS(二)已有项目集成

阿里weex研究iOS(二)已有项目集成(1/2)

来源:网络整理     时间:2016-07-12     关键词:

本篇文章主要介绍了" 阿里weex研究iOS(二)已有项目集成",主要涉及到方面的内容,对于IOS开发感兴趣的同学可以参考一下: 1、weex的sdk文件夹拖到项目目录2、创建一个Podfile,增加以下内容pod WeexSDK, :path=>./sdk/执行pod instal...

1、weex的sdk文件夹拖到项目目录

2、创建一个Podfile,增加以下内容

pod 'WeexSDK', :path=>'./sdk/'

执行pod install,出现警告了!!!

CocoaPods did not set the base configuration of your project because your project already has a custom config......
 阿里weex研究iOS(二)已有项目集成

运行下项目,报错了!!!

diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

 阿里weex研究iOS(二)已有项目集成

各种找,各种试之后,发现问题:

 阿里weex研究iOS(二)已有项目集成

已有项目用的自定义的xcconfig文件作为配置,和cocoapods冲突

解决办法:

找一个可以运行weex的干净项目,把xcconfig文件的内容复制过去

 阿里weex研究iOS(二)已有项目集成

Pods.debug.xcconfig内容:

相关图片

相关文章