本篇文章主要介绍了" 阿里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......

运行下项目,报错了!!!
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.

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

已有项目用的自定义的xcconfig文件作为配置,和cocoapods冲突
解决办法:
找一个可以运行weex的干净项目,把xcconfig文件的内容复制过去

Pods.debug.xcconfig内容: