Why it's not possible to save something in Keychain on iOS simulator? - keychain

No matter what access group I use, I'm not able to save data in Keychain on iOS simulator. With real device everything works fine.
Is it possible at all to work with Keychain on simulator?
BTW I use SwiftKeychainWrapper library

I got the same problem in my Xamarin project and I know this is a solution for Xcode based iOS project also
Found out that Entitlements.plist in missing
Basically we have to check Enable Keychain in Capabilities
If you are interested here is how I got my problem solved in Xam studio

Related

Is it possible to develop iphone, ipad apps using ipad

Usually apple developers use Mac to develop there apps for iphone and ipad. I need to know whether it is possible to develop the same apps using ipad.
No you can't, there is no SDK and XCode running on iOS (yet).
Short answer: no. You need XCode for development, which is Mac-only.
Xcode is not available for the iPad, so I would say practically no at this point.
No, it isn't. Xcode and the iOS SDK is only available for the Mac.
No.There is no XCode or ios SDK for ipad only.
Looking through some forums, it appears it's not possible and unlikely to happen anytime soon...
http://forums.macrumors.com/showthread.php?t=856312
http://www.mac-forums.com/forums/ipad-hardware-accessories/196910-xcode-ipad.html
Apple's XCode is only available on Mac, for a beginning.
Basically NO you can't... you can not compile the app on iPad/iPhone. But think in other way.. do you want to give this functionality to your app users right? then.. you can do one thing.. you can create a template of project which will run using a xml file. you can create this xml file on iPad/iPhone using some interface. (like putting a button on area and set its color). Then you can send this xml file on server. Here you can manually put this xml file in your template project and can compile the app manually on your system. Then you can submit this app to app store for your app users. You can charge them for this.
This is something similar to http://mobileroadie.com/ but on iPad

iPad App Keeps Running as an iPhone App?

I recently upgraded XCode to run iOS 4.2 from iOS 3.2. However, now, when I try to run my iPad app, it appears as an iPhone app in the simulator! It appears as the smaller box with the option to expand 2x. Does anyone know why this would be so?
In addition, although the application builds and runs (albeit incorrectly), XCode still says that the Base SDK is missing. I have gone into the Build Info for the target and the project and set the following:
Base SDK: Latest iOS (currently set to iOS 4.2)
Targeted Device Family: iPad
iOS Deployment Target: iOS 3.2
Edit Thanks a lot for the comments; now there is no longer a Base SDK missing, but unfortunately, the app still runs as an iPhone app...
When I load a UISplitViewController, I get an exception 'UISplitViewController is only supported when running under UIUserInterfaceIdiomPad'.
This all seems very strange to me. Any help is greatly appreciated.
Thanks
The installed app could be broken.
What happens when you delete the app from the Simulator and do a clean build and run?
The Simulator could be broken.
What happens when you create a new different iPad app from an Xcode template?
You configuration could be broken, or you could have different settings for different targets and builds than you want, or the wrong plist or plist keys, or the wrong xib. If the new template app works, compare these one by one.
I eventually was able to fix this problem. I attempted all the methods outlined by the other answerers, but none of them worked. However, when I upgraded to XCode 4, the problem fixed itself.
I honestly don't know what changes to my app were made by this upgrade, and I am still baffled at why the project was not compiling before. I suppose upgrading your environment is one (somewhat unsatisfying) way to fix this sort of bug....
Check that you have set the appropriate settings for the current build target as well as the base project. So from the project menu:
Edit Project Settings
Edit Active Target blah
I have often forgotten to check the settings for the current target and had a similar experience.

iPad distribution question

I just updated our app to an universal app for iPhone and iPad. I made all the changes (classes, nib, targeted device family, icons and so on) and it worked just fine on the simulator and my iPhone/iPad developer devices. I submitted the app to the app store and yesterday it got 'ready for sale'. The problem is that it shows just the iPhone Version and Screenshots in the app store and when I install the app on the iPad it just shows the iPhone version.
I have no clue what I've could make wrong?
Does anyone know what it could be? Does it need a special certificate/provisiong profile or something else? I found nothing on google about that.
try to check the "Release" target configuration of your build to check if the Target Device Family field (TARGETED_DEVICE_FAMILY) is set to iPhone/iPad.
Check to see if your Distribution configuration settings match your Release configuration settings for your Build Target, except for codesigning and verification, of course.

How can I test my iPad app on my actual iPad?

I am developing my first iPad app using the iOS SDK 4 and Xcode 3.2. I have written a simple Hello World and have been able to run it in the iPhone simulator. I would like to figure out:
How can I get an iPad simulator?
Is it possible to test my app on my actual iPad without signing up for a developers license for $99?
Thanks,
Mike
There are unoffical ways to get your app onto your device, you have to jailbreak it and install software called AppSync from cydia. This voids your warranty if Apple find out (restoring the device to it's original settings using the restore button in itunes means they can't tell, so jus trestore before you go to an Apple shop) and if they do find out it might prejudice them against you as a developer (but chances are very slim)
(I have no problem giving specific details as the US Government has said that jailbreaking is legal)
http://www.pcworld.com/article/201892/us_government_iphone_jailbreaking_is_fair_use.html
The SDK includes an iPad simulator. I don't have my Mac in front of me, but you should be able to choose which device to target when you launch the simulator. You can also switch between iPhone and iPad mode from within the simulator - check the Hardware menu.
Yes, you have to have a paid developer membership to deploy code to your device. That's the only official way.
If you have jailbroken, then install app sync from the Hackulo.us repo. Just sync your app in iTunes without signing it. It will work easy as Pi!
This is yet another way to keep flash from getting to iPads, if you could put your own on the device without going through apple then you could also put someone else's. I think it should be allowed, but if something doesn't work on software that isn't officially released it shouldn't be supported by Apple.

How do I install my AppCelerator App to my IPhone

I am attempting to load a small application I wrote with AppCelerator on my device. I am having quite a bit of trouble with this because of iOS target mismatches I suspect.
AppCelerator provides me two options for the target OS, 3.2 and 4.1. My Phone has firmware 4.1 on it so I selected 4.1:
Here is a picture if you want to have a look.
Note that in this image I am selecting output type of 4.1. This generates an XCode project with 4.1 as the base sdk / target sdk of 4.1.
When I launch this it generates an XCode project. Organizer contains the following devices and provisioning profiles:
Here is a picture of organizer.
It contains my device, with provisioning profiles, with a green dot beside the device meaning it should be a valid target.
Then when I try to run the app on my device I see the following options as available targets:
Finally here is the dropdown where you select simulators and devices.
Notice it simply doesn't contain my device as it did before I upgraded to the new SDK and 4.1 iOS.
I assumed I would be able to push to my iphone at this time - have tried all I know to try. Blown away all my provisioning profiles, regenerated my developer certificate, also deleted my login keychain to make sure that I started fresh there.
I am really just out of ideas to try - appreciate any and all help!
It appears that the answer was quite simple. After kludging around in XCode for hours I found (or noticed) another tab on the AppCelerator interface.
Click on Test & Package
Click on Run on Device
Fill out the details for provisioning if they aren't already (this is likely all done if you went through the level of detail on Apple Documentation that I did)
Click Install Now
Voila - the app is on your phone for testing.
The Apple Terms and Conditions do not allow apps built outside Xcode to be installed to iOS devices. I would think this applies to AppCelerator builds as well.