MergeSwiftModule - Building a Swift app in Xcode 6.3 gets stuck in “Merge MyApp.swiftmodule”

徘徊边缘 提交于 2019-12-12 11:24:30

问题


Building an app in Xcode 6.3 gets stuck for several minutes (approx. 10mins) on a step Merge MyApp.swiftmodule:

MergeSwiftModule normal x86_64 /Users/.../Library/Developer/Xcode/DerivedData/MyApp-crbdsfrhkvpiynaffvhzzsspiels/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/x86_64/MyApp.swiftmodule

this wasn't an issue in previous version of Xcode 6.2 and Swift 1.0.


回答1:


Enabling SWIFT_WHOLE_MODULE_OPTIMIZATION for the target seems to fix this issue.

Source: https://devforums.apple.com/message/1119343#1119343



来源:https://stackoverflow.com/questions/29767367/mergeswiftmodule-building-a-swift-app-in-xcode-6-3-gets-stuck-in-merge-myapp

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