新建BaiduMobAdNative xcode工程

来源:互联网 发布:韩都衣舍淘宝店 编辑:程序博客网 时间:2024/06/06 08:35

1.确认project name & company


2.path 
create BaiduMobAdNative folder
在BaiduMobAdNative 里面建BaiduMobAdNativeSDKSample, app 
在BaiduMobAdNativeSDKSample 右键新建BaiduMobAdNativeSDK, static lib 静态库


3.
target-------BaiduMobAdNativeSDKSample
architectures 添加 $(ARCHS_STANDARD_32_BIT)
other linker flags -lstdc++ -ObjC
linked framework and libraries
Generate Test Coverage Files 和Instrument Program Flow为YES
linked framework and libraries
部分非arc文件 -fno-objc-arc


target-------BaiduMobAdNativeSDKSampleTest
architectures 添加 $(ARCHS_STANDARD_32_BIT)
other linker flags -lstdc++ -ObjC
OCHamcrestIOS.framework
OCMockitoIOS.framework
user header search path $(SRCROOT)/../..


target-------BaiduMobAdNative

architectures 添加 $(ARCHS_STANDARD_32_BIT)

Generate Test Coverage Files 和Instrument Program Flow为YES

build phases添加 script " XcodeCoverage/exportenv.sh"



0 0
原创粉丝点击