https://kotlinlang.org logo
#ios
Title
# ios
n

nrobi

09/09/2020, 7:42 AM
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

louiscad

09/09/2020, 9:31 AM
@nrobi Could help to have minimal info about how it's failing.
n

nrobi

09/09/2020, 9:34 AM
message has been deleted
l

louiscad

09/09/2020, 9:37 AM
Did you search on Google for this issue?
n

nrobi

09/09/2020, 9:41 AM
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

louiscad

09/09/2020, 10:04 AM
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

nrobi

09/10/2020, 5:58 AM
I’m not sure what you mean by putting it in the bin?
l

louiscad

09/10/2020, 7:28 AM
@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).
2 Views