Updated 2018-03-23 Version 1802 (Build 16.0.9029.2167)
==========================================
Updated 2018-03-23 Version 1802 (Build 16.0.9029.2167)
==========================================
| # download this file to your project folder and excute | |
| # chmod +x generate-ios.sh | |
| # then run using | |
| # ./generate-ios.sh | |
| # flutter build defaults to --release | |
| flutter build ios | |
| # make folder, add .app then zip it and rename it to .ipa | |
| mkdir -p Payload |
| import SwiftUI | |
| import Combine | |
| struct OnScroll: ViewModifier { | |
| @Binding var offset: CGFloat | |
| //we can have a version with a closure instead of the binding, but that triggers an infinite loop if content depends on the same Store | |
| // var onOffset: (CGFloat) -> () | |
| func body(content: Content) -> some View { | |
| return VStack { |
| import UIKit | |
| open class PaddedTextField: UITextField { | |
| public var textInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) { | |
| didSet { setNeedsDisplay() } | |
| } | |
| public override init(frame: CGRect) { | |
| super.init(frame: frame) | |
| } |
apple-app-site-association text file without .json file extensionapplication/json MIME type for the text file {
"applinks": {"apps": [],
| sudo gem uninstall cocoapods | |
| sudo gem install cocoapods -v 1.1.1 | |
| rm -rf "${HOME}/Library/Caches/CocoaPods" | |
| rm -rf Pods | |
| pod update |
| # Close Xcode & the iOS Simulator | |
| # http://stackoverflow.com/a/30940055 | |
| # Remove any old runtimes from this directory. | |
| cd /Library/Developer/CoreSimulator/Profiles/Runtimes | |
| # e.g. | |
| sudo rm -rf iOS\ 8.1.simruntime | |
| # http://stackoverflow.com/a/11790983 | |
| # Remove the download receipts for simulators you don't need anymore. |
| openssl pkcs12 -in Certificatesdev.p12 -out Certificatesdev.pem -nodes -clcerts |