After half a month, Xcode did not expose a major BUG, can feel at ease to upgrade

And then there’s the problem, the adaptation problem, and it starts to wank

  1. The problem

: The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Workspace Settings.

Solution:

Menu bar File->Workspace Settings-> BuildSystem Select Use New Buile System(Default)Copy the code

  1. Issues, file import issues (no issues before Xcode12)
Multiple commands produce '/Users/imac/Library/Developer/Xcode/DerivedData/dudu-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/dudu.ap p/PEDat_wb.bundle': 1) Target 'dudu' (project 'dudu') has copy command from '/Users/imac/Desktop/dudu_dev/dudu/WBCloudReflectionFaceVerify_framework/Resources/PEDat_wb.bundle' to '/Users/imac/Library/Developer/Xcode/DerivedData/dudu-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/dudu.ap p/PEDat_wb.bundle' 2) That command depends on command in Target 'dudu' (project 'dudu'): Script phase "[CP] Copy Pods Resources" Multiple commands produce '/Users/imac/Library/Developer/Xcode/DerivedData/dudu-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/dudu.ap p/WBCloudReflectionFaceVerify.bundle': 1) Target 'dudu' (project 'dudu') has copy command from '/Users/imac/Desktop/dudu_dev/dudu/WBCloudReflectionFaceVerify_framework/Resources/WBCloudReflectionFaceVerify.bundle' to '/Users/imac/Library/Developer/Xcode/DerivedData/dudu-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/dudu.ap p/WBCloudReflectionFaceVerify.bundle' 2) That command depends on command in Target 'dudu' (project 'dudu'): Script phase "[CP] Copy Pods Resources" Multiple commands produce '/Users/imac/Library/Developer/Xcode/DerivedData/dudu-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/dudu.ap p/detector_wb.bundle': 1) Target 'dudu' (project 'dudu') has copy command from '/Users/imac/Desktop/dudu_dev/dudu/WBCloudReflectionFaceVerify_framework/Resources/detector_wb.bundle' to '/Users/imac/Library/Developer/Xcode/DerivedData/dudu-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/dudu.ap p/detector_wb.bundle' 2) That command depends on command in Target 'dudu' (project 'dudu'): Script phase "[CP] Copy Pods Resources" Multiple commands produce '/Users/imac/Library/Developer/Xcode/DerivedData/dudu-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/dudu.ap p/ufa_wb.bundle': 1) Target 'dudu' (project 'dudu') has copy command from '/Users/imac/Desktop/dudu_dev/dudu/WBCloudReflectionFaceVerify_framework/Resources/ufa_wb.bundle' to '/Users/imac/Library/Developer/Xcode/DerivedData/dudu-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/dudu.ap p/ufa_wb.bundle' 2) That command depends on command in Target 'dudu' (project 'dudu'): Script phase "[CP] Copy Pods Resources"Copy the code

Solution:

Target ->Build PhasesCopy the code

  1. Question:info.plistFile problem, because the library used in the project was pulled in manually,
Multiple commands produce '/Users/imac/Library/Developer/Xcode/DerivedData/doulan-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/doula n.app/Info.plist': 1) Target 'doulan' (project 'doulan') has copy command from '/Users/imac/Desktop/doulan_dev/doulan/doulan/Libs/AliyunOSSiOS/Info.plist' to '/Users/imac/Library/Developer/Xcode/DerivedData/doulan-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/doula n.app/Info.plist' 2) Target 'doulan' (project 'doulan') has copy command from '/Users/imac/Desktop/doulan_dev/doulan/doulan/SupportingFiles/Info.plist' to '/Users/imac/Library/Developer/Xcode/DerivedData/doulan-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/doula n.app/Info.plist' 3) Target 'doulan' (project 'doulan') has process command with output '/Users/imac/Library/Developer/Xcode/DerivedData/doulan-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/doula n.app/Info.plist'Copy the code

Solution:

Delete the 'info.plist' file directly from the manually pulled libraryCopy the code
  1. There is a VERSION file in the project. I don’t know why
Multiple commands produce '/Users/imac/Library/Developer/Xcode/DerivedData/doulan-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/doula n.app/VERSION': 1) Target 'doulan' (project 'doulan') has copy command from '/Users/imac/Desktop/doulan_dev/doulan/doulan/Libs/ST_Mobile/SenseArSourceService/VERSION' to '/Users/imac/Library/Developer/Xcode/DerivedData/doulan-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/doula n.app/VERSION' 2) Target 'doulan' (project 'doulan') has copy command from '/Users/imac/Desktop/doulan_dev/doulan/doulan/Libs/ST_Mobile/VERSION' to '/Users/imac/Library/Developer/Xcode/DerivedData/doulan-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/doula n.app/VERSION'Copy the code

Solution:

Change the file name of 'VERSION' or delete the fileCopy the code
  1. After dealing with the above problems, there is still a problem, and then modify
Multiple commands produce '/Users/imac/Library/Developer/Xcode/DerivedData/doulan-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/doula n.app/Info.plist': 1) Target 'doulan' (project 'doulan') has copy command from '/Users/imac/Desktop/doulan_dev/doulan/doulan/SupportingFiles/Info.plist' to '/Users/imac/Library/Developer/Xcode/DerivedData/doulan-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/doula n.app/Info.plist' 2) Target 'doulan' (project 'doulan') has process command with output '/Users/imac/Library/Developer/Xcode/DerivedData/doulan-awglbcqfapsmfngrajrwibtvgoph/Build/Products/Debug-iphoneos/doula n.app/Info.plist'Copy the code

Solution:

1. Locate the project in the Products folder, email "Show in Finder", and then go up to the DerivedData file and delete the files used in the DerivedData file. The problem should have been fixed. Go to 2. Build Settings to find the location of the info.plist folder, delete it, compile it, and add it if it still doesn't work: 3 Build Phases Copy Bundle Resources delete info.plist filesCopy the code

Okay, so now my project is up and running,

When I read the article Xcode 13 of JWAutumn, I found that the article has been updated and compared completely, you can refer to it

Do not know to encounter other problem, CAN illicit letter I, add above, for everybody reference


End