ios – Did any person know the best way to setup CI with App Heart if I’ve dependencies in my mission?

0
16


I’m attempting to setup CI with App Heart for my App. The App has few bundle dependencies, two of them are exterior(with HTTPS) and one is inside in the identical organisation as my app. The difficulty is as a result of the Package deal Dependency for my inside dependency is added with SSH and subsequently I get errors when constructing on App Heart. There isn’t a (recognized for me) strategy to join App Heart with GitHub repo by way of SSH. I attempted so as to add the dependency with HTTPS however then the app will not construct. Is there any means of giving App Heart entry with SSH?

Bellow is an instance of the error:

2023-01-23 14:03:12.081 xcodebuild[1922:7455] Writing error outcome bundle to /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/ResultBundle_2023-23-01_14-03-0012.xcresult skipping cache as a consequence of an error: Didn’t clone repository git@github.com:my-app/my-app.git: Cloning into naked repository ‘/Customers/runner/Library/Caches/org.swift.swiftpm/repositories/my-app-0fe0f1ea’…git@github.com: Permission denied (publickey).

deadly: Couldn’t learn from distant repository. Please ensure you have the right entry rights and the repository exists.

skipping cache as a consequence of an error: Didn’t clone repository git@github.com:my-app/my-app.git: Cloning into naked repository ‘/Customers/runner/Library/Caches/org.swift.swiftpm/repositories/my-app-0fe0f1ea’…

git@github.com: Permission denied (publickey). deadly: Couldn’t learn from distant repository. Please ensure you have the right entry rights and the repository exists.

xcodebuild: error: Couldn’t resolve bundle dependencies: Didn’t clone repository git@github.com:my-app/my-app.git: Cloning into naked repository ‘/Customers/runner/Library/Developer/Xcode/DerivedData/MyApp-adedabdybispofpuztbywfdmxtd/SourcePackages/repositories/my-app-0fe0f1ea’…