I am trying to build a swift ios app via the command line for integration tests and I am getting the error in the title. This is a command im running in ci
: xcodebuild -workspace project.xcworkspace -scheme project -configuration Release -sdk iphonesimulator12.4 -derivedDataPath ./build clean build
so I need to have a fix that uses the command line or can be committed in the project so that it builds every time.
Asked
Active
Viewed 754 times
0

Tzvetlin Velev
- 1,897
- 2
- 17
- 31
-
1take a look at https://stackoverflow.com/a/24651704/1805608 – Harish Feb 24 '20 at 19:29
-
@Harish but how can i accomplish this via command line. I can't make this change manually all the time – Tzvetlin Velev Feb 24 '20 at 19:39
-
okay...then you have to update your pod file like answered here.. https://stackoverflow.com/a/25078857/1244403 – Harish Feb 24 '20 at 19:45
-
@Harish thanks man ill give that a shot! – Tzvetlin Velev Feb 24 '20 at 19:46
-
cool..let me know if that works!! – Harish Feb 24 '20 at 19:52
-
@Harish it didn't work with those changes, I got a different error. I deleted those files that import that because we aren't unit testing this library at this time. Got my build to succeed – Tzvetlin Velev Feb 25 '20 at 18:43
-
Delete your XCTest and re add if it does not work share your build logs – Prabhat Pankaj Feb 27 '20 at 11:17