1

I'm trying to use PeripheryApp in my CI and I'm running into an issue where it fails out by using too much diskspace. I've seen this issue when I run it locally when my project has generated fully (i'm XCodeGen), but once I generate the project it runs fine.

On the CI side I generate my project, but doesn't seem to be taking as I hit the following error at the start of periphery. The command I'm running is periphery scan --project $(Build.SourcesDirectory)/app-ios/MyApp.xcworkspace --schemes MyApp

error: Shell command 
xcodebuild -workspace '/Users/runner/work/1/s/app-ios/MyApp.xcworkspace' -scheme 'MyApp' -parallelizeTargets -derivedDataPath '/Users/runner/Library/Caches/com.github.peripheryapp/DerivedData-b25ed6cb-de5428d2-cb1ab80a' -quiet build-for-testing CODE_SIGNING_ALLOWED="NO" ENABLE_BITCODE="NO" DEBUG_INFORMATION_FORMAT="dwarf" COMPILER_INDEX_STORE_ENABLE="YES" INDEX_ENABLE_DATA_STORE="YES"' returned exit status '70':`
4
  • How much space do you estimate your project will require? You can refer to this doc: learn.microsoft.com/en-us/azure/devops/pipelines/… to enable Enable system diagnostics option when running pipeline. Then you can check the diskspace usage in the pipeline debug log. In this case, you can confirm if the agent diskspace can meet your project requirement. Commented Feb 13 at 5:45
  • Thanks. I realized the title may not be accurate. The issue I think has to do with the xcode build error above Commented Feb 13 at 10:08
  • Can you share the specific Agent type with us?(MS hosted MacOs agent or Self-hosted agent) Do you have same issue when using the same command on your local machine? If possible, you can share the CI pipeline definition with us. Commented Feb 14 at 1:15
  • On the other hand, there are many reasons that may lead to exit 70, can you share more logs to make the issue clearer? Commented Feb 14 at 2:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.