Invalid Bundle, The bundle contains disallowed nested bundles, contains disallowed file 'Frameworks'

后端 未结 5 1142
独厮守ぢ
独厮守ぢ 2021-02-05 03:23

I added a shared framework to share code between app and watch extension. Later I removed the shared framework since it cause lots of problems. I can build and run my app on iph

5条回答
  •  梦谈多话
    2021-02-05 03:57

    I had a today extension which uses a custom framework I implemented it.

    I tried all the solutions but nothing worked for me.

    I needed the custom framework only in the today extension, so I linked and embedded this framework in the today extension only.

    What the error is saying is:

    that the bundle contains disallowed frameworks

    Today extension should not embed any framework, shall only link to it.

    So I removed the framework from the today extension and added it to the parent app.

    Note that:

    the parent app should use this framework since it's added to it, an import shall do the job.

提交回复
热议问题