View gist:1e6d1bd118750aaaf2394e3285bed66d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Config secret env keys: | |
+ MATCH_PASSWORD: Match repo password | |
+ MATCH_GIT_BASIC_AUTHORIZATION: Match repo basic auth | |
2. Write fastlane pipeline | |
+ Create keychains | |
+ Update bundle version,... | |
+ Call match to install cer & profiles | |
+ Run unit test | |
+ Call gym to build app | |
+ Distribution iap to appstore/firebase |
View BUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swift_library( | |
name = "App_Classes", | |
srcs = glob([ | |
"*.swift", | |
]), | |
data = [ | |
"Base.lproj/LaunchScreen.storyboard", | |
"Base.lproj/Main.storyboard", | |
"//Assets", | |
], |
View BUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library") | |
swift_library( | |
name = "Alamofire", | |
srcs = glob([ | |
"Sources/Source/*.swift", | |
]), | |
module_name = "Alamofire", | |
visibility = ["//visibility:public"], | |
) |
View Alamofire.podspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pod::Spec.new do |s| | |
s.name = 'Alamofire' | |
s.version = '5.6.0' | |
s.license = 'MIT' | |
s.summary = 'Elegant HTTP Networking in Swift' | |
s.homepage = 'https://github.com/Alamofire/Alamofire' | |
s.authors = { 'Alamofire Software Foundation' => 'info@alamofire.org' } | |
s.source = { :git => 'https://github.com/Alamofire/Alamofire.git', :tag => s.version } | |
s.documentation_url = 'https://alamofire.github.io/Alamofire/' |
View AppDelegate.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import FirebaseCore | |
@main | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
self.window = UIWindow(frame: UIScreen.main.bounds) |
View BUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swift_library( | |
name = "App_Classes", | |
srcs = glob([ | |
"*.swift", | |
]), | |
data = [ | |
"Base.lproj/LaunchScreen.storyboard", | |
"Base.lproj/Main.storyboard", | |
"//Assets", | |
], |
View BUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("@build_bazel_rules_apple//apple:apple.bzl", "apple_static_framework_import") | |
apple_static_framework_import( | |
name = "FirebaseAnalytics", | |
framework_imports = select({ | |
"@//config:is_arm": glob(["Firebase/FirebaseAnalytics/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework/**"]), | |
"@//conditions:default": glob(["Firebase/FirebaseAnalytics/FirebaseAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/FirebaseAnalytics.framework/**"]), | |
}), | |
visibility = ["//visibility:public"], | |
) |
View SwiftMemoryLayout.3.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct User { | |
var age: Int | |
var isActive: Bool | |
var isAdmin: Bool | |
} |
View SwiftMemoryLayout.2.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct User { | |
var isActive: Bool | |
var age: Int | |
var isAdmin: Bool | |
} |
View SwiftMemoryLayout.1.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct User { | |
var isActive: Bool | |
} |
NewerOlder