Steps I made:
- Created a new blank Xcode Project for my MacOS Application
- created .travis.yml file for CI setup
- pushed unedited Xcode Project to my GitHub repo
Travis started to build my Project but it throw an Error:
No signing Certificate "Mac Development" found: No "Mac Development" signing Certificate matching ID "XXXXX" with a private key was found
My .travis.yml:
os: osx
language: swift
osx_image: xcode11.3
script: xcodebuild clean build test -project MyApp.xcodeproj -scheme "MyApp" -sdk "macOS 10.15" -destination "platform=macOS" ONLY_ACTIVE_ARCH=NO
I tried the trick with disable Code-Signing at all (https://stackoverflow.com/a/54296008) but thats more like a hack. But I want a clean solution.
However Xcode signs my Code but Travis doesn't. How can I let sign my MacOS App on Travis CI too? Btw: I only have a free Apple Developer Account, so I can't download certificates from https://developer.apple.com