Comments (7)
This looks like something we will have to surface to the config.yml
file. I don't have time now, but will try to look at this soon.
EDIT: Actually, we should be able to automatically determine the team id from the certificate and pass it as an environment variable in Python. Will confirm later today if it's so trivial to fix.
from signtools.
Here is how I solved this issue when I had it
In sign.py line 373 add this:
def fastlane_register_app(account_name: str, account_pass: str, bundle_id: str, entitlements: Dict[Any, Any]):
my_env = os.environ.copy()
my_env["FASTLANE_USER"] = account_name
my_env["FASTLANE_PASSWORD"] = account_pass
+ my_env["FASTLANE_TEAM_ID"] = os.path.expandvars("$FASTLANE_TEAM_ID")
In .github/workflows/sign.yml add the value to your env at line 13
env:
SECRET_URL: "${{ secrets.SECRET_URL }}"
SECRET_KEY: "${{ secrets.SECRET_KEY }}"
+ FASTLANE_TEAM_ID: "${{ vars.FASTLANE_TEAM_ID }}"
Then in your project go to Settings > Secrets and Variables > Actions > Variables
Add a key FASTLANE_TEAM_ID
with the value of your team ID
You could modify the code to work with secrets if you prefer.
from signtools.
Pushed a fix in: SignTools/SignTools-CI@283a82b
Update your SignTools-CI and you should be good to go.
from signtools.
@ViRb3 can confirm that it works and I no longer get the same error, unfortunately signing still does fail at a later stage (at Signing with entitlements:
), not sure if it is related but it does involve fastlane
.
Thanks for the help&patch!
subprocess.CalledProcessError: Command '('fastlane', 'produce', 'create', '--skip_itc', '--app_identifier', 'com.foo.bar.baz.mgcrea', '--app-name', 'ST com foo bar baz mgcrea')' returned non-zero exit status 1.
from signtools.
There should be more detailed logs from fastlane that tell you exactly what's wrong. If I were to guess, maybe the bundle id com.foo.bar.baz.mgcrea
is already taken by a different dev account.
from signtools.
There should be more detailed logs from fastlane that tell you exactly what's wrong. If I were to guess, maybe the bundle id
com.foo.bar.baz.mgcrea
is already taken by a different dev account.
Unfortunately the output is truncated and stops abruptly:
[21:26:31]: Creating new app 'ST com foo bar baz mgcrea' on the Apple Dev Center\n\nLooking for related GitHub issues on fastlane/fastlane...\n\nFound no similar issues. To crea
Cleaning up...
But you might be onto something about the ID being taken as I've signed with another team in the past, will retry! Thanks!
from signtools.
@ViRb3 That was it! It finally worked, thanks!
from signtools.
Related Issues (20)
- Error on GitHub actions when using Fly.io HOT 1
- can not sign apps with personal developer account HOT 8
- failed to sign localhost windows HOT 2
- Screenshot Upload to https://bashupload.com HOT 1
- Tool
- setup_account timed out HOT 7
- Unable to get notifications working. HOT 1
- OTA Install not working: Manifest Proxy in use despite reverse HTTPS proxy HOT 3
- No extension in the macOS binary HOT 1
- Issue running sign.py on Semaphore CI (connect ECONNREFUSED ::1:8080) HOT 1
- New app
- Failed CI HOT 1
- Discord link is not working HOT 1
- "Unable to install *.ipa" when done through reverse proxy HOT 13
- OTA Manifest error when on https HOT 6
- SignTools-CI insert_dylib is not built with Apple Silicon support HOT 1
- Ability to specify host for cloudflared HOT 2
- New page
- option to use developer account signing profile without username & password HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from signtools.