Coder Social home page Coder Social logo

Not able to build after skit init about skip HOT 11 CLOSED

naticio avatar naticio commented on September 23, 2024
Not able to build after skit init

from skip.

Comments (11)

aabewhite avatar aabewhite commented on September 23, 2024

How did you generate the project you're building? It looks like something is messed up in the build configuration.

from skip.

naticio avatar naticio commented on September 23, 2024

I used this command
skip init --open-xcode --appid=myBundleID nameofmyproject Max

from skip.

aabewhite avatar aabewhite commented on September 23, 2024

Well nothing wrong with that!

Did you by chance have an old project with the same name?

Please try:

$ brew update
$ brew upgrade skip

Then - assuming you haven't done any work in Max - delete the old Max project and re-run skip-init to get a new project.
Also please delete Xcode's Derived Data folder and restart Xcode before attempting to build the new project.

from skip.

santaman217 avatar santaman217 commented on September 23, 2024

I am having a similar issue and have tried all of the fixes mentioned here but I am still unable to build the project. I can post error logs if you think it would help.

from skip.

aabewhite avatar aabewhite commented on September 23, 2024

I am having a similar issue and have tried all of the fixes mentioned here but I am still unable to build the project. I can post error logs if you think it would help.

Yes please!

from skip.

santaman217 avatar santaman217 commented on September 23, 2024

I hope posting an image is okay as copying each error code in Xcode is a pain.
Screenshot 2024-04-01 at 17 28 49

I should add:
M1 Macbook Air
macOS Version: 14.4
Xcode version: 15.3

from skip.

aabewhite avatar aabewhite commented on September 23, 2024

Thanks! And can you please post the command you used to create the MyAndroidApp project? E.g. skip init ...

from skip.

santaman217 avatar santaman217 commented on September 23, 2024

skip init --open-xcode --appid=com.example MyAndroidApp MyAndroidApp

from skip.

aabewhite avatar aabewhite commented on September 23, 2024

Thanks again. The problem may be related to the project name and app name being the same. Can you please try deleting Xcode's DerivedData folder (or at least the MyAndroidApp folder within it) and then run the command with a different project name? Eg:

skip init --open-xcode --appid=com.example my-android-app MyAndroidApp

That worked for me.

from skip.

santaman217 avatar santaman217 commented on September 23, 2024

It completely worked, thank you so much!

Have a nice day!!

from skip.

aabewhite avatar aabewhite commented on September 23, 2024

Excellent! I've updated the documentation to make this restriction clear, and we'll enhance the tools to prevent this type of error in a future version.

from skip.

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.