development:tools:flutter_development_machine:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
development:tools:flutter_development_machine:start [2021/07/22 17:34] roy.leedevelopment:tools:flutter_development_machine:start [2023/12/17 14:57] (current) – [Setting up] don.lee
Line 1: Line 1:
-====== Setting Up Flutter Develop Machine ======+====== Setting Up Flutter Development Machine ======
  
 ===== Setting up ===== ===== Setting up =====
  
-[[development:tools:flutter_development_machine:vscode_setup:|Visual Studio Code setup]]+First Set up the following tools
  
-[[development:tools:flutter_development_machine:git:|Git]] +  * [[development:tools:flutter_development_machine:vscode_setup:|Visual Studio Code setup]] 
- +  * Git 
-[[development:tools:flutter_development_machine:flutter:|Flutter]] +  [[development:tools:flutter_development_machine:flutter:|Flutter]] 
- +  [[development:tools:flutter_development_machine:android_studio:|Android studio]] 
-[[development:tools:flutter_development_machine:android_studio:|Android studio]] +  [[development:tools:flutter_development_machine:xcode:|xCode]]
- +
-[[development:tools:flutter_development_machine:xcode:|xcode]]+
  
 ===== Building the app ===== ===== Building the app =====
Line 27: Line 25:
   * In Visual Studio Code, choose the device you will run the code and start debugging by pressing ''Run > Start Debugging'' or pressing ''F5''   * In Visual Studio Code, choose the device you will run the code and start debugging by pressing ''Run > Start Debugging'' or pressing ''F5''
  
-<WRAP center round important 70%> +<WRAP center round important 80%> 
-If you fail to build to ios try right clicking on the ios folder and choose ''Open in Xcode'' Make sure that the account is correct to sign the project, and the correct device is selected on the top to build the code.+If you fail to build to ios try right clicking on the ''ios folder'' and choose ''Open in Xcode'' Make sure that the account is correct to sign the project, and the correct device is selected on the top to build the code. 
 +</WRAP> 
 + 
 +<WRAP center round important 80%> 
 +If you are using an Apple Silicon Macbook and face build errors with CocoaPods try installing ffi with 
 +<code> 
 +sudo arch -x86_64 gem install ffi 
 +</code> 
 +then re-install dependencies with 
 +<code> 
 +sudo arch -x86_64 gem install ffi 
 +</code> 
 +see [[https://stackoverflow.com/a/65334677|Running CocoaPods on Apple Silicon (M1) - stackoverflow]]
 </WRAP> </WRAP>
  
Line 34: Line 44:
 ===== Possible Problems and Issues ===== ===== Possible Problems and Issues =====
  
 +Have a look at the articles for Flutter at our Staff Wiki
 +
 +[[staff:cheung ming:|Cheung, Ming]]
 +
 +[[staff:lee roy:|Lee, Roy]]
  • development/tools/flutter_development_machine/start.1626946469.txt.gz
  • Last modified: 2021/07/22 17:34
  • by roy.lee