I have created a sample application in IBM MobileFirst Platform Foundation 7.0 and added Android and iPhone environments.
If I test the app on iOS simulator then it is working fine but after installing the app on an iPhone device sometimes it is getting crash on launch and sometimes it is working fine.
IBM MobileFirst Platform Foundation 7.0
Xcode 6.2
iPhone device running iOS 8.2
Provide crash logs from the device.
Provide your sample application.
I have run through multiple sample applications from the IBM MobileFirst Platform Foundation 7.0 Developer Center and none of the apps crash my iPhone (running iOS 8.2).
After several R&D, I have resolved the issue on my own by setting the deployment IOS target to 7.1 in XCode Project.
Earlier it was set as 7.0.
Related
I am having a problem with XCode and the ability to test an app on a physical device. I am running XCode v. 4.5.2 and my iPhone is OS 6.1. When I try to test on the physical device I get the following error:
"No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination."
The deployment target for the app is 6.0. I don't know what else to check. Can anybody offer advice?
Thx!
You need to upgrade to Xcode 4.6, which supports iOS 6.1 and above
https://developer.apple.com/library/ios/#releasenotes/DeveloperTools/RN-Xcode/index.html
HI i am new in iPhone i have tried to build application on xcode4.2 and i have iPad with os 5.0
but when i start application to run i got following message
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
can anybody help me how to solve this problem i have tried so much but could not find any solution from googling also
In your project's Build Settings, ensure that the deployment target is set to "iOS 5.0"
I would like to test an application on my iPhone and iPad.
The iPhone is running 5.1 and the iPad is running 5.1.1
I am getting this error:
Xcode cannot run using the selected device. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS
device with a recent enough version of iOS to run your application or
choose an iOS simulator as the destination.
I have a developer's license and have followed the provisioning wizard in the Apple website members section. I've installed everything like it said (certificate, provisioning profile in keychain, etc..) but am still getting this error.
I've tried compiling it on 4.3, 4.2, 4.1, and basically all of the options that are available in the build section.
In the Xcode Organizer, my devices show up with an Orange icon next to them. This is the 'error' message on this screen:
The version of iOS on “Personal iPad” does not match any of the
versions of iOS supported for development with this installation of
the iOS SDK. Please restore the device to a version of the OS listed
below, or update to the latest version of the iOS SDK; which is
available here.
This is all on VMWare on OS X 10.6.7.
I've read the other posts where people had a similar problem and tried the solutions proposed (which were mostly comprised of trying to run on older builds) and nothing worked so far.
Notice how you are compiling with an SDK version less than the version on your devices? That's a problem. For iOS 5 you need at least Xcode 4.2 (which comes with the 5.1 SDK).
I'm using xCode 3.2.3 with 4.0 iOS SDK, but my iTouch has iOS 4.2 installed.
I could deploy and run Release version app on my iTouch, but when I try to debug app on device, the app is always running with nothing but black screen, without any response.
The problem is:
How to debug iOS app build with 4.0 SDK on device installed iOS 4.2?
If you go to Xcode's organizer you'll see that your device is actually not allowed to run the debug mode (with a development provision file), since your SDK version is lower than your device's OS. Apple just doesn't allow that to happen.
I assume that you want to keep your old SDK is because you want to check the compatibility with older OS. I would suggest you upgrade your Xcode and its SDK to the latest version (3.2.5/4.2.1) while testing your app on old and new OS devices.
Try installing the latest iOS SDK to another folder (mine is at /DeveloperBeta). That way you could continue developing and debugging using the new SDK, while still having the old SDK around to build for app submission.
I'm trying to install an ad hoc-provisioned iPhone app compiled under the 3.1.2 SDK on a device running iPhone OS 3.0 via iTunes. I'm getting a message "The application was not installed because it requires a newer version of iPhone OS." The build settings for the project are "iPhone Device 3.0 (Base SDK)" and "Distribution." The app successfully installs on devices running 3.1.2.
Is it possible to build for OS 3.0+ with the 3.1.2 SDK (rather than just 3.1.2)?
There are two settings you must pay attention to:
Base SDK: "The product will be built against the headers and libraries of this version of the SDK."
iPhone OS Deployment Target: "Code will load on this and later versions of iPhone OS."
Any chance your Deployment Target is set to iPhone OS 3.1?
Build > Clean All Targets, then building again solved the problem. Thanks to Ole, who indirectly reminded me that I should do this.