Reader small image

You're reading from  Building Cross-Platform GUI Applications with Fyne

Product typeBook
Published inJan 2021
PublisherPackt
ISBN-139781800563162
Edition1st Edition
Tools
Right arrow
Author (1)
Andrew Williams
Andrew Williams
author image
Andrew Williams

Andrew Williams graduated from the University of Edinburgh in 2003 with a bachelor's degree, with honors, in computer science. After university, he went to work as a software engineer and has gained over 15 years of commercial software development experience across a variety of programming languages, including Java, C, Objective-C, and Go. Andrew has spent many years working as a CTO with many early-stage and growing software start-ups. He has been a core developer in large open source projects, including Enlightenment, EFL, and Maven, as well as involved in maintaining various community websites and tutorials. Andrew's passion for building tools and services that make software development simpler led him to start authoring books on the subject.
Read more about Andrew Williams

Right arrow

Appendix B: Installing Mobile Build Tools

Due to the way that mobile applications are compiled, they require additional tools and packages for testing or installation on devices. In this appendix, we’ll learn how to set up the additional components for iOS and Android development.

Preparing for Android

To develop apps for Android, we will require additional development tools. Development follows the same process as we have seen in the earlier chapters of this book, and the same Fyne APIs are available for your application – it’s just the build/package phase that changes. Here are the necessary steps that we need to follow:

  1. Firstly, you will need to install the Android SDK. The easiest way to do this is by installing Android Studio, which is available at developer.android.com/studio. Tap the download button on that website and follow the installation instructions for your type of computer.
  2. Once the installation has completed, you will also need to install the Native Development Kit (NDK), which is managed through the SDK Manager. This can be accessed through Android Studio by accessing the Tools menu and choosing SDK Manager. If you are not using Android Studio, then the same functionality can be seen by running the sdkmanager application...

Preparing for iOS and iPadOS

Building apps for Apple mobile devices is a little different from compiling your applications for macOS (desktop computers). Firstly, this must be done on an Apple Macintosh computer (iMac, MacBook Pro, and more) due to licensing restrictions.

Secondly, you must have Xcode tools installed (this is somewhat optional for desktop app creation). Lastly, if you want to test on physical devices or distribute to the store, you will need to be signed up to the Apple developer program, which carries an annual cost.

The Xcode installation is described in the Apple macOS section of Appendix A: Developer Tool Installation. If you have previously done iOS development, this will already be set up.

Next, you will need to have an Apple developer account. If you have not done so already, you can sign up at developer.apple.com/programs/enroll/. There is an annual fee, and if you publish apps but fail to renew your membership, they will be removed from the store...

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Building Cross-Platform GUI Applications with Fyne
Published in: Jan 2021Publisher: PacktISBN-13: 9781800563162
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
Andrew Williams

Andrew Williams graduated from the University of Edinburgh in 2003 with a bachelor's degree, with honors, in computer science. After university, he went to work as a software engineer and has gained over 15 years of commercial software development experience across a variety of programming languages, including Java, C, Objective-C, and Go. Andrew has spent many years working as a CTO with many early-stage and growing software start-ups. He has been a core developer in large open source projects, including Enlightenment, EFL, and Maven, as well as involved in maintaining various community websites and tutorials. Andrew's passion for building tools and services that make software development simpler led him to start authoring books on the subject.
Read more about Andrew Williams