iPhone : Push Notification settings problem - iphone

I am using UrbanAirShip Push Notification in my app.
but
I am unable to find my app in iPhone's->settings->Notifications.
I have installed same app in my iPad where it is showing my app in iPad's->Settings->Notifications.
What could be wrong with my iPhone ? or I am missing any steps. ?

If your app is seen in ipads settings, it should be seen in iPhone settings also, if You have enabled your app for APN properly. You should try like remove that app and its associated provisioning profiles from iPhone, restart it and install again. It might luck.

Related

Could I submit app to appstore without ios device?

Today I want submit my app to app store, I created apple ID and prepared app for upload. I created Distribution Provisioning Profile and I prepared everything in xcode but when I change
iPhone Simulator 6.1 -> iOS Device (button archive is unavaible)
Check dependencies
Code Sign error: A valid provisioning profile matching the
application's Identifier 'com.etomek.Ukladanka' could not be found
I thought that I need Developer Provisioning Profile? But I don't have any iPhone/iPad
So Could I submit app to appstore without ios device ?
You do not need a device, and can archive when it's set to iOS Device. The best bet is to test on as many devices as you can, and archive when it's plugged in. Although when it says iOS Device, you can archive. The reason it's grayed out is probably an error in your provisioning profile or certificate. You may want to look under Organizer under profiles or under your build settings.
You need a development certificate for testing locally and distribution certificate for submission to the app store. You need to create a request in keychain then submit it using iTunes Connect, and then download the proper provisioning profiles and certs, and install it in XCode Organizer.
Best bet is to purchase a cheap device like an iPod Touch or iPhone, that can test most of your capabilities (iPod doesn't have most capabilities). You can compile for iPad with iPod or iPhone. So you just need an iOS device that can support your version 4.3+ or 5,6,7.
My previous answer was not correct, but this one is. Trausti was actually correct.
From Official Apple Documentation
To create an archive
For iOS, tvOS, and watchOS apps, choose a generic device or your device name from the Scheme toolbar menu in the project editor.
You can’t create an archive of a simulator build. If a device is connected to your Mac, the device name appears in the Scheme toolbar menu. When you disconnect the device, the menu item changes to the generic device.
Choose Product > Archive.
The Archives organizer appears and displays the new archive.
So you don't need an iOS Device to create an archive and distribute it on the App Store or for beta/ad-hoc testing.
Yes, you can submit your app to app store without having a device.
The error you have is most likely because of incorrect name of your application.
No you can not. Also if you are wanting to do a clean distribution you will need to get a distribution license so you can do the distribution directly from xcode. Here is a good tutorial.
http://docs.xamarin.com/guides/ios/deployment,_testing,_and_metrics/app_distribution_overview/publishing_to_the_app_store
You will need to have a device in order to submit:
You cannot archive the app if xcode is set to simulator
You do not have to run the app on the device, but you must connect
it in order to archive it. That is why the menu is not
avalaible(grayed out)
PS: Also , you do not want to submit an app wihtout testing it on a real
device, that's just my opinion though.

App on iphone 5 failed to install using itunes

I am new to iphone development. I know that in order to make apps for ios devices either you need to have developer account or jailbreak ios device. I jailbroke my iphone 5. Then I made simple hello world app for iphone and then converted it to .ipa. Now when I install it via itunes, I first see icon on my iphone and see that it is installing. After completion, it pops up a message that app failed to install. How can I fix this problem? Why its not installing?
http://www.securitylearn.net/2012/12/26/build-ipa-file-using-xcode-without-provisioning-profile/
Try it it will help full , you can directly run app on your device

Push notification stop working on my live app

I have used push notification in one of my app which is live on appstore and google play market both. It was working fine before some days on both type of devices iPhone and android. But now its working only on android devices . On iPhone Devices push notification is not receiving. We can still send from iPhone to andriod but not able to receive on iPhone.Its working on android to android too.
Just Want to know that does this happen due to any of recent release of ios versions or anything bad happend on server ? Web services code is in Ruby on rails. Please suggest what should I check to fix the problem?
Please help me.
I think it is not a problem related to your Server or recent release of ios versions. It might be the problem with the certificate as mentioned by Eran. The Apple Push Notification Service (APNS) certificate, lasts for one year and must be renewed annually. You can create a new certificate or renew your older certificate.
Make sure your APN certificate hasn't expired (you can check it in the Apple provisioning portal).

How to run an iOS Application on a real device

I had developed an iOS Application using PhoneGap Framework. It's working good and well in simulator. Now I would like to test it in real device i.e iPhone 5 with iOS 6.0. I Googled thoroughly. I have two ways: jailbreak the device (not acceptable to me) or bidding the account in Apple portal.
Is there any other way to test my device my application in real device? Is there anybody here to solve my issue?
The official way is to enter the iOS Developer Program (99$), so that you will get the possibility to create certificates and provisioning profiles required. You will also get the chance to distribute your apps through the App Store.
If you are not willing to do it, the other way is jailbreaking your device, which is basically a way to circumvent the need to use certificates for your apps. Your app would then be distributed through an alternative app store like Cydia (i.e, no Apple App Store).
A third option could be getting in touch with an iOS developer friend of yours, and ask him/her to build the app for your device, so you can install it through iTunes.
There are no other options.
You have to register for a developer certificate in Apple.Developer.Then create provisioning profiles and install it. Otherwise you cant install your app in a real device.
You can refer this link for more info

Iphone App Crash on Running

I made a simple application on XCode 4.2 and Sqllite.
It runs on Simulator smoothly. I made its build and run on Iphone 4S with iOS 5.
it Runs and crash without any error.
Guide me to detect the problem.
Try debugging on the device in your app delegate or if need be in your main.m file.
Also check the Console app on your Mac.
It contains device logs you might use to learn more.
make sure about ur version. and did you have the provisioning profile and certificate installed to push the kit in the device?
if you dont have any provisioning profile associated with the iphone it wont let you push or run the kit on your device..
Has the app ever worked on the iPhone?
If so, you may have changed the datamodel, which would cause the app to stop working.
You'll have to delete the app from the phone, then re run it.
Connect your device to Mac, Open Xcode, Open Organizer inside xcode. Than see Devices Section, you may get your device name.. Than see Device Logs. Now you run your app in device only not from xcode to device.. you will get same Console output see in Organizer Device Log