Closed NoahSaso closed 8 years ago
Gunna test this now. Thank you for your contribution to the topic!!! Testing... Building
Thank you so much for this mate! Confirmed to be working!
https://mega.nz/#!4oAjzQjA This is the built version to anyone struggling to build the app in Xcode.
Thanks bradleyduncan. Can you share the passcode/decryption key for the mega upload file?
@NoahSaso Thanks, I haven't gotten around to installing Sierra on my hackintosh and my real Mac is "too old"...
What is the actual output of the security command when given the provisioning profile?
@DanTheMan827 It's actually pretty strange because I read the security cms command help and all the arguments you use are valid. Anyways, the output is:
security: SecPolicySetValue: One or more parameters passed to a function were not valid. *all the valid xml*
I just take out that first line if I find it in the output, probably the wrong way to do it but it works for now.
@DanTheMan827 I'm reading around and beginning to think this actually isn't a user problem. I'm staring at the man pages and looking at the terminal help options, and I just keep being reassured that the two arguments you use are completely valid. Maybe it's an internal macOS Sierra problem... I think you honestly just have to hack your way around it like I did, since it does output the correct XML anyways.
This is just a fix for the macOS Sierra bug people are experiencing (https://github.com/DanTheMan827/ios-app-signer/issues/19). /usr/bin/security is a bit different and gives an extra line of error message before the xml is outputted. I just went ahead and removed this line and passed the xml along to the rest of the code so it works :)