Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能不能把模拟器架构加上? #63

Open
ElfSundae opened this issue Nov 28, 2020 · 3 comments
Open

能不能把模拟器架构加上? #63

ElfSundae opened this issue Nov 28, 2020 · 3 comments

Comments

@ElfSundae
Copy link

以前的 libnama 库是有模拟器 x86_64 架构的,现在的 libCNamaSDK 可能是为了减小下载体积,只有真机架构。你们发布 pod 时应该加了 --skip-import-validation 参数吧?没有模拟器架构会导致 pod 组件化的封装库(封装了相芯的 Nama 库)也得加这个参数,要不然 lint, push 都会失败,加这个参数相当于封装库里的所有代码都不进行 lint 了。另外,SDK 没有模拟器架构,导致 app 也只能真机编译,直接就限制了模拟器调试... 加模拟器架构只会减小 SDK 下载体积,跟打包后的 app 体积没关系。所以,个人觉得不带模拟器架构带来的好处远远大于其造成的麻烦。

希望贵公司能考虑下把模拟器架构加上,或者单独提供下包含 i386 x86_64 的 SDK包也行。相芯 SDK 的功能不需要在模拟器上全部可用,只需要能在模拟器上通过编译。
万分感谢!

P.S. 不知贵公司可有支持 Mac Catalyst 的计划?

@huangfangkai
Copy link

+1

@kurtchen1988
Copy link
Contributor

由于大多数客户对包体大小非常在意,所以我们线上版本仅支持真机架构。若需要模拟器架构可联系我们技术支持或商务进行单独提供,感谢您的反馈

@ElfSundae
Copy link
Author

@kurtchen1988 好的,谢谢,我待会联系。
单独提供的包得手动集成,或者用私有库的话还得把你们 SDK 放自己服务器上,有点麻烦。官方要是能发布个支持模拟器架构的 pod 就好了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@ElfSundae @huangfangkai @kurtchen1988 and others