Upgrade cocos2d framework inside project - xcode

I have installed cocos2d project templates and created an application. Now I need to replace a framework files inside the ready project.
I have already replaced templates inside xcode using this:
How to uninstall cocos2d templates?
Is it enough to replace files of cocos2d framework? Or must I create a new project using the new version of template and manually add all the items?

if you upgrade from cocos2d v1 to v2 you need create a new project and copy all your files, but if you upgrade from v2 to v2.x is simple, only need remove all cocos2d files from your project (cocos2d, box2d, cocosDenshion, kazmath.....) and add the new ones.

Related

Migrating to NativeScript 7

I'm migrating a typescript/angular based NativeScript project over to the latest version of NativeScript, and am running into an issue. Before, I was using the tns-platform-declarations plugin (https://preview.npmjs.com/package/tns-platform-declarations) so I could get intellisense (I'm using VS Code) for things like UITextView and other native calls. But when updating my project, this module is removed from package.json. And if I add it back in, it says my project is not compatible with 7.x.
Do I just need to wait until the plugin is updated, or is there another way to get intellisense going, but still use NS 7.x?
Extending on Matthew's answer. Make sure you are including in your tsconfig the references.d.ts file, the one that points to either tns-platform-declarations or #nativescript/types, depending on your NativeScript version.
When you migrate the project it will change your tns-platform-declaration to #nativescript/types
https://nativescript.org/blog/nativescript-7-announcement/

Xcode / phonegap - make new version

I have a working app using Xcode/phonegap. It's in the store in version 1.
What is the best way to make version 2 ?
Do I need to create a new project ? If so, can I inherit from all the things I've specified in version 1 ?
Thank you.
Xcode Version 4.6.1 - Phonegap 2.6
To change the version of your project you need to
Open project
Go to Resources
Open -Info.plist
Change bundle version string
You can also edit this file without opening the project.
The file is in the folder, sibling with the www folder.

Migrate from a xcode codification to phonegap codification

I made originally an application in Xcode and I finished but I want to add more functionality, but now I want to use PhoneGap but reuse my interface that I had on the first version but this its made on Xcode directly, and now I will use Dreamweaver, is this possible?

How do I build frameworks in Xcode?

I'm trying to use the GData framework, so I downloaded it and it came as an Xcode project so I assumed I needed to build it. So I opened it up and and clicked run and it compiled fine, but where do I go to access the .framework it created? I'm new to frameworks and have only been using xcode for a month or two so you'll have to excuse my lack of knowledge about it.
The documentation will help you
Anyway, by default the target is GDataUnitTest, just change it to GDataFramework. Once you compile it you will find the framework in the folder of the XCode Project called target.

Xcode uses old version of templates?

My install of Xcode 3.2.3 created a project with different template files than those of my classmates. We all created a navigation-based app that used core data.
I suspect that my templates are somehow left over from previous installs, whereas my classmates all have current templates.
Anyone else experienced this? Any suggestions for making sure I have the current templates?
If there are copies or customized versions in
~/Library/Application Support/Developer/Shared/Xcode/
they will be preferred over global (updated) versions, see e.g. this question.

Resources