Closed chenxiao218 closed 3 years ago
Hi @chenxiao218, in this case, the CLI successfully prebuilt the frameworks but failed to push them to the cache repo. The push step is just the git commands (add + commit + push).
I think you can cd to the cache directory (ie. _LocalBinaryPods
) to check anything went wrong.
@trinhngocthuyen Hi, I have fixed it by clearing the remote repo and retrying the setup steps, thx for the reach out.
@chenxiao218 I am seeing same issue. What did you mean by retrying the setup steps? Thanks
@shahzadmajeed In our binary repo it hosted all the binary cache built in Debug, but someone pushed the cache generated from Release which has totally different configuration to the repo, then the error happens when I try to repush the origin copy.. not sure my scenario is similar to you, I cleared the binary repo via force push and retried the setup just like using the binary cache at first time, then it fixed somehow.
This is what I override the Podfile:
config_cocoapods_binary_cache( cache_repo: { "default" => { "remote" => "my_repo_address", "local" => "_LocalBinaryPods" } }, device_build_enabled: true, bitcode_enabled: true, xcframework: true )
This is what in the project folder:
I came up with following error when run
pod binary push
.Error