Phonegap, Cordova, xCode 4.4 and Mountain Lion - templates

Yesterday I cleaned my hard drive and I updated my OSX to Mountain Lion. I installed xCode 4.4, and after, I downloaded and installed the PhoneGap 2.0.
The problem is that I can't create projects using the template of Cordova Project... like I usually do before...
Does anybody know where is the problem?
Thanks!!!

Read this guide
http://docs.phonegap.com/en/2.0.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS
The template method for creating projects has changed in PhoneGap 2.0 I believe.

Check this tutorial as the official one is outdated
http://iphonedevlog.wordpress.com/2012/09/24/phonegap-2-1-0-in-mac-os-x-mountain-lion-10-8-from-download-to-ios-app-store/

Related

apache netbeans 11.3 C++ plugin timeout, unable to install

Im moving to Apache Netbeans 11.3 and trying to install the C++ plugin on Windows 10, got the follow repos
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
http://bits.netbeans.org/dev/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
but everytime it hits the 99% it simply give me a timeout error when unpacking org-netbeans-modules-cnd-dwarfdiscovery.nbm
The Plugin Installer found problem timeout of loading C/C++ Repository[org.netbeans.modules.cnd.repository/1.32.6.1] while install the following plugins:
already try versions 10, 11.1, 11.2, 11.3, got the same issue, i even got rid of the windows firewall to no avail.
Check the Java version
For me, I have Java version 14
So this version has no program
unpack200.exe
Problem was solved by copying the unpack200.exe file from Java version 1.8 to the bin folder in java 14
copy and paste pack200, unpack200 and unpack.dil from bin of jdk13 into the bin of jdk14. This worked for me and I assure you that it will work for you. I did this with openjdk.

Cannot define method `vertices' because no Objective-C stub was pre-compiled for types

I have just been using RubyMotion and Joybox today.
After installed RubyMotion 2.22 and Joybox 1.1.1 (with rvm 1.25.15, ruby 2.0.0-p353#joybox, on Mac OS X 10.9), and go on with Joybox round 1 article, just after 'motion create --template=joybox-ios test01' and 'rake', I keep getting this error:
Cannot define method vertices' because no Objective-C stub was pre-compiled for types^{CGPoint=ff}#:'. Make sure you properly link with the framework or library that defines this message.
I spent hours searching on the net but still can't find a solution. I'm wondering could someone give me some insight?
Things I tried:
Checked https://github.com/rubymotion/Joybox/issues/42
Reinstalled xcode command line tools.
Removed/Re-installed Joybox gem.
Re-installed RubyMotion
Thank you,
-Long
I updated to version 2.22 of RubyMotion and this caused the same issue for me.
Downgrade RubyMotion
sudo motion update --cache-version=2.20
and set your rubymotion to $:.unshift("/Library/RubyMotion2.20/lib")
in you Rakefile.

iCarousel class doesn't work with ARC on xcode 4.2 & mac os 10.6

I'd like to include the iCarousel class and use it to make a gallery,
but the problem is that it doesn't work, if i include it.
I tried to use it with ARC and without - no effect.
Xcode finds about 20 errors in iCarousel.m :
for all messages like [self stopAnimation], [self layOutItemViews], [self ....] ..
it's written "ARC receiver type 'iCarousel' for instance message doesn't declare a method with selector..
i work on xcode 4.2 and Mac OS X 10.6.8
I download this tutorial http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-creating-an-awesome-carousel/
and it works, but there's no iCarousel effect - just a scroll with the list of images.
iCarousel doesn't support Xcode 4.2 or Snow Leopard any more. The minimum supported version is 4.3 on Lion.
If you want to run it on 4.2 (bearing in mind that Apple no longer accept apps to the app store that are built with 4.2) you can download an older version from this page:
https://github.com/nicklockwood/iCarousel/tags
I believe version 1.6.1 and earlier worked on 4.2, but if you still get errors with it, just keep downloading an earlier version until you find one that works.
EDIT: To be clear, apps built using iCarousel do still support Snow Leopard, but you cannot develop using Snow Leopard.

How to fix problem with version mismatch of iPhone 4.3.4 and IOS SDK

I upgraded my iPhone to 4.3.4 (8K2) and I can no longer build my app.
In the organizer, I get the following error:
The version of iOS on “Jeff Bonta’s iPhone” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
OS Installed on Jeff Bonta’s iPhone
4.3.4 (8K2)
Xcode Supported iOS Versions
4.3.4 (8K2)
4.3.3 (8J2)
4.3.2 (8H7)
4.3.1 (8G4)
So, it acknowledges that I have 4.3.4 installed on my iPhone and it says that Xcode supports 4.3.4, but it also says that the version on the iPhone does not match any of the versions supported for development with this SDK. Very confusing.
Before I rebooted my iPhone, I got errors in the debugger console:
iphone unable to load symbol file:
Other users have had this problem with version 4.2.1 and resolved it by:
Deleting the folder /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1/ and restarting Xcode.
I could not get this to work because I could not delete the folder .../4.3.4 (8K2). I figured out how to delete this folder, but not until after I rebooted my iPhone.
Any suggestions? I am completely stuck.
I had a similar issue, here was my work process.
Close XCode
Disconnect iPhone
Delete 4.2 - to the latest version folders (as
shown in the other post - If you cant do it through the GUI, go in through terminal and sudo delete it.)
Now I went to install Xcode again, but I use Lion now and it said "update xcode" when I went to install.
Install the new updates and open Xcode.
Plug in the iPhone and open Organiser (if it doesnt do it automatically)
Wait a minute
before it recognises the iPhone, it should then ask you to port the
files across.
Click on the project file in Xcode, and then set the
version to 4.3.4 (or 4.3.5 if you updated) manually, as its grayed out and doesn't recognise the device until you do.
Clean the project and then build.
Let me know how you get on :)
I have both Xcode 3.2 and Xcode 4 installed. 3.2 gave me the same error on an iOS5 iPad. I deleted the folder with 'sudo rm -rf /Developer/blah/balh/' and then opened Xcode 4 with the iPad connected, Xcode 4 did some magic and a message 'Clean Manager succeed' appeared on the status bar. Closed 4, opened 3.2 and voila! There was my device ready again.
Hope this helps.

Stanford CS106B C++ libraries in XCode 4

I'm trying to use the Stanford CS106B C++ libraries, like simpio.h and genlib.h. I'm using XCode 4 (this is a beta version btw) and Mac OS X 10.6. I installed the libraries, but they don't seem to be showing up when I try to create a new project in XCode. Is there something different I should be doing with XCode 4 to get these libraries in?
There's probably a pretty basic solution to this problem, and if it were just a matter of frameworks in iOS, I could definitely get that to work with this version of XCode, but I've not really done this with C++ and XCode before, so I'm stuck.
Update on 7/20/11
I found a link to download the Xcode 2.5 tools as well as Xcode 3.0, both of which are described in the handout. I'm downloading both of them now. Does anyone know if Xcode 3.0 and 4.2 will run fine on the same machine?
Yes, multiple versions of Xcode work fine together. During the install, after the "Select a Destination" screen, you see a screen with the packages that will be installed. Click "Developer" folder to change to a custom location for each different Xcode version. The other tools (system and UNIX) cannot be moved.
After you have Xcode installed, just install your libraries in the usr/lib folder under your custom Xcode folder, and you should be good to go.