Coder Social home page Coder Social logo

Comments (16)

nintyapple avatar nintyapple commented on July 16, 2024

Got the same thing.
Here's what it looks like for the curious.

from iresign.

mvoong avatar mvoong commented on July 16, 2024

Looks like this code fails to detect Yosemite properly, so it uses the old resource envelope flag:

NSDictionary *systemVersionDictionary = [NSDictionary dictionaryWithContentsOfFile:@"/System/Library/CoreServices/SystemVersion.plist"];
float systemVersionFloat = [[systemVersionDictionary objectForKey:@"ProductVersion"] floatValue];
if (systemVersionFloat < 10.9f) {

Don't have a chance to do a pull request at the moment. Anyone?

from iresign.

nintyapple avatar nintyapple commented on July 16, 2024

Not sure what I'm supposed to do.

from iresign.

mithical avatar mithical commented on July 16, 2024

Encountered the same issue, read over the problem and decided to see what I could do with Xcode 6.1 on Yosemite GM Candidate 2. Opened the project, looked over things and realized it said it was running - out of a whim I decided to build, it did so successfully, then hit 'run' and tried once again to sign an app. It definitely worked.

Any reason why? I'm guessing Xcode 6.1 must have changed the resource envelope flag automatically (or something) when I opened it up to make it run on 10.10.

from iresign.

nintyapple avatar nintyapple commented on July 16, 2024

@mithical is correct, oddly running the .xcodeproj on my Mac works,

from iresign.

fkick avatar fkick commented on July 16, 2024

Current version still gives the same error when attempting to resign. The project will build in 10.10, but not successfully resign anything.

from iresign.

lilpit avatar lilpit commented on July 16, 2024

I fixed the bug on OS X 10.10 by commenting the line calling the deprecated argument on Yosemite, if you comment the lines 318, 319 and 320 of the iReSignAppDelegate.m , the app works normally on 10.10

from iresign.

fkick avatar fkick commented on July 16, 2024

Lilt's solution worked for me on 10.10 GM2

from iresign.

mbm29414 avatar mbm29414 commented on July 16, 2024

So, the problem appears to be how they store "ProductVersion". Mavericks was "10.9" and Yosemite is "10.10". That makes sense to us, but when converting to a float, it breaks basic math and you have to do a lot of weird gymnastics to have it make sense.

Try this out instead:

    NSDictionary *systemVersionDictionary   = [NSDictionary dictionaryWithContentsOfFile:@"/System/Library/CoreServices/SystemVersion.plist"];
    NSString *systemVersionString           = systemVersionDictionary[@"ProductVersion"];
    NSArray *systemVersionArray             = [systemVersionString componentsSeparatedByString:@"."];
    NSString *systemSubversionString        = systemVersionArray[1];
    NSInteger systemSubversionInteger       = [systemSubversionString integerValue];

    if (systemSubversionInteger < 9) {

from iresign.

mattmogford avatar mattmogford commented on July 16, 2024

Has anyone found a definitive answer to this?
I'm not up on creating apps in XCode, is there a new version with this fix added?
I'm willing to use xcode to compile it if it's not too difficult.

from iresign.

sirjordank avatar sirjordank commented on July 16, 2024

#31 should fix this, the conditional check was wrong. Sorry for the oversight.

from iresign.

kyleericson avatar kyleericson commented on July 16, 2024

Is there a fix for this yet, I have no idea what you all are taking about.

from iresign.

maciekish avatar maciekish commented on July 16, 2024

This should be fixed now, no?

from iresign.

kyleericson avatar kyleericson commented on July 16, 2024

Was there a new version that fixed this?

from iresign.

maciekish avatar maciekish commented on July 16, 2024

I pulled some PR's and built a new binary today.

from iresign.

kyleericson avatar kyleericson commented on July 16, 2024

That fixed it thanks a lot.

from iresign.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.