Coder Social home page Coder Social logo

CALayerInvalidGeometry about minivmac4ios HOT 7 CLOSED

zydeco avatar zydeco commented on July 27, 2024
CALayerInvalidGeometry

from minivmac4ios.

Comments (7)

zydeco avatar zydeco commented on July 27, 2024

from minivmac4ios.

EriolGaurhoth avatar EriolGaurhoth commented on July 27, 2024

Immediately upon launch. It should also be noted that these error warnings appear immediately before the exception:

Error loading /var/containers/Bundle/Application/1C4255AF-8FD8-4828-8157-0D8876F98A19/Mini vMac.app/PlugIns/MacPlus4M.mnvm/MacPlus4M: dlopen(/var/containers/Bundle/Application/1C4255AF-8FD8-4828-8157-0D8876F98A19/Mini vMac.app/PlugIns/MacPlus4M.mnvm/MacPlus4M, 265): no suitable image found. Did find:
/var/containers/Bundle/Application/1C4255AF-8FD8-4828-8157-0D8876F98A19/Mini vMac.app/PlugIns/MacPlus4M.mnvm/MacPlus4M: mmap() errno=1 validating first page of '/var/containers/Bundle/Application/1C4255AF-8FD8-4828-8157-0D8876F98A19/Mini vMac.app/PlugIns/MacPlus4M.mnvm/MacPlus4M'

from minivmac4ios.

zydeco avatar zydeco commented on July 27, 2024

d1a0721 fixes the crash, but not the underlying problem of the bundle (which contains the code to emulate the machine) not being loaded, I'm not sure why this could happen.

Have you tried to archive, export the ipa from the archive (using export for development deployment) and install that (from Xcode's devices window, or with iTunes)?

from minivmac4ios.

EriolGaurhoth avatar EriolGaurhoth commented on July 27, 2024

I have not tried exporting yet, though I did notice something odd with the emulated machine code, under "general" for the MacPlus4M, it tells me that Xcode failed to parse the contents of info.plist, and lists no linked frameworks and libraries. I will have to check later to see if my version of info.plist is somehow corrupted. Thanks for fixing the big crash!

from minivmac4ios.

zydeco avatar zydeco commented on July 27, 2024

Xcode failed to parse the Info.plist because it had some placeholder values that were inserted by the preprocessor, but I've changed the way it's done in 08cfcc6, and now it builds correctly with Xcode 8 beta.

You may also have to set a Team for each of the framework targets, under General and Identity

from minivmac4ios.

EriolGaurhoth avatar EriolGaurhoth commented on July 27, 2024

I think my issue is either with my Team account or provisioning profile, for when I tried to export the ipa, I couldn't get any Dev Team to show up in my dropdown. (as an aside, probably in no way related, trying to download dSYMs completely crashes my Xcode...for reference, I'm using Xcode 7.3)

There's probably some issue on my end at this point, not the code, because now the thread dies at [self.view addSubview:shutdownLabel]; in ViewController.m with an EXC_BAD_ACCESS error, resulting from the fact that it's not loading any Objective-C class information. It's also still not loading the MacPlus4M module, in spite of setting my proper team account for it and the other frameworks.

Thanks for the help!

from minivmac4ios.

EriolGaurhoth avatar EriolGaurhoth commented on July 27, 2024

UPDATE There was an issue with my provisioning profile that I fixed, and now everything compiles and runs correctly. However, every so often the app will stop working, crashing immediately when opened. Uninstalling, recompiling and reinstalling fixes this, but I'm not sure what could be causing this behavior. Otherwise, it runs great!

from minivmac4ios.

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.