can't open .XIB to another lower system version - objective-c

In my mac project I have created .XIB file in xcode 5.1.1(OSX 10.10.2). This .XIB file i can't open in xcode 5.1.1(OSX 10.8.5) another system.
Try below methods:
open this file via pull from source control.
copy and paste this file to another system(OSX 10.8.5).
Change the 'open in' as xcode 5.1 and 'build for' as 'osx 10.8' in xcode.
But those method not working for me.
Please help me to this. Thanks.

I would suggest to upgrade to Xcode 6 and open the file there. Both Xcode 5 and 6 can be installed on the same system, so if you must use Xcode 5 on your current system, at least you can copy and paste the contents of the file.
Note that you will not be able to submit apps using Xcode 5 anymore as of February 2015.

Related

Model is running iOS 10.2 (14C92), which may not be supported by this version of Xcode

I am facing this error, i am done with research on that.
I conclude the result, i need one file for device support 10.2(14C92)
Please share that file.
GoTo:
Right click on Xcode 8 or Newer version of your Xcode, select "Show
Package Contents", "Contents", "Developer", "Platforms",
"iPhoneOS.Platform", "Device Support"
Copy the 10.2(14C92) folder (or above for later version).
I need that folder.
Thanks.
If somebody facing similar issue with Xcode 9.1
Open directory:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Create new folder "11.2 (15C107)" (or "10.3 (14E269)" for older versions, depends on what exactly are you missing)
Paste files from provided google drive folder
11.2 (15C107)
(or 10.3 (14E269) if you need older files)
Restart Xcode
For other iOS versions you may check #Sour LeangChhean 's answer
Keep in mind, that some day you will need to upgrade your Xcode anyway :)
I had the exactly same problem.
Just upgraded to xcode version 8.2.1 ( 8C1002 ) and the problem was solved.
Here I have this file for 10.3 or 11.3 or 11.4 into Xcode 8+.
You can download file from this link.
10.3:-
https://www.dropbox.com/s/i1f7q8w3vgr2ozl/10.3%20%2814E269%29.zip?dl=0
11.3:-
https://www.dropbox.com/s/wya3eu2j5db7tpt/11.3%20%2815E217%29.zip?dl=0
11.4:-
https://www.dropbox.com/s/86i9zjunpsy9b0b/11.4%20%2815F79%29.zip?dl=0
9 -> 12 All Files:
https://github.com/mendaparadarshit/xcode-9-ios-12-support
Steps:-
Download above Zip file and extract them.
Click on "Finder" in MAC OS, You can see in Topbar all menus, Click on "Go"
Click on "Go to Folder" ()
Paste this path over their (make sure that you have installed xcode with named : "Xcode.app")
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Paste your extracted "10.3 (14E269)" directory to that place.
quite Xcode and restart it. you can run your projects successfully in your real device.
Thank you,
Darshit
Here I have this file for 12.1 or 12.0 or 11.3 or 11.4 into Xcode 8+ or XCode 9+. You can download file from this link. 10.3:- https://www.dropbox.com/s/i1f7q8w3vgr2ozl/10.3%20%2814E269%29.zip?dl=0
11.3:- https://www.dropbox.com/s/wya3eu2j5db7tpt/11.3%20%2815E217%29.zip?dl=0
11.4:- https://www.dropbox.com/s/86i9zjunpsy9b0b/11.4%20%2815F79%29.zip?dl=0
12.0 & 12.1:- https://github.com/Yatko/iOS-device-support-files
Steps:-
Download above Zip file and extract them.
Click on "Finder" in MAC OS
Click on "Go to Folder"
Paste this path over their (make sure that you have installed xcode with named : "Xcode.app") /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Paste your extracted "10.3 (14E269)" directory to that place.
quite Xcode and restart it. you can run your projects successfully in your real device.
If you download the latest version after 12.1 then please upload that file and update the answer.
I downloaded the appropriate zip file from https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport for my devices version of iOS
Unzipped the contained folder to
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
And finally restarted Xcode. No need to update Xcode it's self
Here is steps to build on device with iOS 10.3 and Xcode 8.2.1:
Open next directory: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Create new folder "10.3 (14E277)"
Copy files: DeveloperDiskImage.dmg, DeveloperDiskImage.dmg.signature FROM 10.2 (14C89) folder TO new 10.3 (14E277)
Restart Xcode
I solved the problem by updating Xcode.
However, for some strange reason the update was NOT shown in App Store under the Updates section. I had to manually search App Store for Xcode and select GET, then INSTALL. It installed a newer version, and problem was solved.
Not sure why Apple does this to developers ...
I have this problem, and I solved this by downloading the latest Xcode version.
you need update your xCode to the last current version.
Each version have the last iOS version included.
Try register your device in the provisioning profile using its UDID.

How to make my Extension start with XCode 8

I have created an XCode 8 Extension (For Deleting Lines, Like Sublime and Android Studio). I have code-signed it and it works as expected in the Gray Xcode Test thing.
I haven't seen a single instruction on how to get it to run with "Regular" XCode? What should I do to be able to use my extension whenever I start XCode?
After somehow getting this to work (once) by restarting my computer, I have finally found some working instructions on how to use an Extension with XCode 8. These are the steps:
Enable target signing for both the Application and the Source Code Extension using your developer ID.
Product > Archive.
Right click archive > Show in Finder.
Right click archive > Show Package Contents.
Open Products, Applications.
Drag "YourExtension".app to your Applications folder.
Go to System Preferences -> Extensions -> Xcode Source Editor and enable this extension.
Restart XCode if necessary

Can't edit such file in Xcode

Xcode 4.6.3 occasionally makes some file absolutely uneditable (see the pic for details). The contents remains unchanged, I just can't do anything with this file inside Xcode.
Your version of Xcode is old (judging by the screenshot). You should update it. Xcode 5.1.1 was released on April 11th 2014.
Few tips:
Open file in Finder -> Right click -> Get Info. Make sure you have write permissions.
Open file in TextEditor mac app, edit it and re-open in Finder
Create a new project, edit file in the new project and if the file is editable, try to move these files there.
If this project created from latest XCode and re-opening in the previous version then you should create project in Old Xcode and upgrade to the new one.
Hope it helps!

Downloaded project .xib file cannot open in XCode 4.6.3

I downloaded FlickrKit and open its sample project file. But cannot run coz of following error. Changing the 'Deployment Target' didn't work. Please, help !
According to the error, the project was probably made in a newer version of Xcode than the one currently on your machine. Update your software and if it still doesn't work, I'd assume it was made with the newest developer only version, Xcode 5.
If this is the case you must purchase a developer account at the: iPhone Developer Center and download Xcode 5. If you do not want to do that, you cannot use the project.
Its easier than that to recover your existing project. Open the project file on Xcode 5. Then:
Open file inspector for each xib
On "Interface Builder Documents" section change "Open with" to Xcode
4.6 (if it's 5.0). Adjust any other obviously incompatible parameters
Save, Close the project and open with the old Xcode.

Have I installed Xcode correctly?

After years of custom in-house programming on AIX and Linux, I am completely new to OS X so I have a few ultra-naive questions that I am sure any Mac developer can answer.
I downloaded Xcode without specifying where it should be installed. The .dmg file showed up in my ~/Downloads directory, a disk image icon appeared on my desktop, and an ejectable device named Xcode showed up in Finder. I opened the desktop icon, saw an icon named Xcode.app, and dragged it to the dock. Clicking that opens the Xcode IDE and I can write and run programs there. Everything looks good so far but I just get the feeling that I have not installed Xcode in a standard way because:
1. The root directory of the machine does not contain the /Developer directory that I was expecting from what I have read.
2. There is no mention of Xcode in /Applications where I see OpenOffice.org.app, Safari.app, TextEdit.app, etc.
3. After a fresh login, when I start Xcode from the dock, an Xcode disk icon appears on the desktop, a folder containing nothing but Xcode.app gets opened, Xcode starts.
Question 1: Am I running Xcode straight out of its downloaded image?
Question 2: If it did get installed, where did it get extracted to?
Question 3: If not, how do I install it properly.
Question 4: How do I get Xcode to show up as an Application or in Launchpad?
Thank you,
Brian
You just need to do following steps to solve this problem :-
1) Whenever you click on xcode icon in the dock, it opens a new window containing xcode.app
2) Drag this xcode.app icon to the "Applications" folder of drive "OSX" on your MAC system.
3) It'll take some time to copy the xcode to the applications folder. Once it is done you'll never face the problem again in future.
Cheers!!!