In-App-Purchase not working in iOS 5 - iphone

i have successfully integrated in app purchase in my app.i have follow this tutorial for in app purchase.it working fine with iOS 6. but when i try to test it on ios 5.1 simulator than every time i try to login to buying the product i just get the bellow error.
Transaction error: An unknown error has occurred
and yes my mac keyboard is also not working when i am testing it on ios 5.1 simulator i have to input from simulator keypad.

You cannot reliably test In App Purchase in the iOS5 Simulator. You need to test it on a device.
And the keyboard not working for In App Purchase login used to be bloody annoying.

Related

Xcode 8 beta 2 : Sticker app does not shows message app extension

I'm building Sticker messaging application. When I try to run the app on iPhone SE simulator with iOS 10 it throws a window to select application through which Sticker app extension should run.
However, in this list there is Siri, Today and Watch app only. There is no Message app. This was working when tested on last week.
Due to this Sticker messaging app extension cannot be tested on iMessage app on simulator.
Why this is happening?
This is probably just a bug in the beta. I've found that this happens with the iPhone SE simulator but the iPhone 6S simulator works fine.
To solve this, if you run the app with one of the other options, the option to launch the Messages app should be available the next time you run the application. So run the app in the simulator, select Siri, and open the Messages app manually. Next time you run the application the option for Messages should be available.
Also you aren't running the latest Xcode beta. The latest version is Xcode 8 beta 4.

smartface app xcode simulator blank screen

I publish app on smartface for ios with the given license.
I followed the steps ios publishing guides with bundle id given by smartface.
Before submitting the appstore i want to simulate or check on the ios device but it only show black screen while lunching app.
Is it normal? Or should be run on xcode simulator or test device.
You should always test on device. The iOS Simulator is a great tool for rapid prototyping, bringup, and rapid iteration, but always test on device as well. It sounds like you have a real bug in your app.

cant open xcode 4.5.1 app on jailbroken iphone 4s 5.1.1

I have created a simple app on xcode 4.5.1 and have followed a tutorial on how to send it over to my jailbroken iphone 4s (5.1.1). I've created a fake code sign and I have been able to transfer the app onto my iphone. But when I click on it to run it, it opens but immediately closes again. When I use the iphone as simulator on xcode it does the same thing and i get the error message "failed to get the task for process 27658".
Please help
That's simple:
I thing Xcode disallow this to reduce cracking code signing.
A developer program is needed. Thats all.
Take a look at this: https://developer.apple.com/programs/ios/
If you're gonna write a succsessful app you should buy this.

iOS 6 inApp issue

Anyone used iOS6 inApp purchase? My inApp was working fine on iOS5 but when i am tying to build my app in iOS6 (XCode 4.5 beta). It is showing below error while inApp purchase.
2012-10-06 15:13:49.653 failed transaction
2012-10-06 15:13:49.654 The error description is:Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo=0x9caec40 {NSLocalizedDescription=Cannot connect to iTunes Store}
I have created another test user account but problem is still same. Also, tried with restarting XCode, Mac machine, simulator, reset simulator. Please help!!
FIX : Delete all inApp ids and create new. It will fix the issue.
You cannot test In-App. purchase on simulator. If you tried to do that you will get the Confirm alert, but nothing will happen.
I had similar issue with iOS 6, I done the following procedures to fix it:
Deleted my application from IPad
Signed out from the stores
Installed my application again
Tested the In-App
It worked fine for me, make sure that the internet connection is there. If you had the problem again, just sign-out from the stores and again test In-App purchase. (when I got the error again after few In-App purchases, I done this too)

is Store Kit framework working on i OS 6 Simulator?

I implemented In App Purchase in my application. It is working fine on iPhone 5.1.
I know Store Kit is not working on iPhone Simulator 5.1.
But on i OS 6 simulator, i can connect to App store and i get alert for confirmation In App Purchase. But the transaction is failed with error on iOS 6 Simulator.
Any one please explain reason for this.
Simulator
For this release, iOS Simulator does not support testing In-App Purchase. Please use a device to test your apps that use this feature.
iOS 6.0 Release Notes
On Xcode 4.5.2 and iOS 5 and iOS 6 it works fine.
I try in simulators for iPhone 5 and 4, and on all iPads too.
There is only a little delay in the simulator, but the transaction is fully functionally
I see that is very important the configuration in iTunesConnect.
In my opinion is better to check the ItunesConnect config before change the code.
the docs say that IAP can be fully tested in the sim, except for hosted content: