Downloaded project .xib file cannot open in XCode 4.6.3 - objective-c

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.

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 open .XIB to another lower system version

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.

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!

Can't add (Growl) Framework to Release version of my App

I've created a new App and want to test it in a release version. So I copied the Growl Framework to my project folder and added into XCode.
Then I copied the new files in the target in my project and copied the Growl.framework to the new "Copy Files" Framework folder in "Targets". When I debug my project, it's all right, but if I change the version to "Release" and then Build, there is the Red "1" on my XCode icon in the Dock. I dont know why this error comes; I've searched in Google but I can't find anything.
Can anyone Help me please?! Here is the Picture of my Copied Files:
XCode http://b1.s3.quickshareit.com/bild15ead2.png
Try ordering the Copy Files phase above the link phase.
When i debug my Project, its all right, but if i change the Version to "Release" and than Build -> there is the Red "1" on my XCode icon in the Dock,
Well, what does the error say?
alt text http://b2.s3.quickshareit.com/bild23a027.png
"malformed object: Unknown load command 5"
This usually indicates that you have a binary that was built on a later version of Mac OS X (e.g. SnowLeopard) and you're trying to link it on an earlier version of Mac OS X (e.g. 10.5 Leopard).
Ensure you have a correct version of the Growl framework for your development environment and OS.