Closed MasterWen closed 4 years ago
你是不是修改了other linker flag里面的东西。你如果是pod 集成,在other linker flag
是这样的,你们SDK 需要在other linker flags里添加$(inheried),但是$(inheried)里面包含-ObjC,这样就导致了我们原有的一些第三方报错。但是如果我把-ObjC去掉你们的SDK就无法使用了。我是想问有没有可以替代-ObjC,我尝试了使用-force_load但是依然有问题
Best Regards
Sui
Shenzhen Lanbon Hi-Tech CO., LTD. -- Smart Home Specialist.
http://www.lanbona.com Add:3rd Floor,ZhanRun Business Building,Yunfeng Road No.1,QueShan Industrial Area,Dalang,Longhua district,Shenzhen,China
E-mail: lanbon@lanbon.cn Phone: 86-13760134983 Tel:86-755-29407818 Fax:86-755-29407882
------------------ Original ------------------ From: "orange"<notifications@github.com>; Date: Fri, Jan 3, 2020 05:41 PM To: "TuyaInc/tuyasmart_home_ios_sdk"<tuyasmart_home_ios_sdk@noreply.github.com>; Cc: "Lanbon technical support"<1194042899@qq.com>;"Author"<author@noreply.github.com>; Subject: Re: [TuyaInc/tuyasmart_home_ios_sdk] ios other linker flag添加objc (#42)
你是不是修改了other linker flag里面的东西。你如果是pod 集成,在other linker flag
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
你原来的三方库也是pod 集成的吗?$(inheried) 这个是pod 集成添加的,不是SDK的问题。
不是直接导入到项目里的,你们的SDK只能通过pod下载吗?有没有下载的SDK直接倒入到项目。
Best Regards
Sui
Shenzhen Lanbon Hi-Tech CO., LTD. -- Smart Home Specialist.
http://www.lanbona.com Add:3rd Floor,ZhanRun Business Building,Yunfeng Road No.1,QueShan Industrial Area,Dalang,Longhua district,Shenzhen,China
E-mail: lanbon@lanbon.cn Phone: 86-13760134983 Tel:86-755-29407818 Fax:86-755-29407882
------------------ Original ------------------ From: "orange"<notifications@github.com>; Date: Fri, Jan 3, 2020 05:55 PM To: "TuyaInc/tuyasmart_home_ios_sdk"<tuyasmart_home_ios_sdk@noreply.github.com>; Cc: "Lanbon technical support"<1194042899@qq.com>;"Author"<author@noreply.github.com>; Subject: Re: [TuyaInc/tuyasmart_home_ios_sdk] ios other linker flag添加objc (#42)
你原来的三方库也是pod 集成的吗?$(inheried) 这个是pod 集成添加的,不是SDK的问题。
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
不建议手动集成,因为很多配置项,cocoapods 已经帮我们配置好了,手动集成问题会很多。
使用你们SDK,在other linker flag添加objc以后导致项目里一些第三方报错,不添加objc你们的SDK无法使用,怎么解决,如何把-objc换成-force_load.