添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
I had this problem too. Basically, go to the main project at the top of the Project Navigator, select on the Target in the "Targets" field, go to General, and select Choose Info.plist File under Identity. Here, choose the Info.plist file and select "choose". Rerunning the file will make it work. Note that you should change all instances of the old project name. This is a super old StackOverflow post that will (sort of) help you in renaming your entire project properly. I hope you understand.

a proper solution without fiddling Clean Up Build or "Hard Clean" or Renaming of Projects..

in Xcode 10+, and i think even earlier versions, goto..

Left Panel

select Workspace

then select <Projectname>.xcodeproj

the middle section should present project settings by now

in the middle section the right side shows your Project and its Targets , select the Target .

from the presented Tabs choose Build Settings

use the search field to find CLANG_USE_OPTIMIZATION_PROFILE , or type optim .. to filter all available options.

by now you should see the section for Apple Clang - Code Generation

in which you will find the build option CLANG_OPTIMIZATION_PROFILE_FILE .

That is the location of the profile that is missing. You could change that.

If you want to stop the use of profiling then just switch

Use Optimisation Profile aka CLANG_USE_OPTIMIZATION_PROFILE to NO

This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Developer Forums Participation Agreement and Apple provided code is subject to the Apple Sample Code License .
  • Forums
  • Terms of Use Privacy Policy License Agreements