curiouswebster
asked on
Finding the iOS SDK
Now that I use Xcode 4.3, the SDK is no longer in the /Developer folder. So were can I find it?
I found the following link containing these path's, and suspect the path is here. I just do not know how to get it to input into DreamWeaver.
http://forums.runrev.com/viewtopic.php?f=49&t=11333
(search for "iPhoneOS.platform" to find the following)
Thanks.
sudo cp -R /Volumes/Xcode/Xcode.app/C ontents/De veloper/Pl atforms/iP honeOS.pla tform/Deve loper/SDKs /iPhoneOS5 .1.sdk /Developer/Platforms/iPhon eOS.platfo rm/Develop er/SDKs/
sudo cp -R /Volumes/Xcode/Xcode.app/C ontents/De veloper/Pl atforms/iP honeSimula tor.platfo rm/Develop er/SDKs/iP honeSimula tor5.1.sdk /Developer/Platforms/iPhon eSimulator .platform/ Developer/ SDKs/
sudo cp -R /Volumes/Xcode/Xcode.app/C ontents/De veloper/Pl atforms/iP honeOS.pla tform/Devi ceSupport/ 5.1\ \(9B176\) /Developer/Platforms/iPhon eOS.platfo rm/DeviceS upport/
cd /Developer/Platforms/iPhon eOS.platfo rm/DeviceS upport/
sudo rm -f ./Latest
sudo ln -s ./5.1\ \(9B176\) ./Latest
I found the following link containing these path's, and suspect the path is here. I just do not know how to get it to input into DreamWeaver.
http://forums.runrev.com/viewtopic.php?f=49&t=11333
(search for "iPhoneOS.platform" to find the following)
Thanks.
sudo cp -R /Volumes/Xcode/Xcode.app/C
sudo cp -R /Volumes/Xcode/Xcode.app/C
sudo cp -R /Volumes/Xcode/Xcode.app/C
cd /Developer/Platforms/iPhon
sudo rm -f ./Latest
sudo ln -s ./5.1\ \(9B176\) ./Latest
ASKER
Thanks. I see the 3 folder inside of:
/Applications/Xcode.app/Co ntents/Dev eloper/Pla tforms/
I never would have found this on my own!
So I should execute the three sudo commands you provided? Once I do so, where will the folders be located? I need the actual path which I can then enter into DreamWeaver.
Thanks!
/Applications/Xcode.app/Co
I never would have found this on my own!
So I should execute the three sudo commands you provided? Once I do so, where will the folders be located? I need the actual path which I can then enter into DreamWeaver.
Thanks!
Those 3 commands COPY the folders from INSIDE the XCode application to the Developer folder on the root of your iMac ... in effect the same location that the older versions of XCode were located.
I am guessing that Dreamweaver was setup to look in the old location of XCode .. /Developer/....
I am guessing that Dreamweaver was setup to look in the old location of XCode .. /Developer/....
ASKER
I tried to execute the first one, but got this:
cp: /Developer/Platforms/iPhon eOS.platfo rm/Develop er/SDKs: No such file or directory
times 10 thousand!
cp: /Developer/Platforms/iPhon
times 10 thousand!
That destination folder clearly does not exist so it cannot copy the folder from inside the XCode app
You'll have to create the destination folders first ... unless there is some way to point Dreamweaver at the correct location inside the XCode.app and save yourself some work
You'll have to create the destination folders first ... unless there is some way to point Dreamweaver at the correct location inside the XCode.app and save yourself some work
ASKER
It looks like to create all those nested folder by hand is a lot of work. And error prone.
I would much prefer to point to the Xcode exe folders. I think that may work, since I can browse to the folder tree inside the Xcode executable from within DreamWeaver. But when I chose this folder
/Applications/Xcode.app/Co ntents/Dev eloper/Pla tforms/iPh oneOS.plat form/Devic eSupport/5 .1 (9B176)
I get the attached error. The iOS is not found. So either I have the wrong folder or DreamWeaver does not treat this folder as a standard folder.
iOS-not-found.tiff
I would much prefer to point to the Xcode exe folders. I think that may work, since I can browse to the folder tree inside the Xcode executable from within DreamWeaver. But when I chose this folder
/Applications/Xcode.app/Co
I get the attached error. The iOS is not found. So either I have the wrong folder or DreamWeaver does not treat this folder as a standard folder.
iOS-not-found.tiff
More likely the former (wrong folder selected) ... as the folder should be a standard folder.
ASKER
How might I find the exact folder it's looking for? Or is there a certain file that needs to exist?
I have tried a bunch.
Why do I feel like I'm the first to configure DreamWeaver to work with the iOS SDK??
I have tried a bunch.
Why do I feel like I'm the first to configure DreamWeaver to work with the iOS SDK??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect!
Thanks!
Thanks!
In OSX an application is usually a folder with a name ending in ".app"
Your XCode is sitting in the Applications folder .. if you right click you will see an option in the top of the contextual menu called "Show package Contents"
This opens the APP folder and you can now browse the contents of XCode
The commands you quote above are not correct as they are designed to copy the SDK folders from a Mounted disk image called XCode .. whereas your SDK folder is now at
/Applications/Xcode.app/Co
/Applications/Xcode.app/Co
The 3 commands above should read ..
sudo cp -R /Applications/Xcode.app/Co
sudo cp -R /Applications/Xcode.app/Co
sudo cp -R /Applications/Xcode.app/Co