我有一个使用facebook SDK和Radius登录SDK的iOS项目。 facebook SDK是作为静态库安装的,而LoginRadius是作为cocoaPods安装的,这在两个cocoapods之间创建了名称EMAIL的名称冲突,其中Radius sdk中是枚举,而在facebook sdk中是常量字符串。
cat a.txt
1 2
1 6
{ cat $HOME/SANITY/file.txt | grep 1 >> $HOME/SANITY/new.txt } > /dev/null
cut -d' ' -f2
和Facebook API
LoginRadiusField.h
typedef NS_ENUM(NSUInteger, LoginRadiusFieldType) {
STRING, //this is single row text
OPTION, //this is for html select, need to check field's option for full possible option values
MULTI, //this is 'checkbox' in dashboard for checkbox
PASSWORD,
HIDDEN,
EMAIL,
TEXT, //this is text area, meaning multi-line text area
DATE //this field type only exist in iOS, core field type is a string.
};
有没有什么可让cocoaPods建造豆荚的,所以两个名字至少在不被视为重新定义的情况下是分开的?否则,如果要求他们更改标识符名称的解决方案。