Pavel Dektev

01/27/2023, 3:57 PM
Hi! I am trying the KMMBridge. When I use an “All Publish” workflow I get the
Run ./gradlew kmmBridgePublish publishAndroidDebugPublicationToGitHubPackagesRepository publishAndroidReleasePublicationToGitHubPackagesRepository -PGITHUB_PUBLISH_TOKEN=*** -PGITHUB_REPO=[my repo]  --no-daemon --stacktrace
/Users/runner/work/_temp/ line 1: ./gradlew: Permission denied
What am I doing wrong?
Ok. It seems like the gradlew file somehow lost it exeutability when it was copied. so running
chmod +x ./gradlew
fixed it


01/27/2023, 5:42 PM
That’s odd. Did you create the repo or was it a clone of a template or sample?

Pavel Dektev

01/27/2023, 7:05 PM
I had a repo already so I just copied the files via the “upload files” in github and somehow during that process gradlew file stoped beeing executable
@kpgalligan Hi again! Still trying to make things work )) This time I am failing to get the spm dependency to work. I have a private Github repo. I created an .netrc file and filled it with my login and a new PAT. When I try to add a package I paste the github link into a search box and for some reason Xcode does not use the .netrc file and asks to provide a creadentials. But this also does not work. What am I doing wrong?