Open badrinathvm opened 6 years ago
Yeah, we use the Copy Files Build Phase to embed EarlGrey into the app under test. Can you tell me how this is done with the new build system and we could check this?
We have three schemes x1Tests.scheme X2EditorTests.scheme X3FLETests.scheme
Each of these schemes has copy phase which will work perfectly in Legacy Build
However with New build system this is kind of duplication and xcode doesn't allow this, so should we remove from this from other two targets ??? On removing will it work as expected ??
Copy Phases are related to your Target's Build Phases and not necessarily to the schemes. Is there any new change for embedding frameworks that has been added to the Build system? I'll have to take a look in a bit.
what i think is we just need to add it once, so that respective targets will pick up. I am also investigating where to add it.
@badrinathvm were there any updates here?
Hello,
I have three targets which copies the Earl Grey as part of Copy phase , On building this on new build system , Xcode 10 beta 5 throws below error.
Should we remove copy phase from remaining two of them ?
Showing All Messages :-1: Multiple commands produce '/Users/bvenkatnarayansetty/Library/Developer/Xcode/DerivedData/Lightning-bqwglibfxszbzcbfqlsqwrftorbm/Build/Products/Debug-iphonesimulator/Evernote.app/EarlGrey.framework':
1) Target 'XXXUITests' has copy command from '/Users/bvenkatnarayansetty/Library/Developer/Xcode/DerivedData/Lightning-bqwglibfxszbzcbfqlsqwrftorbm/Build/Products/Debug-iphonesimulator/EarlGrey.framework' to '/Users/bvenkatnarayansetty/Library/Developer/Xcode/DerivedData/Lightning-bqwglibfxszbzcbfqlsqwrftorbm/Build/Products/Debug-iphonesimulator/XXX.app/EarlGrey.framework' 2) Target 'XXXUIFLETests' has copy command from '/Users/bvenkatnarayansetty/Library/Developer/Xcode/DerivedData/Lightning-bqwglibfxszbzcbfqlsqwrftorbm/Build/Products/Debug-iphonesimulator/EarlGrey.framework' to '/Users/bvenkatnarayansetty/Library/Developer/Xcode/DerivedData/Lightning-bqwglibfxszbzcbfqlsqwrftorbm/Build/Products/Debug-iphonesimulator/XXX.app/EarlGrey.framework' 3) Target 'XXXUIEditorTests' has copy command from '/Users/bvenkatnarayansetty/Library/Developer/Xcode/DerivedData/Lightning-bqwglibfxszbzcbfqlsqwrftorbm/Build/Products/Debug-iphonesimulator/EarlGrey.framework' to