How to run example TICoreDataSync? - ticoredatasync

I cloned the repository https://github.com/nothirst/TICoreDataSync
Create Podfile in TICoreDataSync folder
pod 'TICoreDataSync'
Open terminal
cd TICoreDataSync
pod install
The installation was successful and to create a folder pods.
4.I now want to see the work TICoreDataSync/Examples/iOSNotebook/iOSNotebook.iOSNotebook.xcodeproj
But the project has a 9000 error.
If you have someone working example of a fully assembled TICoreDataSync?

We've had one other CocoaPods error reported recently. Have you tried cloning the repository and using git submodule update --init --recursive to clone all the submodules? That should give you a working repo.

Related

alternative approach to setup github project with git clone

For some projects stored on github.com, they suggest the following commands for setup,
Clone this repository: git clone https://github.com/projectA/projectA.git
Initialize all submodules: git submodule update --init --recursive
My development environment is built on the enterprise network behind the firewall, which does not allow me to use git clone and git submodule. With respect to this kind of scenario, what are the alternate approach to solve that?
You can try and clone a repo at home, use git bundle in order to generate one file (with all the repo history in it) and copy that file somewhere accessible from your enterprise network.
That way, you can clone from that file, and still get the repo full history.

wp submodule update to 4.7.2 - Unable to checkout

I am trying to update my wp submodule to 4.7.2 (I use capistrano to deploy).
I am able to update locally but when I deploy to staging or production I get the following error:
git stdout: Nothing written
git stderr: From github.com:WordPress/WordPress
9bf3844..d333018 master -> origin/master
fatal: reference is not a tree: 1ea8e9a4f03f425a6a77c3487528fedd3f33c100
Unable to checkout '1ea8e9a4f03f425a6a77c3487528fedd3f33c100' in submodule path 'wordpress/wp'
But that tree must exist for it to be working locally right?
Any ideas of what direction I should be looking in? Or better yet a solution!
Thanks
N
I needed to delete my repo from the server and then redeploy. Seemed to have an issue with the submodule in the Capistrano routine.
THanks

How to run the meteor project which git cloned from the Github in different OS

I've created a meteor project in my Windows system,then it be pushed to my Git repository.
Now I need to git clone to my Mac system and run it, but when I CD into the project folder and use "meteor" order in terminal line, It shows: "you need to creat APP ...", why? what should I do to run the project in my Mac system?
Many thanks~~~
Have you tried following the tutorial?
I think meteor create is what you need.

How to install atmosphere packages without meteorite?

mrt currently has a bug with spaces in Volume names on the Mac https://github.com/oortcloud/meteorite/issues/172.
Until that is fixed, how can I manually install packages from atmosphere?
You can create a directory called /packages in your project & then manually install each package and its dependencies. e.g for 'meteor router'
in /packages
git clone https://github.com/tmeasday/meteor-router.git
mv meteor-router router
git clone --recursive https://github.com/tmeasday/meteor-page-js-ie-support.git
mv meteor-page-js-ie-support page-js-ie-support
The second is a dependency on meteor router which you can see on the package's atmosphere page. It's recursive to make sure the submodule pages-js is also git cloned in.
Meteor 0.65+
As pointed out by thatjuan: Once you do this, you just need to add the main one to your project. You don't have to add the dependencies.
meteor add router
meteor router also needs HTML5-History-API
git clone --recursive https://github.com/tmeasday/meteor-HTML5-History-API.git
remove meteor and the folder should look like this HTML5-History-API
then meteor add router

Not a git repository error when updating via Composer

I'm trying to update my Symfony 2 project from 2.1.4 to 2.1.7 using composer and run php composer.phar update as normal, after updating a few dependencies I receive the following error:
[RuntimeException]
Failed to clone http://github.com/fabpot/Twig-extensions via git, https
and http protocols, aborting.
- git://github.com/fabpot/Twig-extensions
fatal: Not a git repository (or any of the parent directories): .git
- https://github.com/fabpot/Twig-extensions
fatal: Not a git repository (or any of the parent directories): .git
- http://github.com/fabpot/Twig-extensions
fatal: Not a git repository (or any of the parent directories): .git
I've checked the URL and can confirm that it exists, I'm also able to git clone it without any issues from the same CLI.
What's odd is if I run php composer.phar update twig/extensions separately it seems to update without a problem.
This typically happens if you have an old symfony copy that shipped with the vendors installed as git repos but with the git repos removed. To fix it you should just remove the vendor directory so they will reinstall from scratch as git clones or as zip archives, but without any previous assumptions.
Note that currently, I experience a similar issue while using composer with hhvm and PHP 7.
[RuntimeException]
Failed to execute git checkout 'hash' -- && git reset --hard 'hash' --
fatal: Not a git repository (or any of the parent directories): .git
The error appears depending on the composer.json not always but rather regularly. I switch off hhvm to get it working.

Resources