Packages are not supported when using legacy build locations, but the current project has them enabled
当你发现这个错误的时候,首先检查一下,
XXXX.xcodeproj (和 XXXX.xcworkspace) > File > Project Settings > Per-User Project Settings: > Advanced.
吧两个工程文件的的Legacy都改成Xcode Default 然后试试行不行。如果依然不行继续↓ 在你Project的build Setting中吧SYMROOT这个设置项删掉。