I added social framework in my project & make as a optional. My app is also not crash for ios5.
But when i try to open my project in xcode 4.2,It shows me error on #import<Social/Social.h> like social.h not found.
So,i can't able to do any coding on old xcode version.
What can i do now?
Social Framework is available from iOS 6 not from iOS 5 so it will give error in ios 5. Xcode 4.2 don't have iOS 6 compatibility, iOS6 is supported in xcode 4.5 or later so Xcode 4.2 cannot find where Social framework and thus there is error.
You can also make the framework as "optional" not "required". You can do this changes by going to "Build Phases" -> "Link Binary With Libraries". And you have to check for framework class by coding.
Cheers!
Social Framework is available from iOS 6 not from iOS 5 so it will not work in ios 5. Xcode 4.2 don't have iOS 6 compatibility, iOS6 is supported in xcode 4.5 or later so Xcode 4.2 cannot find where Social framework coming from so it was showing error
Related
Very similar questions but Validate workspace is no longer available in XCode 13.
building for ios simulator, but the linked and embedded framework .framework' was built for ios
Building for iOS Simulator, but the linked framework '****.framework' was built for iOS
Is there any other solution to this problem?
Thank you.
There is indeed an option to validate workspace under 'Build Options' but you have to select All to see the option.
Validate workspace in Xcode 13
Recently, I uploaded my application to Apple store from XCode 4.x with OS 10.7. After that I upgraded my machine with Xcode 5.0 to start with iOS 7. Now I downloaded my application from the Apple' store to iPhone 4S with iOS 7 installed. I see application's UI on device is totally different from the iOS 7 simulator. On device navigation and Tab bar are old fashioned like iOS 6 while I am expecting like iOS 7.
I think the reason behind this that the application has been uploaded from XCode 4.x and when I will upload it from Xcode 5 it will show the latest UI of iOS7.
Do anyone facing the same problem? Do you think Apple should do it itself?
You understand it right. Applications must build and updated on xCode 5 for showing the new iOS design.
You must check your app on xCode 5 before uploading it as "iOS7 ready", Note that your app might work fine with the old design on iOS 6 but no one can check that for you as they might be UI problems and even crashes depending on your old UI and code.
If you are using 100% iOS native interface you should not have to much work.
You are app is built on iOS 6 SDK, To use iOS 7 UI features, build your app using iOS 7 SDK. iOS 7SDK will be available with xCode 5. SO upgrade to xCode 5 and build app against base SDK 7.
Xcode 7 doesn't exists ;)
Your problem is that you compiled your app with Xcode 4. Only Xcode 5 is embedding iOS 7 SDK. If you want to solve your problem you have to submit your app again but compiled with Xcode 5.
(don't forget to set your correct deployment target)
i´ve updated Xcode to the latest version and therefore the base SDK is iOS6.
I just want to know, if it´s still possible to compile an app with the old iOS5 SDK?
Thanks for your help
No with xcode 4.5 you can only compile with the iOS 6 SDK, but you can still target the iOS 5 device by setting the deployment target to iOS 5 (or 4.3).
This will allow you to run the app on iOS 5, but make sure that you do not call any methods that are iOS 6 only.
We want to update our game to support the iPhone 5.
Do we need to upgrade Xcode to v4.5 and use the iOS 6 SDK??
[edit]Apple is now explicitly rejecting applications submitted with the iOS 5.x SDK and iPhone 5 default images, saying "Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later."
Old answer :
Yes you can use Xcode 4.4 or below to support iPhone 5.
The iOS (6) will run an app in letterbox mode if there is not a 640x1136 splashscreen image in your resources. The image must be called Default-568h#2x.png (if your splashscreen is Default.png in your Info.plist).
So just add this image on your Xcode project whatever version it is, and the app will run in full screen mode.
This being said, there are chances that Apple will not let you install an app compiled with Xcode 4.4 or below on an iOS 6 device (and of course no iPhone 5 simulator for Xcode 4.4 and below). [edit] As told in the comments, yes, you can install on an iPhone 5 / iOS6 with Xcode4.4.
All apps created with older SDK works perfectly on newer iOS versions, so iPhone 5 should also run every existing app without any problem, so you don't need to use the iOS 6.0 SDK to support iPhone 5.
I think you mean to ask to support iOS 5. If that is the case then you really do not need to upgrade your Xcode version. YOu can use iOS SDK 5.0 or iOS SDK 5.1 which contains Xcode version 4.2 and 4.3.
You really do not need to use iOS SDK 6.0 beta. I hope this may help you.
All the information about iOS 6 are under NDA, and the iPhone 5 is not even announced.
But there are rumors, that the iPhone 5 will have a screen resolution of 1136*640. There are hacks for Xcode 4.4.1 out there that make it possible to create that screen resolution in the iPhone simulator. So, I think that would be a viable way for testing the rumored new resolution.
Regarding iOS 6: if you are a paying iOS developer, you can download iOS 6 to test your app against it (We don't talk about products under NDA here).
You can use this receipt http://0xced.blogspot.co.at/2012/08/prepare-your-apps-for-new-iphone.html for start iOS Simulator (iOS 5 only) with new screen size.
Yes, You need to update your Xcode to build for iPhone5. Do the following steps for this:
Download Xcode 4.5 with iOS 5.1 SDK.
Build your apps with Xcode 4.5.
I'm using Xcode 4 with iOS 4.3. Xcode 4 is very buggy, not to mention a lot of stuff changed. The changes that most bug me are the hot keys, which I cannot even find a way to customize them in a decent combination. I'd love to use Xcode 3 because it's stable and it does what I need. Is there anyway to use Xcode 3 with iOS 4.3?
Go to the iOS Dev Center, and under the Xcode 4 + iOS SDK 4.3 download link you should find an Xcode 3.2.6 + iOS SDK 4.3 download link. If you don't see it you may need to log in first.
Here it is: