Comments (6)
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.
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.
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.
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.
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.
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)
- error: can't exec '/usr/bin/make' (No such file or directory) HOT 19
- HLSTextField doesn’t properly obey its delegate HOT 1
- [Support Question] Navigation stack with bar HOT 4
- CocoaPod for 2.0.x HOT 2
- ContainerStack popAll crash HOT 1
- StackViewController removeViewControllerAtIndex issue
- ios
- make-fmwk.sh is missing HOT 3
- Crash with objc_msgSend() selector name: scrollViewDidScroll: in UIScrollView+HLSExtensions.m HOT 4
- Cannot install with latest pods HOT 1
- CoconutKit uses deprecated rotation calls in iOS 8 HOT 3
- Crash on ViewController Lifecycle when running an app with a 3rd party keyboard HOT 4
- Stackoverflow in "swizzle_viewDidLoad" when using custom keyboards HOT 1
- Issues with text views in scrollviews when an external keyboard is connected (iOS 9)
- Sometimes incorrect layout guides when pushing a view controller into a stack controller
- Slow email validation regex
- UITextField bindings not working on iOS 12 HOT 2
- Model manager duplication not working HOT 1
- Browser top and bottom insets incorrect (especially since iOS 11)
- iOS 13 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coconutkit.