Since two days my build cloud breaks the IOS build.
The full error is:
1: Running Prebuild steps
2: Removing bvr
3: Successfully uninstalled bvr-0.2.47
4: Building native extensions. This could take a while…
5: done.
6: bvr 1.2.8
7: bvr-api 0.2.2
8: Cloning the remote Git repository
9: Cloning repository ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/xxxxxxxxx
10: Fetching upstream changes from ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/xxxxxxxxx
11: ERROR: Error cloning remote repo ‘origin’
12: stdout:
13: Permission denied (publickey).
14: fatal: Could not read from remote repository.
15: Please make sure you have the correct access rights
16: and the repository exists.
17: at sun.reflect.GeneratedMethodAccessor780.invoke(Unknown Source)
18: at com.sun.proxy.$Proxy55.execute(Unknown Source)
19: ERROR: null
20: postbuildstatus finished successfully.
21: Finished: FAILURE
The problem is clear the build cloud doesn’t use the correct configuration for connecting to the CodeCommit AWS git repository, because it doesn’t put before the userid@
Ex: ssh://XXXXXXXXXX@git-codecommit.us-east-1.amazonaws.com/v1/repos/xxxxxx
But the Andorid buid of the same project works and in the full log the git clone step is correct:
1: Running Prebuild steps
2: done.
3: bvr 1.2.8
4: bvr-api 0.2.2
5: Using strategy: Default
6: Last Built Revision: Revision 8364a0f358c76fcbd9fabeeec4be557341b86c55 (origin/develop)
7: Cloning the remote Git repository
8: Cloning repository ssh://XXXXXXXXXXXXXXXXX@git-codecommit.us-east-1.amazonaws.com/v1/repos/xxxxxxxxxxx
9: git version 2.6.6
10: Fetching upstream changes from origin
11: Commencing build of Revision a6b79ad9722ba7eea09f4db55ebb0a947bc130e6 (origin/develop)
12: Checking out Revision a6b79ad9722ba7eea09f4db55ebb0a947bc130e6 (origin/develop)
I have tried to create a new IOS configuration but it doesn’t work.
So I think the problem is in the build cloud but I haven’t a solution to fix it.
Some have any idea or suggestion?