Problems after upgrading to Xcode 10: Build input file cannot be found

前端 未结 28 2112

I upgraded my Xcode SDK to version 10 last night and then find I cannot build.

I\'m getting this error:

Build input file cannot be found: \

28条回答
  •  -上瘾入骨i
    2020-11-28 04:47

    The above solution eventually works for me; however, I need to do some more extra steps to finally make it to compile successfully. (These extra steps were required even on Xcode 9.)

    1. Xcode: File -> Workspace Settings -> Build System: Legacy Build System
    2. Xcode: Product -> Clean
    3. Rotate to compile thru different emulator types, such as "iPhone 8", "iPhone 8 Plus", etc. (They might fail or might not.)
    4. Eventually compile on "Generic iOS Device"

提交回复
热议问题