ABAddresBook Permission in iOS 6 Simulator - iphone

Do you know if permissions are working on the simulator? I request access, but can't see my application in Pricacy settings, also I do get back an array of all the contacts, etc. And according to my code access has been already granted. Is this a simulator issue?

The iOS6 release notes (see here) clearly state that no privacy alerts are displayed for apps that access Photos, Contacts, Calendar, and Reminders.
You must test privacy on a real device.
Simulator limitations quoted from the iOS 6 release notes:
Simulator
* No privacy alerts are displayed in iOS Simulator for apps that access Photos, Contacts, Calendar, and Reminders.
* For this release, iOS Simulator does not support testing In-App Purchase. Please use a device to test your apps that use this feature.
* When attempting to play an MP3 sound in Simulator, you will hear a popping sound instead.

I wouldn't count on the simulator. I have myself experienced issues with the simulator and in regards with asking Calendar/Addressbook permissions. To be on the safe side I would recommend that you test against a real device.

Related

Lock Screen Advertisement App on iPhone iOS Apple iAds Guidelines

I have recently completed a project on android wherein we show deals and ads based on user gps location. DealOut (http://dealout.gr/). I want to make the same app on iPhone too but I was wondering how can I have lock screen ads on iOS. Also since I won't be using Apple iAds platform i am afraid that my app might get rejected. I have to show Ads that are published by advertiser in the backend and there will be deals that users will earn by watching these ads. Please see android app to get more idea.
I found similar apps on iOS : coupon dunia and olx. They both show ads but are not using Apple iAds.
So my question is related to Apple iAds Guidelines whether they'll accept it or not.
Also, One possible way of implementing Lock screen Ads on iOS i could think of is to use the music player functionality to show the Ads as album art and probably play audio Ads. Is it possible to have such an app pass the Apple Guidelines.
I was wondering how can I have lock screen ads on iOS
Not ads; that would be super annoying. Your app may show push notification previews on the lock screen, but ultimately that's up to the user's preferences (the user may allow or disallow it on a per-app basis).
Also since I won't be using Apple iAds platform i am afraid that my
app might get rejected
No. You can use other advertisement platforms such as AdMob; Last time I checked, Apple does not prohibit that.

publish ios app without any registered device

I have completed an ios app that I want to get published. I do not have any apple devices other than my mac. I used the simulator to test my app. I tried to make a provisioning profile in the member center and link it up to my app but Xcode keeps telling me that it cannot find any compatible provisioning profiles since I do not have any ios devices registered in the member center. I believe that I cannot register my mac as an ios device. I tried doing that in the member center using my mac's UDID but it did not recognize the UDID.
I want to know if there is any way I can still have the app published without buying any other ios device?
I used the simulator to test my app.
Then you did not test your app. The simulator is useful but it is nowhere near an adequate substitute for device testing. What if users report that the app crashes on their devices, but you can't reproduce the crash in the simulator? This is not a hypothetical scenario, it's actually quite common.
I want to know if there is any way I can still have the app published without buying any other ios device?
Possibly, but it would be extremely unwise to publish the app without testing it on a device. If you can't get a device, try to borrow one.
I see only workaround here - Get device from your friend or family and register it for first install. You just need its UDID to register.

Some iPad users cannot see my iPhone application

I have a weird issue where I can see the Simplecue application on my iPad but others in my team cannot see it, we've also had some customers email us saying they cannot find it as well.
All of the users can find the application via their iPhones, iPods, and iTunes. So for a temporary solution, we've asked users to download and sync via iTunes to their iPad.
The only difference between my iPad and others, is my iPad is a 1st generation iPad. Should this matter?
If your app requires features that the iPad 1 does not support (front-facing or indeed any camera, iOS6) then it will not be visible in the App Store on that device.
There may reportedly be bugs with the current (Nov 2012, iOS 6.0.1) App Store app on the iPad, where it won't show, via search, some apps that have been released for sale by the developer.
A 1st gen iPad runs the older iOS 5.1, and thus may have a more reliable version of the App Store app.
But a direct itms URL from your web page (as viewed with an iPad's Safari) to the App Store app may work on both iPads.

In app purchases iPhone simulator why disabled?

Just a quick question, do you see any reason why Apple has disabled many things on the iPhone simulator like:
testing In app purchases
testing most services of Game Center
wifi connection
How do you live with those three?
If you want to quickly debug/run your app on simulator that requires the in app purchase, do you just change some places in the source code to say the app that the purchase is done?
If you want to quicky test your application (on simulator), how it works without the Internet connection, do you turn your airport off? Do you have any ways how to check how application works when the connection is fast/slow/very slow (even on a real device)?
Regards
It seems that Apple finally allowed testing In-App purchases in the Simulator starting from iOS 5. At least, in iOS 5 Beta 6 it worked for me.
PS. I haven't found an official proof link though...
Check out this post by David Linsin.
From iTunes Connect Developers Guide:
... the Store Kit APIs are not available when testing in the iPhone simulator.
Now testing in-app purchases in simulator is enabled.
Device has UDID but simulator has no UDID.
please Follow below link . It will Clear your doubt.
http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/.
IF you need to do in-app purchases app , You must have followings.
App Id (UDID) ..(provisioning)
iTunesConnect.
Create Product identifiers from iTunesConnect.
StoreKit frameworks.
StoreKit Framework communicate between your device and App store. Not b/w iOS Simulator and AppStore.

How to distribute an iPhone app BEFORE the sale date without getting UDIDs or jailbreaking?

I've got an app that's approved by Apple and ready-for-sale, but we're holding off for a few days for press reasons. Anyone know of a way to distribute this thing to beta testers without dealing with UDIDs or jailbreaking phones? Does it matter that it's approved, can I just give select users a file without the provisional stuff?
Try distributing a promotional code.
You can't do a distribution without device IDs. Even the App Store uses device IDs but its hidden and Apple manages it for you.
The hardware device IDs are the core to of the IP protection system. You can't get around them without jailbreaking.
Promo codes. Turns out they are available through iTunes Connect homepage as soon as the app is approved, even if it hasn't gone live in the iTunes store yet.
If your beta testers have Macs you could create an auto-installer for the iPhone Simulator as described here:
Sharing iPhone Apps for the Simulator