Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

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

I have added valid architecture to "Armv7",armv7s,arm64 in keyboard extension target and app target as well.but I am still facing same problem

enter image description hereenter image description here

like image 304
Shinning River Avatar asked Sep 19 '14 14:09

Shinning River


1 Answers

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.

like image 195
Renatus Avatar answered Oct 09 '22 01:10

Renatus