0

I have tried to use the shell scripts of @Varrry and @pAkY88 on the question Submit to App Store issues: Unsupported Architecture x86 but they are not working while archiving,the unneeded architectures are not removed, so when I'm trying to upload to the Store I get the error: "Unsupported Architecture. Your executable contains unsupported architecture '[x86_64, i386]'."

The project (Swift) has arm64 armv7 and armv7s as valid architectures, the project is using a framework made by myself(in Swift), and some firebase frameworks(Objective-C), all this frameworks have the simulator slice because I'm using a continues integration and all the tests runs on the simulator.

The log from the script is here

magofdl
  • 79
  • 1
  • 5
  • Have you tried to check archive's binary manually? What the archs there were? – Varrry Dec 11 '17 at 19:58
  • 1
    Or maybe you didn't run the script in a correct order? That script must be run in Build Phases after the Embed Frameworks. – Goon Nguyen Jan 12 '18 at 02:51
  • Thanks you that was the error. The script was before the Embed Frameworks, now the archiving and CI, are working correctly. – magofdl Jan 22 '18 at 21:10

0 Answers0