App runs on iOS7 simulator, but changing simulator to iOS8 it doesn't recognize CoreData store - ios7

I have an iPad app, XCode 6, iOS 7, Storyboards and ARC. If I change the target to 7.x, the app works fine on the simulator running 7.0.
However, if I change the simulator to 8.0, the app doesn't recognize the CoreData store created when running under 7.x (the store is still there, just not found when running on the 8.0 simulator.) Also, none of the objects (UIButtons, UITextboxes, etc) show up either!
I don't have iOS 8 installed on my iPad (afraid stuff like this will affect my users), but the question is: just because something doesn't run on the simulator v8.0, does that mean that setting the lowest target to iOS 7, it won't run on the device if it is running iOS 8?

The iOS 7 simulator is on a separate (virtual) machine from the iOS 8 simulator. So any data you created one of these machines, will not be found on the other.

Related

How to test my app on ios 7 using Xcode 6 simulator

I'm trying to test my app with ios7 using Xcode 6's simulator but I can't find the option to change it. Currently it only loads ios8 while my deployment target is set to 7.
Also according to this message from Apple:
Starting February 1, 2015, new iOS apps uploaded to the App Store must include 64-bit support and be built with the iOS 8 SDK, included in Xcode 6 or later. To enable 64-bit in your project, we recommend using the default Xcode build setting of “Standard architectures” to build a single binary with both 32-bit and 64-bit code.
Does this mean that new apps cannot run on ios7 anymore?
Thank you for your help.
First, Change Deployment Target to 7.You can change Deployment target from target under Deployment Info.
Go to Xcode Preferences, Select Downloads tab and download iOS7 Simulator.
Now go to Xcode, you can find iOS7 Simulator on target device list, if not than quit and restart Xcode.
Hope it will help.
The deployment target is the minimum version of iOS that your application will be expected to run on. It effects how your app is BUILT and not where you run it. You need to choose an iOS 7 device from the run destinations menu and then do a Build&Run to build, install, and run the app on the iOS 7 device.
If you don't have an iOS 7 simulator device in the run destinations menu, go download the iOS 7 runtime from Xcode -> Preferences -> Downloads
Yes you can, go to xcode(7) preferences>select Components here you can download Simulater and Documents also.

xcode running in emulator - issue

I have a piece of software I wrote using xcode 5. Since I upgraded to xcode 6, the app looks strange when I run it on a physical device using the emulator. Not entirely sure what is going on or how I could fix it. It's not respecting the full size of the screen.
I am testing on an iPhone 5s (NOT simulator -- the app looks fine in the iPhone 5s simulator). I am connecting my phone to my comp and running it via xCode.
I am having the same issue with another project I built using xcode 5 and trying to run again in xcode 6...
thoughts anyone?!
Here is a screenshot of what is going on:

Xcode 5 not detecting iPhone running iOS 8

I have an iPhone with iOS 8 installed on it, but when I connect it to Xcode 5.1, it doesn't recognize it.
As with the other answers, it seemed fairly random whether or not my iOS 8 device was being picked up by Xcode 5.1. It appears that it works if you have the iOS 8 device plugged in before you start Xcode 5.1. When you do that, you will get a screen indicating the symbols are being processed:
After this completes, the device is selectable. I am pretty sure this needs to be performed with each new beta. That might explain why it appears to suddenly stop working.
If this isn't working for you, make sure you have the latest Xcode 6 Beta to match the iOS 8 Beta version, and connect the device while Xcode 6 is running. The same "Processing Symbol" files process will occur and then Xcode 5.1 seems to work.
the only decent way to make it work is to create a symbolic link to a folder that contains binary for iOS8. You can make fool Xcode 5.1 saying "yes, iOS 8 is ok." via a symlink:
In my case I have Xcode 5.1 on Mavericks HD, and Xcode 6.0 beta 4 on Yosemite HD.
I did:
sudo ln -s /Applications/Xcode6-Beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.0\ (12A4331d) /Volumes/MAVERICKS/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.0\ (12A4331d)
and Xcode 5.1 did work with my iOS8 iphone.
(note the space before /Volumes/MAVER... )
PS: for every beta, I have to patch again... :(
You need to download the Xcode 6 Beta. It's available in the iOS Developer Center, where you downloaded the iOS 8 Beta.
I have connected my iPhone with iOS 8 installed to Xcode 5.1.First time it doesn't recognize.but when i unplugged device and connect again , Device Recognized.
I dont know the reason Anyway i am sure that you can also connect your IOS8 installed device to Xcode5.1 ....
I've been using Xcode 5 to build on an iOS 8 device just fine. Now all of a sudden, it won't let me anymore.
first use xcode6 build on your iPhone5s.
second open xcode 5 ,unpluge device and connect again.
then device recognized.
Open xcode 6 and wait until device is recognised. When done, close xcode 6 and open xcode 5.1 and your device is going to be automatically recognised.
That way you can run your application on a device with iOS 8 with the old xcode.

although ios 6.1 as base sdk xcode 5 build ipa for ios 7

i changed the base sdk for iOS 6.1 in xcode 5 .
When i simulate my project on a iOS 6.1 simulator or on a iOS 6.1 device
all works fine. But when i build a ipa and install it on a iOS 7 device
the device use the iOS 7 sdk and my hole app looks weird. I changed my base
sdk for iOS 6.1, so why use my device the iOS 7 sdk?
I read that iOS 7 use the iOS 6.1 sdk for old published apps.
What do i have to do that iOS 7 also do that for my app?
My only idea is to install xcode 4 again...
I have experienced the same problem - unfortunately only discovered AFTER submitting to the app store and the app being approved and released, causing all sorts of mayhem due to interface glitches.
The issue occurs due to a bug in XCode 5 (including in XCode 5.0.2 it seems) that is triggered when you install older SDKs.
When you have multiple SDKs installed, you will see that when you connect your device to XCode, there are multiple entries for your device, with no way to tell them apart. But it appears that the TOP entry is for the OLDEST SDK you have installed, the BOTTOM one for the NEWEST SDK.
I have found that if I first use "Test" project option to run the app on the device with the SDK I want to use (in my case the top entry, which is for iOS6.1 SDK), then that is the SDK that will subsequently be used when I archive the app.
You can have both xcode 5 and 4.6.3 installed.
Also a lot of post say that in the simulator it look iOS7 but on device it will look iOS6.1 if you set the base sdk to 6.1
see:
Is it possible to install iOS 6 SDK on Xcode 5?
Do apple allow custom iOS 5/6 style UI for iOS7?

App works fine in iOS 7 with no modifications?

We've been working on getting our app to work properly with all the changes in iOS 7. Particularly the colors and layouts of things. But these changes are still in development.
The version of our app in the app store has none of these modifications. When testing locally, it works on iOS 6 fine and looks horrible on iOS 7. Yet, upon downloading it from the app store and installing it on an iOS 7 iPad, it seems to work just fine -- just as it used to in iOS 6 (!). We are wondering if there is some "compatibility flag" that the app store folks can switch, which means "not ready for iOS 7 -- use compatibility mode"? I'm not sure how else to explain this. Wondering if anyone else knows?
Our app:
http://appstore.com/cedarssuite
Summary: running via the simulator on iOS 7 or on a development iPad that has iOS 7, the app looks horrible. But downloading the approved app store version and running on iOS 7, it works just fine. Why?
A note: This is no longer correct. Since February 2014, Apple only accepts SDK7 builds
That's normal. all the old apps work fine on new iOS versions since those app. Base SDK set to that old version. in your case (iOS 6.0). They will run using old sdks. But, when you built with the new sdk (Base SDK 7.0) they look horrible as you said and some times they crash. because of layout changes and controls behaviours in the new iOS.
You are only asked to build with the new sdk to take advantage of the new features.
keeping your app. built with the old versions doesn't seem to have disadvantages other than new features. since apple still accept publishing apps with old sdk back to 4.3.
If you set the base SDK < 7, it will use the old iOS 6 style. Of course, that basically requires you compile with an old version of Xcode, and you can't use iOS 7 features, even when running on iOS 7.