Why Apple blocked utilising external frameworks on free accounts on iOS 13.3.1?

末鹿安然 提交于 2020-04-18 12:35:27

问题


Recently I was working on project using apple account with no active subscription (free developer account) which contained the firebase pods only and after upgrading my device to iOS 13.3.1 my app started crashing with this reason:

Library not loaded: @rpath/FBLPromises.framework/FBLPromises

and I found out that:

Apple blocked utilising external frameworks on free accounts with 13.3.1 upgrade.

so I used an apple developer account with an active subscription and the problem solved.

But Why Apple blocked utilising external frameworks?


回答1:


I think Apple wants to force Free Account using Swift Package 📦.

Anyway you can use pods by making this workaround - remove or comment this line use_frameworks! in Podfile - reinstall your pods pod install

The build will be succeeded.




回答2:


As a follow on to Mohammed Elnaggar's answer, if you need modules because you're using Swift or module imports in Objective-C:

Replace use_frameworks! with use_modular_headers!



来源:https://stackoverflow.com/questions/60394268/why-apple-blocked-utilising-external-frameworks-on-free-accounts-on-ios-13-3-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!