Giter Site home page Giter Site logo

Missing resources about coconutkit HOT 6 CLOSED

defagos avatar defagos commented on June 2, 2024
Missing resources

from coconutkit.

Comments (6)

defagos avatar defagos commented on June 2, 2024

If you only want to run the CoconutKit demos, you should compile the CoconutKit-dev project. As written in the readme file, the CoconutKit-demo project is meant to test the binaries package (.staticframework) for linkage issues. The reason you get the above errors is that the .staticframework files are not found.

If you really want to compile the CoconutKit-demo project, you must download and save the 1.0 binaries into /LeStudioSDK/Binaries/CoconutKit. In an ideal world this should then compile.

There is sadly an issue with the CoconutKit-demo project for the 1.0 tag, though. Even if you save the .staticframework at the above location, it probably won't compile. The reason is that the path to the .staticframework (as shown by your error messages) has been set to "Relative to group", whereas it should have been set to "Absolute path". If you want to compile the CoconutKit-demo project, you will have to fix it as follows (Xcode 4):

  • open the CoconutKit workspace
  • open the utilities tray (cmd+alt+0) and click on the inspector tab
  • in the project navigator (cmd+0), open the Framework group in the CoconutKit-demo project and select the CoconutKit-1.0-Release.staticframework group
  • in the utilities tray, click on "Relative to group" and set it to "Absolute path"
  • click on the small icon next to the file path, browse to the location where you saved CoconutKit-1.0-Release.staticframework, highlight it and click on "Choose"
  • you are done. To check that the paths have been fixed, expand the .staticframework group in the project navigator. No file should be in red

Sorry for this issue with the 1.0 tag. By default a .staticframework is added with path "Relative to group", and it is easy to forget to set it to "Absolute path".

from coconutkit.

ksachdeva avatar ksachdeva commented on June 2, 2024

Tried to follow the instructions as mentioned here and in the ReadMe.markdown but still having some issues. Here are the errors that I see when try to run the demo project -

/* com.apple.ibtool.warnings */
/Users/ppppp/Downloads/CoconutKit-1.1.3-Binaries/CoconutKit-trunk-Release.staticframework/Resources/CoconutKit_HLSWebViewController.xib: warning: The folder “CoconutKit-trunk-Debug.staticframework” doesn’t exist.
Failure Reason: The folder doesn’t exist.

It is true that CoconutKit-trunk-Debug.staticframework does not exist. I have Coconutkit-trunk-Release.staticframework folder that I point to the correct binary directory.

Please guide.

Regards
Kapil

from coconutkit.

defagos avatar defagos commented on June 2, 2024

As said in a previous comment, you should run the CoconutKit-dev project, not CoconutKit-demo. The end result is the same.

The reason why there is still a reference to the debug version of the .staticframework in your logs is because Xcode does not clean up entries from the "Framework Search Paths" target setting. You probably removed the existing CoconutKit .staticframework from the CoconutKit-demo project using the Project Navigator, added the CoconutKit .staticframework from your Downloads folder, and ended up with a dangling path in "Framework Search Paths" (referencing the .staticframework you just removed). Simply delete it and you should be fine.

I am sorry for all those troubles installing (and updating) CoconutKit. Xcode has some issues I could not find a workaround for, and this is definitely one of them. If I have some time today I will try creating a CocoaPods configuration to solve those issues once for all.

Best regards.

from coconutkit.

romanr avatar romanr commented on June 2, 2024

Building 1.1.3 and CoconutKit-DEV project it fails at mogenerator script:

Failed assertion `momc && "momc not found"'
/Projects/iOS-Libraries/CoconutKit/CoconutKit-dev/../CoconutKit-demo/generate_model.sh: line 28: 35664 Abort trap: 6 mogenerator --model "$MODEL_DIR" --machine-dir "$MACHINE_DIR" --human-dir "$HUMAN_DIR"

from coconutkit.

defagos avatar defagos commented on June 2, 2024

There seems to be a problem with your Xcode and / or mogenerator installation. Are you running the latest mogenerator version? I am running Xcode 4.3 on Lion + mogenerator 1.26 and CoconutKit-dev compiles just fine.

To identify potential Xcode installation issues you can check what went wrong with mogenerator. Have a look at the mogenerator source code to find what can lead to the assertion failure you encountered (https://github.com/rentzsch/mogenerator/blob/master/mogenerator.m). If you are running Xcode 4.3 I would be tempted to think your command-line tools have not been correctly relocated. The

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

command could fix such issues.

from coconutkit.

defagos avatar defagos commented on June 2, 2024

CoconutKit can (and should) now be installed using CocoaPods as of version 1.1.4. This should solve solve most installation issues and problems related to resources (now packaged into a single .bundle).

from coconutkit.

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.