text
stringlengths
1
372
if you have existing certificates, you can export the
private keys by executing the following command for each certificate:
or you can create a new private key by executing the following command:
later, you can have CLI tools automatically create a new mac app distribution and
mac installer distribution certificate. you can use the same private key for
each new certificate.
fetch the code signing files from app store connect:
where cert_key is either your exported mac app distribution certificate private key
or a new private key which automatically generates a new certificate.
if you do not have a mac installer distribution certificate,
you can create a new certificate by executing the following:
use cert_key of the private key you created earlier.
fetch the mac installer distribution certificates:
set up a new temporary keychain to be used for code signing:
restore login keychain!
after running keychain initialize you must run the following:
keychain use-login
this sets your login keychain as the default to avoid potential
authentication issues with apps on your machine.
now add the fetched certificates to your keychain:
update the xcode project settings to use fetched code signing profiles:
install flutter dependencies:
install CocoaPods dependencies:
build the flutter macOS project:
package the app:
publish the packaged app to app store connect:
as mentioned earlier, don’t forget to set your login keychain
as the default to avoid authentication issues
with apps on your machine:
<topic_end>
<topic_start>
release your app on TestFlight
TestFlight allows developers to push their apps
to internal and external testers. this optional step
covers releasing your build on TestFlight.
<topic_end>
<topic_start>
distribute to registered devices
see distribution guide
to prepare an archive for distribution to designated mac computers.
<topic_end>
<topic_start>
release your app to the app store
when you’re ready to release your app to the world,
follow these steps to submit your app for review and
release to the app store:
apple notifies you when their app review process is complete.
your app is released according to the instructions you
specified in the version release section.
for more details, see
distribute an app through the app store.
<topic_end>
<topic_start>
troubleshooting
the distribute your app guide provides a
detailed overview of the process of releasing an app to the app store.
<topic_end>
<topic_start>
build and release a linux app to the snap store
during a typical development cycle,
you test an app using flutter run at the command line,
or by using the run and debug
options in your IDE. by default,
flutter builds a debug version of your app.
when you’re ready to prepare a release version of your app,
for example to publish to the snap store,
this page can help.
<topic_end>
<topic_start>
prerequisites
to build and publish to the snap store, you need the
following components:
<topic_end>
<topic_start>
set up the build environment
use the following instructions to set up your build environment.
<topic_end>
<topic_start>
install snapcraft
at the command line, run the following:
<topic_end>
<topic_start>
install LXD
to install LXD, use the following command:
LXD is required during the snap build process. once installed, LXD needs to be
configured for use. the default answers are suitable for most use cases.
on the first run, LXD might not be able to connect to its socket:
this means you need to add your username to the LXD
(lxd) group, so log out of your session and then log back in:
<topic_end>
<topic_start>
overview of snapcraft
the snapcraft tool builds snaps based on the instructions
listed in a snapcraft.yaml file.
to get a basic understanding of snapcraft and its
core concepts, take a look at the snap documentation
and the introduction to snapcraft.
additional links and information are listed at the
bottom of this page.
<topic_end>