Comments (13)
Do you know, if it's possible to update the flag? If so, how?
from sigh.
Yea it is possible. Will need to modify the entitlements.plist
that gets embedded in the application binary. For example.
# Grab the entitlements and modify entitlement attrributes
codesign -d --entitlements :$ENTITLEMENTS_PATH "Payload/$PRODUCT_NAME.app"
/usr/libexec/PlistBuddy -c "Set :aps-environment production" $ENTITLEMENTS_PATH
/usr/libexec/PlistBuddy -c "Set :get-task-allow false" $ENTITLEMENTS_PATH
/usr/libexec/PlistBuddy -c "Delete :com.apple.developer.associated-domains" $ENTITLEMENTS_PATH
# Resign with the right entitlements
codesign -s "$DEVELOPER_NAME" --entitlements $ENTITLEMENTS_PATH --force --deep "Payload/$BETA_PRODUCT_NAME.app"
from sigh.
Are you talking about the sigh resign
command? If so, sigh
makes uses floatsign.sh
to re-sign your app: https://github.com/KrauseFx/sigh/blob/master/lib/assets/resign.sh
If you know how to fix it, I'd appreciate a pull request
from sigh.
yea that's right I'm talking about the sigh resign
command. I dont know much about floatsigh.sh
, is that an external dependency?
from sigh.
If you give me some pointers I'd be more than happy to take a look though and hopefully submit a PR.
from sigh.
Yes, it is built into sigh
, I took it from https://gist.github.com/Weptun/5406993. You can see the full source code in the above link. sigh resign
will just call it here: https://github.com/KrauseFx/sigh/blob/master/lib/sigh/resign.rb#L25
Since floatsign.sh
is just a sell script, you wouldn't need to make any modifications of the Ruby code.
If the steps taken with https://github.com/KrauseFx/sigh/blob/master/lib/assets/resign.sh seem unnecessary to you to resign an app, you can replace all that with better code of course!
To test it locally, clone the repository and run sudo bundle install
(to install the development dependencies) and sudo rake install
. You will have to run sudo rake install
after you updated resign.sh
, since it's copied over to the gems
folder of your computer.
from sigh.
Awesome, I'll try to find some time to take a look.
from sigh.
I was having a similar issue, and I noticed that https://gist.github.com/Weptun/5406993 was moved to https://github.com/nanonation/floatsign, and it seems like the -r parameter might already do what you were looking for with beta-reports-active. Just thought I'd mention it in case you hadn't noticed already, since I'm not going to have time to take a deeper look.
from sigh.
Great eye, pull request submitted, please take a look?
from sigh.
Thanks
from sigh.
This is all finished now, right?
from sigh.
Where are you pulling changes to resign.sh from? Where should upstream PRs be submitted?
This change broke adhoc deployment signing. See #159.
from sigh.
This issue was migrated to fastlane/fastlane#2982. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo
from sigh.
Related Issues (20)
- Invalid command leads to stack trace instead of error HOT 3
- Enterprise Profiles being assigned all devices HOT 4
- Why do I need to store certificate and provisioning profile in the project folder/repo? HOT 8
- Unjustified "The login credentials for '[email protected]' seem to be wrong" error HOT 6
- sigh creates a new provisioning profile in each run when using an enterprise account HOT 6
- Couldn't download provisioning profile - RuntimeError HOT 3
- UnexpectedResponse fetching dev profiles with wildcard app id (0646936c4042f6081cae3c56c8a535a3) HOT 2
- Any way to regenerate and download existing provisioning profile? HOT 2
- Couldn't download certificate HOT 8
- Wildcard for Enterprise HOT 4
- Where do I get my cert_id for use in sigh -i ? HOT 8
- Is there an easy way to delete profiles wrongly created by sigh? HOT 4
- Could not install WWDR certificate HOT 4
- resign.sh does not change WKAppBundleIdentifier and WKCompanionAppBundleIdentifier for nested apps HOT 3
- resign.sh write all (95%) output to stderr confusing CI servers HOT 2
- Can not download provisioning profile HOT 8
- I can't make the sigh download_all for for my Company License for for my Personal License HOT 5
- [Feature Request] Expose Bundle Identifier to Resign HOT 1
- Crashing when I try to do a repair on a Developer Provision Profile HOT 1
- Connection reset by peer - SSL_connect
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 sigh.