Skip to content

Instantly share code, notes, and snippets.

View mitsuharu's full-sized avatar

Mitsuharu Emoto mitsuharu

View GitHub Profile
@mitsuharu
mitsuharu / PODFILE
Created November 17, 2022 02:09
PODFILE で導入するライブラリの IPHONEOS_DEPLOYMENT_TARGET を変更する
def change_deployment_target(installer)
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 11.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
end
import SwiftUI
@main
struct MyApp: App {
var body: some Scene {
WindowGroup {
Text("SwiftUI\n完全に理解した")
.overlay {
Path(UIBezierPath(roundedRect: CGRect(
x: -60,
@mitsuharu
mitsuharu / react-native-sqlite-storage+6.0.1.patch
Last active August 3, 2022 01:04
patch file for react-native-sqlite-storage 6.0.1 with patch-package
diff --git a/node_modules/react-native-sqlite-storage/react-native.config.js b/node_modules/react-native-sqlite-storage/react-native.config.js
index dc150a9..7dcf0ef 100644
--- a/node_modules/react-native-sqlite-storage/react-native.config.js
+++ b/node_modules/react-native-sqlite-storage/react-native.config.js
@@ -1,9 +1,7 @@
module.exports = {
dependency: {
platforms: {
- ios: {
- project: './platforms/ios/SQLite.xcodeproj'