Xcode was not found, Please specify it - sencha-touch-2

I am new to Sencha and I am running KitchenSink in Sencha. But I am getting an error "Xcode was not found, Please specify it".
I have updated Sencha and installed everything but not able to get through this error. And I am not able to find to mention xcode path or else.

Actually I was having 3 Xcode of different version. Therefore I set the path for my usable Xcode in terminal. Thats all.

Related

Xcode 5.0.2 : Failed to Launch Cocoa Touch Tool...?

I've been trying to do some programming with Xcode 5, but I've been having some problems. I'm trying to create a new Objective-C Class from File > New File. I can create the class, but a few seconds after it's been created, Xcode crashes and gives me an error. I tried this 3 times, and got the same error. I put the error as well as my console log for it here:
Error: http://www.pastebin.com/PmdZaDag
Console Log: http://www.pastebin.com/5sCmcurW
I don't really know much about programming in Xcode, so I'm not sure what the problem is at all. Thanks!
Xcode 5.0.2
MacBook Pro Retina with OS X 10.10.1
The issue seems like in your Xcode 5.0.2. Tried with higher version or install the same version of Xcode again.
I got this problem too .
Here is my solution:
create a new .storyboard file
right click these two .storyboard file respectively Open As >> Source Code
According to the new .storyboard file , change the version and toolsVersion Tag

Problems with current version of SDWebImage

When I download the latest sourcecode of SDWebImage from the GitHub repo, I get compile errors in it.
For example in SDImageCache.m I have undeclared or unsynthesized properties. In initwithNameSpace: a variable named _ioQueue is used, but it is not declared anywhere and some others.
Same is in SDWebImageManager.m in its init method. It uses an undeclared variable named _imageCache. There is more of this.
Where can I download the latest working code of this project?
I was using iOS 5 for my project. It turned out that the new versions of the library are made for iOS 6. So I had to find a version which worked on iOS 5. I downloaded it, included it and it is working again.

Xcode build but not run on device

I was in the process of adding a third party library (GPUImage), I actually managed to get it all in and installed on the device. Woohoo!
Then...well you know the story. It doesn't work anymore.
Now when ever I try to build to my device it will "Build successfully" then immediately go to "Finished running".
My setup:
iPhone 4
iOS 5.1.1
OS X Lion
Xcode 4.3.2
I have:
Tried:
Adding in armv6
-all_load
Restarting xcode
Restarting device
Removing device from the organizer then adding it back.
Restarting computer.
Cleaning project and rebuilding
Removing the "Requirements" (?) from the pList (although this app is for iOS 5.0 or higher).
None of these seem to work. If anyone has had this problem PLEEEASE help! I am about to lose my sanity.
In the mean time I will try archiving and doing and OTA install and see if that works.
Thank you very much for your time,
Cory
P.S - I have already seen all the other post on here so please don't paste links to them :)
Problem of Project, Scheme and Target names. This all must be a same. Try rename to same name
"AppName" and "Appname" is not true. Must be "AppName" and "AppName", or "Appname" and "Appname".
I have the same problem - I have the latest XCode iOS SDK 5.1 - but my iPhone is updated with the latest iOS version 5.1.1
Not sure how to solve this as Apple havent released the new SDK. Pretty shit to be honest, as I can't test on my device.
Not sure what fixed my problem but with the new Xcode version the problem stopped. Thank you everyone for your help.

Failed to build ios project with CorePlot

I'm new to ios. I want to use CorePlot in my project.
I followed the steps in the instruction from CorePlot wiki and tried to build my project by Xcode 3.2.2. But i got some errors like
"'CALayer' may not respond to '-encodeWithCoder:' ",
"'NSMutableSet' may not respond to '-sortedArrayUsingDescriptors:'".
I tried to build the examples in the coreplot source code package and got the same errors.
Anyone knows the reason? How can i solve these problems? Any help would be appreciated.
The latest Core Plot projects are set up for Xcode 4.2. You may have to adjust some of the build settings to get them to work in older versions. I don't have that version of Xcode installed any more, but the first thing I would check is to make sure the Base SDK is set to one that you have instead of the generic "Latest iOS".

detected an attempt to call a symbol in system libraries that is not present on the iPhone

Im using x-code 3.2.4 and I'm using the ios4.1 sdk.
I'm getting the following error when I try to call "ExtAudioFileOpenURL" from the audio toolbox.
Detected an attempt to call a symbol
in system libraries that is not
present on the iPhone:
_Unwind_Resume called from function _ZN15ID3ParserHandleC2EPvPFlS0_mmmPS0_PmE
in image AudioToolbox.
Why is this happening and how can I fix it?
Thanks,
db.
EDIT
In addition when running on a 4.1 device I get this error "error: 805297555"
What the hell?
The exact line of code causing the problem is this.
// Open an audio file and associate it with the extended audio file object.
OSStatus result= ExtAudioFileOpenURL (sourceURLArray[audioFile], &audioFileObject);
It's straight out of a sample code project. That sample code project runs fine.
I don't understand why if I start a new project with the same code I get errors.
This means that ExtAudioFileOpenURL is an unsupported API on the iPhone. ExtAudioFileOpenURL probably makes use of some exception handling API that is not available on the iPhone, which is why you are seing this sympton of the underlying error.
What I had to do in the end was completely uninstall the developer tools from my machine.
Then download the latest versions of xcode & ios SDK.
Everything works ok now.
Sadly I still don't exactly know what the problem was but at least things are running.