Xcode compilation unexpected results

孤者浪人 提交于 2019-12-08 08:03:36

问题


✅ Xcode 10.2.1

I have a project, on which I worked in Xcode 10.2.1. Suddenly it started to get stuck building one of my many pods (one of 2, inconsistently). Says something like "Building <AppName>: <PodName> | Building 749 of 803 tasks". And while idle, it gets stuck "Indexing Text".

Update: This version is unable to Build or Index ANY project I try. True even for unchanged presets.

SOLVED: Restarting my machine was the solution


✅ Xcode 11.0 Beta 1

Just to test, I've opened this project in Xcode 11 Beta (1) and it worked just fine. I was able to Build and Run, Archive but not Distribute (AppStore Connect says tool is unsupported).


❌ Xcode 11.0 Beta 4

The latest available Beta, however, Builds and Runs this project with no problems, however, fails to Archive it.


Additional information

  1. I tried cleaning, restarting; updating CocoaPods; reinstalling and reinitializing all Pods, nothing helped.
  2. The issue appeared, seemingly, out of nowhere, not in between installing or updating any of the Pods.
  3. It worked perfectly in Xcode 11.0 Beta 1, just as one would expect any version of Xcode to work with an .xcworkspace. No warnings, no errors, nothing.

回答1:


Solved this whole thing by restarting my machine.



来源:https://stackoverflow.com/questions/57125780/xcode-compilation-unexpected-results

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!