| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -334,9 +334,7 @@ Prerequisites: macOS with Xcode installed | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   export GEM_PATH=$shortened_path | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   ``` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					1. Check the iOS flag isIOS in CapacitorPlatformService (currently hard-coded for iOS build). | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					2. Build the web assets: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					1. Build the web assets: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   ```bash | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   rm -rf dist | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -344,7 +342,7 @@ Prerequisites: macOS with Xcode installed | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   npm run build:capacitor | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   ``` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					3. Update iOS project with latest build: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					2. Update iOS project with latest build: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   ```bash | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   npx cap sync ios | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -352,7 +350,7 @@ Prerequisites: macOS with Xcode installed | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  - If that fails with "Could not find..." then look at the "gem_path" instructions above. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					4. Copy the assets: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					3. Copy the assets: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   ```bash | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   # It makes no sense why capacitor-assets will not run without these but it actually changes the contents. | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -370,7 +368,7 @@ Prerequisites: macOS with Xcode installed | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   xcrun agvtool new-version 30 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   # Unfortunately this edits Info.plist directly. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   #xcrun agvtool new-marketing-version 0.4.5 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   cat App.xcodeproj/project.pbxproj | sed "s/MARKETING_VERSION = .*;/MARKETING_VERSION = 0.5.4;/g" > temp && mv temp App.xcodeproj/project.pbxproj | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   cat App.xcodeproj/project.pbxproj | sed "s/MARKETING_VERSION = .*;/MARKETING_VERSION = 0.5.5;/g" > temp && mv temp App.xcodeproj/project.pbxproj | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   cd - | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   ``` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -398,8 +396,6 @@ Prerequisites: macOS with Xcode installed | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    * You'll probably have to "Manage" something about encryption, disallowed in France. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    * Then "Save" and "Add to Review" and "Resubmit to App Review". | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					8. Revert the iOS flag isIOS in CapacitorPlatformService. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					### Android Build | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					Prerequisites: Android Studio with Java SDK installed | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |