I'm trying to upload a new version of an app that is already in the AppStore. Previous version was uploaded using Xcode 9.4. But now Xcode 10 will be required in order to get approval.
Sadly, Xcode is not being able to archive the project, so I'm getting stuck on the first step, not even being able to generate the binary for submission.
There is no error: According to Xcode, our archiving process has more than 2000 tasks, and is just gets stuck in arbitrary task (always the same). Xcode does not crash, does not show an error and does not complain. It just can't pass that task and the IDE stays there for ever.
We tried it in different machines and also tried two versions: the previous version of the app (that can be archived with Xcode 9.4) and a new version, successfully migrated to Swift 4.2.
UPDATE:
- Legacy building system does not work either.
- Build for a Generic iOS Device also get stuck (not just archiving), but the software compiles and works on the simulator.
- Tried to compile the non-migrated version selecting Swift 4 (instead of 4.2) and same results.
- Played with optimization levels, whole vs. incremental compilation, etc., and always the same results.
- In Xcode 9.4 it builds for Generic iOS Device nicely without changing anything.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…