I'm still new to programming and this is my first ever app to be posted onto the AppStore.
I've seen a few tutorials on how to do it and followed almost all the steps. But right now I'm stuck at this point and have no clue where to go from here. I've already paid the $99 to Apple and obtained the certificates, appID and profiles...
But its all futile. I'm looking for help if possible, and thank you very much :/
edit: I managed to get it to work by downloading the provisioning profile and opening it. Which then made all these buttons available to me. It sometimes becomes greyed out again, but as long as I open the provisioning profile again, it works. So I'm guessing thats the solution.
Your image seems like you haven't add your developer account to XCODE and haven't set the provisioning profile.
XCODE > Preferences > Accounts and add your account & click download all profiles.
Then you have to follow 7th step of the below article which has the all needed informations and steps you want to upload your app to the app store. Please make sure to complete each and every step carefully. It's not hard just few clicks.
How to submit an app to app store
Related
I am new to making iPhone apps and this is my first attempt.
I have made a simple app which has two buttons in it. One button opens a URL and the other opens a Pop-up window.
I am yet to enroll as an apple developer and am testing my application on the physical device by connecting it to Xcode.
When I install the application, it runs properly for a few days in spite of disconnecting it from Xcode. However, after a few days, the application does not open and flashes a black blank screen and goes back to the home screen.
When I reconnect it to Xcode and run the same code again on the same iPhone, it works properly again for a few days and then crashes again.
I am unable to understand why the app is behaving in such a manner after a few days and not immediately.
Is there some expiry period for application when one has not signed in as a developer? (The provisioning profile shows expiring soon) If not, can you please guide me as to how to go about troubleshooting this issue?
Kindly give me your esteemed suggestions/comments as I am badly stuck and need to find a solution as soon as possible.
Thanks a lot!
If application is installed with Xcode and you don't have a Paid Program Developer Account, the life expectancy of the app is approximately 48 hours (There is no official time of validity for this).
For a paid program, it's a few months with the correct certificate. With TestFlight, it's now 60 days.
Indeed, if you don't sign your app, it has low life expectancy. It's quite new that Apple allows installation to devices for free accounts, but it's just for testing purposes (other than simulator), if you want more days to test on a device, you have to pay for the developer program.
No it's not a guess actually...
It's 7 days exactly for a free developer account.
You can check validity also in Xcode Provisioning profile also:
In General → Signing ("Automatically Manage Signing" checked) → Provisioning Profile (Click on Info (i) icon)
you can check validity of the profile:
This forum helped me find an answer for a very similar issue I was facing with an Ionic iOS app I have running on a few iPads for a checkin kiosk at a non-profit I am developing for. For my scenario I just need the apps to run locally on WiFi and never on any other devices, never to be downloaded as a distributed app to the public. My apps kept randomly crashing on launch, and I would re-install the app from Xcode and they would start working again.
So my only real solution was creating an "Ad-Hoc" certificate and provisioning profile, where you can add up to 100 iOS devices to the provision. I had to manually add my 3 iPads to the provisioning profile, then download the file and open it, then in Xcode un-check "Automatically manage signing", then go below to "Provisioning Profile", then select your new ad-hoc style profile. And you should be good as long as your Apple developer account is in good standing (I believe, someone correct me if I'm wrong).
Just a heads up, first you personally have to be a paid and registered developer with Apple, not just added to a team by invite. I was invited in by another team for a completely different project and was not able to get set up and create the certificate and provisioning file on my own because of that. I had to leave my team, then register anew with Apple as an individual developer, then I could complete my steps.
Your Apple developer account
Create a Production Ad-Hoc Distribution Certificate
Create an Ad-Hoc Provisioning Profile
Managing Devises and Provisioning Profiles
I am new to making iPhone apps and this is my first attempt.
I have made a simple app which has two buttons in it. One button opens a URL and the other opens a Pop-up window.
I am yet to enroll as an apple developer and am testing my application on the physical device by connecting it to Xcode.
When I install the application, it runs properly for a few days in spite of disconnecting it from Xcode. However, after a few days, the application does not open and flashes a black blank screen and goes back to the home screen.
When I reconnect it to Xcode and run the same code again on the same iPhone, it works properly again for a few days and then crashes again.
I am unable to understand why the app is behaving in such a manner after a few days and not immediately.
Is there some expiry period for application when one has not signed in as a developer? (The provisioning profile shows expiring soon) If not, can you please guide me as to how to go about troubleshooting this issue?
Kindly give me your esteemed suggestions/comments as I am badly stuck and need to find a solution as soon as possible.
Thanks a lot!
If application is installed with Xcode and you don't have a Paid Program Developer Account, the life expectancy of the app is approximately 48 hours (There is no official time of validity for this).
For a paid program, it's a few months with the correct certificate. With TestFlight, it's now 60 days.
Indeed, if you don't sign your app, it has low life expectancy. It's quite new that Apple allows installation to devices for free accounts, but it's just for testing purposes (other than simulator), if you want more days to test on a device, you have to pay for the developer program.
No it's not a guess actually...
It's 7 days exactly for a free developer account.
You can check validity also in Xcode Provisioning profile also:
In General → Signing ("Automatically Manage Signing" checked) → Provisioning Profile (Click on Info (i) icon)
you can check validity of the profile:
This forum helped me find an answer for a very similar issue I was facing with an Ionic iOS app I have running on a few iPads for a checkin kiosk at a non-profit I am developing for. For my scenario I just need the apps to run locally on WiFi and never on any other devices, never to be downloaded as a distributed app to the public. My apps kept randomly crashing on launch, and I would re-install the app from Xcode and they would start working again.
So my only real solution was creating an "Ad-Hoc" certificate and provisioning profile, where you can add up to 100 iOS devices to the provision. I had to manually add my 3 iPads to the provisioning profile, then download the file and open it, then in Xcode un-check "Automatically manage signing", then go below to "Provisioning Profile", then select your new ad-hoc style profile. And you should be good as long as your Apple developer account is in good standing (I believe, someone correct me if I'm wrong).
Just a heads up, first you personally have to be a paid and registered developer with Apple, not just added to a team by invite. I was invited in by another team for a completely different project and was not able to get set up and create the certificate and provisioning file on my own because of that. I had to leave my team, then register anew with Apple as an individual developer, then I could complete my steps.
Your Apple developer account
Create a Production Ad-Hoc Distribution Certificate
Create an Ad-Hoc Provisioning Profile
Managing Devises and Provisioning Profiles
I am new to making iPhone apps and this is my first attempt.
I have made a simple app which has two buttons in it. One button opens a URL and the other opens a Pop-up window.
I am yet to enroll as an apple developer and am testing my application on the physical device by connecting it to Xcode.
When I install the application, it runs properly for a few days in spite of disconnecting it from Xcode. However, after a few days, the application does not open and flashes a black blank screen and goes back to the home screen.
When I reconnect it to Xcode and run the same code again on the same iPhone, it works properly again for a few days and then crashes again.
I am unable to understand why the app is behaving in such a manner after a few days and not immediately.
Is there some expiry period for application when one has not signed in as a developer? (The provisioning profile shows expiring soon) If not, can you please guide me as to how to go about troubleshooting this issue?
Kindly give me your esteemed suggestions/comments as I am badly stuck and need to find a solution as soon as possible.
Thanks a lot!
If application is installed with Xcode and you don't have a Paid Program Developer Account, the life expectancy of the app is approximately 48 hours (There is no official time of validity for this).
For a paid program, it's a few months with the correct certificate. With TestFlight, it's now 60 days.
Indeed, if you don't sign your app, it has low life expectancy. It's quite new that Apple allows installation to devices for free accounts, but it's just for testing purposes (other than simulator), if you want more days to test on a device, you have to pay for the developer program.
No it's not a guess actually...
It's 7 days exactly for a free developer account.
You can check validity also in Xcode Provisioning profile also:
In General → Signing ("Automatically Manage Signing" checked) → Provisioning Profile (Click on Info (i) icon)
you can check validity of the profile:
This forum helped me find an answer for a very similar issue I was facing with an Ionic iOS app I have running on a few iPads for a checkin kiosk at a non-profit I am developing for. For my scenario I just need the apps to run locally on WiFi and never on any other devices, never to be downloaded as a distributed app to the public. My apps kept randomly crashing on launch, and I would re-install the app from Xcode and they would start working again.
So my only real solution was creating an "Ad-Hoc" certificate and provisioning profile, where you can add up to 100 iOS devices to the provision. I had to manually add my 3 iPads to the provisioning profile, then download the file and open it, then in Xcode un-check "Automatically manage signing", then go below to "Provisioning Profile", then select your new ad-hoc style profile. And you should be good as long as your Apple developer account is in good standing (I believe, someone correct me if I'm wrong).
Just a heads up, first you personally have to be a paid and registered developer with Apple, not just added to a team by invite. I was invited in by another team for a completely different project and was not able to get set up and create the certificate and provisioning file on my own because of that. I had to leave my team, then register anew with Apple as an individual developer, then I could complete my steps.
Your Apple developer account
Create a Production Ad-Hoc Distribution Certificate
Create an Ad-Hoc Provisioning Profile
Managing Devises and Provisioning Profiles
Can anyone tell why below given error occurs while exporting an archive for app store distribution or adhoc distribution?
Your developer account needs to be updated. Please visit the Member
Center. https://developer.apple.com/membercenter
I google this problem and found below given solution for this issue.
There was one apple id added in xcode preferences which was not valid
as an apple developer account.
I simply removed that account and its worked for me.
I am the guy who wrote the article linked in the previous answer. That may be an issue, but there's another thing that may cause this to happen.
If you have already checked your XCode for Apple accounts that are no developers and you're still receiving that message, make sure you have accepted all your contracts in the developer portal. Everytime iOS is updated, the contracts are updated as well and you gotta accept them again. If you don't accept the new contracts this error will continue popping up.
I want my tester to test my iPhone app. I add his UDID in devices and add provisioning profile for him device. But how can I upload this profile to him iPhone? Thank a lot
If you want to do a good job of monitoring your testers and builds, I would consider using TestFlight. It will handle all of the provisioning for your apps. It will also give you instant feedback as to who has opened your notifications, install progress, what version they are running. They are free right now, and you simply cannot beat how easy it is to use. For developers, by developers.
He can just drag the profile file onto his device via iTunes. But afaik, the profile also installs itself (at least if you use OverTheAir distribution) from the embedded.mobilepovision file within your .ipa file when installing the app on the device. This might also be valid if you just drag it on iTunes...
You can send it to him, and have him drag it to his device via Xcode or iTunes. But you also have to provide him with your developer certificate that Apple gives you and your key. It could work, but you'll more likely end up with headaches since it takes developers hours trying to install the certificates themselves, never mind for other people. If possible, I would try to get it approved first, but don't launch it, and send your tester a promo code.