简体   繁体   中英

Xcode ios build setting error

after refactoring and updating group names , I get this error on building ;

clang: error: no such file or directory:   
'/Users/yves/github/MOBILE/work/StoryboardAnalyses/StoryboardRecipes/StoryboardAnalyses-      Prefix.pch'
clang: error: no input files
Command     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

in fact StoryboardRecipes directory has been changed to StoryboardAnalyses,

is there anyway to modify it in the settings ?

进入构建设置并搜索旧名称,这将是您需要更改的地方。

In Xcode, in the left hand area with the files and groups, down at the bottom there's a row of small buttons. Click the one that looks like a little box with another box inside (tool tip is "Show only files with source control status") and look for red files in the file browser. These are file references pointing to places where no file currently exists. You'll probably have one for everything in StoryboardRecipes.

If you have a group called StoryboardRecipes you might be able to fix everything under the group by changing the group's name to StoryboardAnalysis. If all else fails you can blow away the whole group and re-add it. This is all manageable in Xcode's file browser. You shouldn't have to modify any build settings for missing file issues.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM