Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fastlane] ComputeTargetDependencyGraph ARCHIVE FAILED 이슈 #82

Closed
kimkyuchul opened this issue Aug 1, 2024 · 0 comments
Closed

[fastlane] ComputeTargetDependencyGraph ARCHIVE FAILED 이슈 #82

kimkyuchul opened this issue Aug 1, 2024 · 0 comments
Assignees
Labels

Comments

@kimkyuchul
Copy link
Owner

** ARCHIVE FAILED **
▸ The following build commands failed:
▸ ComputeTargetDependencyGraph
  • SPM에 TCA를 추가 후 fastlane 실행 시 앱 빌드 단계에서 다음과 같은 이슈가 발생
  • TCA 사용 시 매크로 때문 → TCA에서 사용되는 매크로가 업데이트된 경우를 Xocde가 검증하는 과정에서 에러가 발생
platform :ios do
  desc "Build the app"
  lane :build do
    build_app(
      workspace: "YourApp.xcworkspace",
      scheme: "YourAppScheme",
      xcargs: "-skipMacroValidation" # xcargs 옵션
    )
  end
end
  • 다음과 같이 build_app에서 xcargs 파라미터에 "-skipMacroValidation"를 추가
  • -skipMacroValidation 옵션을 전달하면 Xcode에서 매크로 검증을 건너뛰게 된다

pointfreeco/swift-composable-architecture#2845

@kimkyuchul kimkyuchul self-assigned this Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant