iPhone app crash immediately after update

前端 未结 5 707
终归单人心
终归单人心 2021-02-09 04:48

today my app update it has been released in the store, when updated or downloaded for the first time the app immediately crash on start.

I\'ve tested the app on simulato

5条回答
  •  北恋
    北恋 (楼主)
    2021-02-09 05:16

    The issue is related to the Framework. I had this exact error. It wasn't a case of logic as it was crashing before the AppDelegate was even called and my usage of NSMetadataQuery was much later in the life cycle than that.

    It turns out that weak linking the Foundation framework was required.

    Problem was solved by changing (under the Project Info in Xcode) the dependency option of the Foundation.framework from required to optional. Check for any such frameworks.

提交回复
热议问题