Xcode 11.2 - Unable to install App file to device?

前端 未结 20 2835
半阙折子戏
半阙折子戏 2020-12-29 18:32

I recently updated my OS to Catalina, and updated Xcode to 11.2. Since doing so, when I try to run a release version of my app on my device, I\'m simply given the error:

20条回答
  •  被撕碎了的回忆
    2020-12-29 19:00

    Go to File -> Workspace Settings, and make sure your build system is set to Legacy Build System.

    I ran into the same issue on Catalina and Xcode 11.2 and this solved it for me.

    As of Xcode 11 Apple is starting to enforce some of the build criteria that was previously only required for AppStore builds on .ipa extraction, and device builds.

    So far I have encountered:

    • Requiring the above legacy build system setting for device deployments for older projects or projects that use older frameworks
    • Removing unused architectures to extract an ipa from an archive

提交回复
热议问题