Code Monkey home page Code Monkey logo

Comments (10)

johnno1962 avatar johnno1962 commented on June 11, 2024

Hi, I've not had any problems with 15.2 as yet. There are a few things you can try though. Start by closing and re-opening your project to clear out old build logs and perhaps a build clean. Injection also has a cache though it should invalidate automatically. You can remove it using rm /tmp/*builds.plist or rebooting. Is this a project that contains Objective-C?

from injectioniii.

wojciech-kulik avatar wojciech-kulik commented on June 11, 2024

I fixed the problem! It turned out that it was caused by import Dispatch. I replaced it with import Foundation and now it works great :). Thank you for the support!

from injectioniii.

johnno1962 avatar johnno1962 commented on June 11, 2024

Interesting!

from injectioniii.

wojciech-kulik avatar wojciech-kulik commented on June 11, 2024

@johnno1962 btw. this file (/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/include/Dispatch/module.modulemap) exists but it's lowercased dispatch, so probably that's the bug.

from injectioniii.

johnno1962 avatar johnno1962 commented on June 11, 2024

Aha, so you must be using "standalone" injection or the App Store version of the app which compiles in the simulator which is case sensitive. If you use one of the GitHub releases of the app this shouldn't occur.

from injectioniii.

wojciech-kulik avatar wojciech-kulik commented on June 11, 2024

Yes, I used the one from the App Store. What are the differences between these two?

from injectioniii.

johnno1962 avatar johnno1962 commented on June 11, 2024

The only difference is the sandbox which means compilation has to be delegated to the simulator.

from injectioniii.

wojciech-kulik avatar wojciech-kulik commented on June 11, 2024

Is then the GitHub version faster?

from injectioniii.

johnno1962 avatar johnno1962 commented on June 11, 2024

I don't think so though I've never checked. The simulator just has this peculiarity. They must have renamed the directory with Xcode 15.2. I wonder if this issue will come up again and if so if there anything I can do about it.

from injectioniii.

johnno1962 avatar johnno1962 commented on June 11, 2024

Can you post the contents of the command.sh file it mentions or email it to me at github at johnholdsworth.com?

from injectioniii.

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.