Skip to content

Generated Symroot folder structure unrecognized by archive task #459

Description

@thipokch

Thanks for the cool plugin. Please help me find out why the folder structure

When I copied the xcodebuild command from Gradle debug mode and run it in terminal, it seems to be generating what archive task expects.

# Achieve task expects this
# and Build task sometimes generates this folder structure. 

build/
├─ sym/
│  ├─ Debug-iphoneos/
│  │  ├─ .ipa
│  │  ├─ .sym
│  │  ├─ ...
├─ ...
# Build task most often time generates this folder structure.

build/
├─ sym/
│  ├─  .ipa
│  ├─  .sym
│  ├─  ...
├─ ...

Here's my build.gradle.kts (I also did it with groovy and it's the same issue).

gradle.taskGraph.whenReady {
      xcodebuild {
          scheme = "dev"
          target = "example"

          configuration = "Release"
          simulator = false

          infoplist {
              bundleIdentifier = "ch.thipok.example.dev"
              bundleDisplayName = "Example Dev"
          }
    }
}

I tried working around this issue, by running archive task, but the command resulted issue as seen in #457.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions