I'm trying to develop an app in iPhone 3 which doesn't update to 4.3.5 and stays in 4.2.
Xcode 4 only runs 4.3 so I cannot test an application on my iPhone 3.
I know I can set my deployment target to 4.2 and distribute it to iphone 3 users, but I want to test it on my iphone 3.
Does anyone know how to install iOS sdk 4.2 on my xcode 4 or simulating app on my iphone 3 (version 4.2).
Thank you.
Use Xcode 3.2.6 or
use an ad-hoc distribution profile to get the app on your device.
http://furbo.org/2008/08/06/beta-testing-on-iphone-20/
Related
I have a MVC web app, which is distributed through ad hoc for iPhone using Xcode 4.5. The Xcode iPhone simulator is 6.1. The app installs fine on previous versions of iPhones, but not installing on iPhone 5s.
Can someone tell me, how I can make adhoc distribution for latest iPhone. Should I update Xcode or any other workaround?
No there is not need to use the iOS 7 SDK, all iOS 7 devices are capable of running iOS 6 apps.
Just make sure that you have the correct UDID, if the UDID start with FFFFF the UDID is not corrcet. Since iOS 7 the developers can not access the UDID any more. Thus all the UDID app are not longer working.
You should use iTunes to retrieve the UDID of the device.
Well Yes, Updation is required. This is because iPhone 5S has iOS 7.0. You will need to update your xcode 4.5 to xcode 5 which is required for running ios 7.0 . Xcode 4.5 will not create builds for ios 7.0 . Therefore you need to install a version of xcode that supports iOS 7.0 and later.
I was having a similar issue, and I found my answer here: Xcode 4.5 - can't install developer .ipa files via iTunes
Using the accepted answer there, my issues for installing on the new 5S went away. I just had to rebuild the distribution profile, make a new .ipa file with it and try again. Strange error, but the answer worked for me.
I have an iPhone 4s. I receive iOS 7 update in my phone. So the question is: can I run iOS 6 apps from Xcode on my iOS 7 device?
NOTE: I haven't got XCode 5, so that's the reason I would like to know about running iOS 6 apps from XCode 4.6.1 on an iPhone 4s with iOS 7.
This is what you need to do:
close all Xcode apps
run Xcode 5 and wait for the devices to be recognised
run Xcode 4.6.3 at the same time
close Xcode 5
source: http://gerrybeauregard.wordpress.com/2013/07/12/testing-xcode-4-ios-6-sdk-app-on-ios-7-device/
Without Xcode 5, all apps you build will be built as iOS 6 apps, and they will run on your device in iOS 6 mode even though your device is running iOS 7. You may want to keep Xcode 4 around for that very purpose, even though Xocde 5 is now in the App Store. I haven't been able to reliably get apps to run as iOS 6 apps when built in Xcode 5.
Yes, you can run iOS6 Apps from Xcode in your iOS7 device.
They will run in a compatibility mode which is suppose to be like running the app in a iOS6 device but in reality some stuff may not work as expected. I have experienced problems with rotations, UIAlerViews and other components from the SDK.
The mode in which apps run on iOS7 is determined by the Base SDK used to link the executable. If you link against the iOS 6 SDK (included with Xcode 4.6.3) your app will run under iOS 7 but look and behave like running under iOS 6.
In my case, i changed Build Settings -> Build Options -> Compiler for C/C++/Objective-C to Default compiler then it's resolved.
Yes you can Run Your IOS 6 app in to IOS 7 but Sometimes its Graphics not Display Correctly
or it Might be Crash in IOS 7 sometimes...
so Better you use Autolayout in your ios 6 app and run in your ios7 device..
I was unable to upgrade MacOS from 10.7.5 to 10.8.x and that is why I could not install Xcode5 on my MAC. I downloaded Xcode5 but due to incompatibility it can not be installed.
I was able to run app using XCode 4.6 in debug mode on an iPhone 4 with iOS 7 (and can't express enough how happy i got after that)
Steps:
Use incompatible Xcode5 (copy it from the dmg image to somewhere else, there will be a cross sign in it) and right click on it and Click "show package contents".
Go to Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs and copy the iPhoneOS7.0.sdk file in the corresponding folder in Xcode4.6 after showing its package contents.
Go to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport and copy the 7.0 and 7.0.3(11B508) file in the corresponding folder in Xcode4.6 after showing package contents.
Now when you open Xcode4.6 your project Base SDK should be 7.0 and if your device is not detected yet, disconnect and reconnect your device so that it starts "getting symbol files from iPhoneXYZ"
Hope this helps someone.
One more important thing, in your scheme Debugger should be set to "LLDB"
To test iOS 6 apps on iOS device you need to have xcode 4 and xcode 5 on your development machine.
Step 1. Run Xcode 5 and run the project on the ios 7 device.
Step 2. Run Xcode 4 and now you will find the ios 7 device listed in the scheme menu of xcode 4.
Step 3. Run your project and enjoy.
if ([self respondsToSelector:#selector(edgesForExtendedLayout)])
self.edgesForExtendedLayout = UIRectEdgeNone;
// iOS 7(x)
I am trying to connect my new iphone 4 with ios 6.1.3 with xcode 4.5 for testing my app built on ios 6.It is showing xcode does not support the device with this ios in the organizer window of xcode.
I have already installed the provisioning profile for testing on the phone.
Use XCode 4.6.x for Debuging of OS version iOS 6.1 or later.
You have to select the deployment target as 6.1 for your project.. then run it into the iphone 4 with iOS version of 6.1.3. surely it will run.. If you dont have 6.1 deployment target you have to upgrade your xcode with 6.1
XCode 4.2/iOS 5 SDK has broken some frameworks that I depend on to support external MIDI hardware accessories in my app. My app that I built with 4.0.2 works fine on my iPhone 4 running iOS 5 when installed from the store, so I uninstalled XCode 4.2 and downgraded to XCode 4.0.2. But now I can't build to my iOS 5 devices -- the Organizer says the version is unsupported. Is there some way to trick XCode 4.0.2 or 4.1 into building onto a device running 5.0?
Use Xcode 4.2 and make sure that the iOS4 SDK is installed, then set the "Base SDK" build property to that version. I'm pretty sure that building iOS5 apps with Xcode 4.1/4.0 is going to be a world of pain.
I discovered that you can compile and debug on iOS 5 devices even using XCode 3.2. You won't have iOS 5 simulator though. <-- doesn't work with iPhone 4S
I installed the iOS 4 SDK yesterday. I previously had the 3.1.2, 3.1.3 and 3.2 SDKs installed. Since installing the iOS 4 SDK, I only have 3.2 and 4.0 available in Xcode. When I load an Xcode project that was targeting an older version (say 3.1.2), it says "Base SDK Missing" in the toolbar.
I've been able to reset the project to target iOS 4 instead - and have successfully built. However, I need to do some ad hoc builds for users who may not have iOS 4 installed on their devices yet. If I give them a build that was done for iOS 4 (not using any iOS 4 features - it's the same code I used to build with 3.1.2), will this execute on their device ok?
Unfortunately I don't have any non-upgraded devices to test this on myself!
Thanks,
John
To target older iPhone OS's with the new iOS 4 SDK, Select your XCode project -> Get Info, and then select "iPhone Device 4.0" as the Base SDK, and then select the lowest iPhone OS version from iPhone OS Deployment Target that you need to support with your ad hoc app.
You needed to install XCode beta to an alternative folder /DeveloperBeta (for example) and use the stable xcode for older SDK builds.
You can still do that actually.