We're setting up review apps with GitHub integration.
We followed this:
https://help.heroku.com/R8AE3YBV/why-did-my-pipeline-disappear#:~:text=If%20you%20do%20not%20have,the%20pipeline%20is%20automatically%20deleted.
and created a default dummy app for our review app pipeline.
It works fine in the first couple of builds and review apps...
Then the pipeline keeps disappearing from our dashboard :( (seems deleted).
Why and how to fix that?
I'm working on the iOS 10 APNs function, trying to add Notification Service Extension to an existing App, add the function of pushing an image to the App.
After the extension was added, it did receive the pushed message. But couldn't receive the image, the function(wrote in the extension) of downloading the pushed image didn't execute during debugging. I checked the content in the App package, confirmed that the extension was installed in the App, it just didn't work.
What made me confused was that: I built a new testing project with same bundle id. The testing app could receive the pushed message and show the image correctly.(please see below screen shot)
What's wrong with the existing project? I tried to find the difference between the existing project and the testing project, yet found nothing in the code, setting, environment.
Does anyone encountered this before? I have been struggling in this for a week...
reference:
WWDC 2016 APNS Guide: https://willowtreeapps.com/ideas/wwdc-2016-rich-notifications-in-ios-10
Apple notification guide:https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ModifyingNotifications.html#//apple_ref/doc/uid/TP40008194-CH16-SW1
Finally this bug was fixed, please see the attached image. XCode recommends setting the architecture as automatic and I did so, then the notification service extension worked and could receive the pushed image. I don't know why this setting caused the problem, but I'm sure it works.
While running my app on iPhone, I needed to view the database contents. So I selected Devices in Xcode and chose my device. Thereafter, I selected my app and clicked on the Settings button which shows 3 options: Show container, Download container and Remove container. On clicking the Download container option, I was asked where I want to store the container. After selecting the location, I am getting the following error: An error occured while attempting to download the container from application "MyApp".....
On selecting Show container option, a list opens up but there is no file inside it.
The same problem occurs with other apps too that I run using Xcode.
Any ideas as to why this happens and how to fix it?
Restarting the device in question worked for me. Hope it helps!
We have uploaded a new build using Xcode 6 , and the submission was successful .
In Itunes connect in the app page, we filled everything, and we have to chose the build, but there is no plus button (as usual) to upload the build,only says "upload your build using Xcode 5.1"
I know sometimes you have to wait, we waited an hour, and even tried again, without success.
We also have the same issue with an update of an app (one is new,one is an update)
Is there a way to do something to see it ?
Change the version number of your app, reupload the build but in the upload process uncheck "Include app symbols for your application to receive symbolicated crash logs from Apple". The build should appear under "Betas" and then you have to approve it as a normal build. Once you do that, it should appear on the app's page.
I have an app on Heroku which is being used by few users. However, I notice there are some data issues which I'd like to fix and stop the app in the mean time so users don't enter anything new.
Is there a way to stop the app on Heroku rather than destroying it? I see that restart server command is there... Although I don't see anything like 'stop'.
To completely 'stop' your app you can scale the web dynos down to zero which effectively takes all your app http-processes offline.
$ heroku ps:scale web=0
Scaling web processes... done, now running 0
http://devcenter.heroku.com/articles/maintenance-mode
If you’re deploying a large migration or need to disable access to your application for some length of time, you can use Heroku’s built in maintenance mode. It will serve a static page to all visitors, while still allowing you to run rake tasks or console commands.
$ heroku maintenance:on
Maintenance mode enabled.
and later
$ heroku maintenance:off
Maintenance mode disabled.
Simple steps from the Heroku Web
go to Dashboard
click in "Your App Name"
click in Resources tab
click in the Pencil icon (look the attached image)
Flip the switch to left
click in Confirm
Go to your dashboard on heroku. Select the app. There is a dynos section. Just pull the sliders for the dynos down, (a decrease in dynos is to the left), to the number of dynos you want to be running. The slider goes to 0. Then save your changes. Boom.
According to the comment below: there is a pencil icon that needs to be clicked to accomplish this. I have not checked - but am putting it here in case it helps.
You might have to be more specific and specify the app name as well (this is the name of the app as you have it in heroku). For example:
heroku ps:scale web=0 --app myAppName
Otherwise you might get the following message:
% heroku ps:scale web=0
Scaling dynos... failed
! No app specified.
! Run this command from an app folder or specify which app to use with --app APP.
You can disable the app using enable maintenance mode from the admin panel.
Go to settings tabs.
In bottom just before deleting the app. enable maintenance mode. see in the screenshot below.
To add to the answers above: if you want to stop Dyno using admin panel, the current solution on free tier:
Open App
In Overview tab, in "Dyno formation" section click on "Configure Dynos"
In the needed row of "Free Dynos" section, click on the pencil icon on the right
Click on the blue on/off control, and then click on "Confirm"
Hope this helps.
CMD:
install The Heroku CLI https://devcenter.heroku.com/articles/heroku-cli#download-and-install
press win+r, type "cmd" press enter
heroku login # login
heroku ps:scale worker=0 -a your_app_name
GIU:
https://dashboard.heroku.com/apps
Personal==> ==> Resources > click on Pencil Icon and drag to left side > confirm
then Dynos will go down.
If you are using eclipse plugin, double click on the app-name in My Heroku Applications. In Processes tab, press Scale Button. A small window will pop-up. Increase/decrease the count and just say OK.
To DELETE your Heroku app
This is for those looking to DELETE an app on their Heroku account.
Sometimes you end up here when trying to find out how to remove/delete an app.
WARNING: This is irreversible!
Go to your Heroku dashboard here
Select the app you want to delete.
Scroll down to the bottom of the settings page for that app.
Press the red Delete app... button.
1> Yes... There is pencil icon when we go to Personal==> <app name> ==>Resources
then click on Pencil Icon and drag to left side and Dynos will go down.
2> You can validate using Heroku cli
heroku logs --app {your-appname}
it worked for me.