ERROR ITMS-9000: "Invalid architecture: Apps that include an app extension and a framework must support arm64

后端 未结 4 1101
面向向阳花
面向向阳花 2021-02-13 11:34

I want to upload build with Custom keyboard extension on Itunes Connect But when I am going to upload it on Itunes Connect through Application loader its show me following error

4条回答
  •  广开言路
    2021-02-13 12:19

    Please check your embedded frameworks, if any. I've faced the same issue and the reason was: While debugging app on device, Xcode builds frameworks for "current arch only". And then, even if you try to archive project, Xcode uses already built for only one(!) arch frameworks from debug-iphoneos folder.

    So, I've solved this issue by setting flag "Build for current architecture only" to "No" in Build settings of framework targets, cleaning build folder (cmd option shift K), Archive.

提交回复
热议问题