Could anyone help me out with a strange and vague ...
# ios
n
Could anyone help me out with a strange and vague issue?
PhaseScriptExecution Run\ Script ...
is failing on the Gitlab CI, while it’s working locally. Anyone with some experience regarding this type of issue?
l
@nrobi Could help to have minimal info about how it's failing.
n
message has been deleted
l
Did you search on Google for this issue?
n
Yepp nothing relevant unfortunately and I’m not sure where could things go wrong :(
Here’s my `build lane`:
Copy code
desc "Build"
lane :build do |options|
  xcodebuild(
        workspace: "#{scheme}.xcworkspace",
        scheme: scheme,
        build: true,
        build_settings: {
          "CODE_SIGN_IDENTITY" => "",
          "CODE_SIGNING_REQUIRED" => "NO",
          "CODE_SIGN_ENTITLEMENTS" => "",
          "CODE_SIGNING_ALLOWED" => "NO"
        }
      )
end
l
Could you try locally after putting the
DerivedData
content in the bin? It might help reproduce the issue and analyze the error. Also, might be related to signing config differences?
n
I’m not sure what you mean by putting it in the bin?
l
@nrobi You take the
DerivedData
directory in the Finder whose path is shown in the logs (use cmd + shift + G to navigate to hidden
~/Library
folder, autocomplete works with tab, like in terminal. And you drag this directory to the bin/trash in the dock (or use cmd + delete).