Skip to content

An open-source cross-platform alternative to AirDrop

feat: add iOS

Tien Do Nam9f3d3f25089f
diff --git a/ios/Flutter/Debug.xcconfig b/ios/Flutter/Debug.xcconfig
index 592ceee8..ec97fc6f 100644
--- a/ios/Flutter/Debug.xcconfig
+++ b/ios/Flutter/Debug.xcconfig
@@ -1 +1,2 @@
+#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
diff --git a/ios/Flutter/Release.xcconfig b/ios/Flutter/Release.xcconfig
index 592ceee8..c4855bfe 100644
--- a/ios/Flutter/Release.xcconfig
+++ b/ios/Flutter/Release.xcconfig
@@ -1 +1,2 @@
+#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
diff --git a/ios/Podfile b/ios/Podfile
new file mode 100644
index 00000000..88359b22
--- /dev/null
+++ b/ios/Podfile
@@ -0,0 +1,41 @@
+# Uncomment this line to define a global platform for your project
+# platform :ios, '11.0'
+
+# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
+ENV['COCOAPODS_DISABLE_STATS'] = 'true'
+
+project 'Runner', {
+ 'Debug' => :debug,
+ 'Profile' => :release,
+ 'Release' => :release,
+}
+
+def flutter_root
+ generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
+ unless File.exist?(generated_xcode_build_settings_path)
+ raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
+ end
+
+ File.foreach(generated_xcode_build_settings_path) do |line|
+ matches = line.match(/FLUTTER_ROOT\=(.*)/)
+ return matches[1].strip if matches
+ end
+ raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
+end
+
+require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
+
+flutter_ios_podfile_setup
+
+target 'Runner' do
+ use_frameworks!
+ use_modular_headers!
+
+ flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
+end
+
+post_install do |installer|
+ installer.pods_project.targets.each do |target|
+ flutter_additional_ios_build_settings(target)
+ end
+end
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
new file mode 100644
index 00000000..41a949ee
--- /dev/null
+++ b/ios/Podfile.lock
@@ -0,0 +1,22 @@
+PODS:
+ - Flutter (1.0.0)
+ - network_info_plus (0.0.1):
+ - Flutter
+
+DEPENDENCIES:
+ - Flutter (from `Flutter`)
+ - network_info_plus (from `.symlinks/plugins/network_info_plus/ios`)
+
+EXTERNAL SOURCES:
+ Flutter:
+ :path: Flutter
+ network_info_plus:
+ :path: ".symlinks/plugins/network_info_plus/ios"
+
+SPEC CHECKSUMS:
+ Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
+ network_info_plus: b78876159360f5580608c2cea620d6ceffabd0ad
+
+PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
+
+COCOAPODS: 1.10.1
diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
index 9f9fb35f..66aac9ed 100644
--- a/ios/Runner.xcodeproj/project.pbxproj
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -13,6 +13,7 @@
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+ E90D52B8096B253F54908565 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0628E22A788D91D99A60B3EB /* Pods_Runner.framework */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
@@ -29,9 +30,11 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
+ 0628E22A788D91D99A60B3EB /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
+ 6C3C360E39C360756F5C1E62 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
@@ -42,6 +45,8 @@
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+ A2BF1CF158EF83DE50B03565 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
+ B97818B16CFBA751581F52D0 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -49,12 +54,24 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ E90D52B8096B253F54908565 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ 59B9B2A902E417D8EA9C7BB8 /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ 6C3C360E39C360756F5C1E62 /* Pods-Runner.debug.xcconfig */,
+ B97818B16CFBA751581F52D0 /* Pods-Runner.release.xcconfig */,
+ A2BF1CF158EF83DE50B03565 /* Pods-Runner.profile.xcconfig */,
+ );
+ name = Pods;
+ path = Pods;
+ sourceTree = "<group>";
+ };
9740EEB11CF90186004384FC /* Flutter */ = {
isa = PBXGroup;
children = (
@@ -72,6 +89,8 @@
9740EEB11CF90186004384FC /* Flutter */,
97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */,
+ 59B9B2A902E417D8EA9C7BB8 /* Pods */,
+ C869F3F44E625CCF2D1A5B44 /* Frameworks */,
);
sourceTree = "<group>";
};
@@ -98,6 +117,14 @@
path = Runner;
sourceTree = "<group>";
};
+ C869F3F44E625CCF2D1A5B44 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 0628E22A788D91D99A60B3EB /* Pods_Runner.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@@ -105,12 +132,14 @@
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
+ 9C4064819D92C3F1614A347F /* [CP] Check Pods Manifest.lock */,
9740EEB61CF901F6004384FC /* Run Script */,
97C146EA1CF9000F007C117D /* Sources */,
97C146EB1CF9000F007C117D /* Frameworks */,
97C146EC1CF9000F007C117D /* Resources */,
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ 38A5402B0B18EA0E910C92D1 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
@@ -169,6 +198,23 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
+ 38A5402B0B18EA0E910C92D1 /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -197,6 +243,28 @@
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
};
+ 9C4064819D92C3F1614A347F /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
diff --git a/ios/Runner.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcworkspace/contents.xcworkspacedata
index 1d526a16..21a3cc14 100644
--- a/ios/Runner.xcworkspace/contents.xcworkspacedata
+++ b/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -4,4 +4,7 @@
<FileRef
location = "group:Runner.xcodeproj">
</FileRef>
+ <FileRef
+ location = "group:Pods/Pods.xcodeproj">
+ </FileRef>
</Workspace>
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
index d36b1fab..b57f31e6 100644
--- a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -1,117 +1,111 @@
{
"images" : [
- {
+ {
"size" : "20x20",
- "idiom" : "iphone",
- "filename" : "[email protected]",
- "scale" : "2x"
+ "idiom": "iphone",
+ "filename" : "[email protected]",
+ "scale": "2x"
},
- {
+ {
"size" : "20x20",
- "idiom" : "iphone",
- "filename" : "[email protected]",
- "scale" : "3x"
+ "idiom": "iphone",
+ "filename" : "[email protected]",
+ "scale": "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom": "ipad",
+ "filename" : "Icon-App-20.png",
+ "scale": "1x"
},
{
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "[email protected]",
- "scale" : "1x"
+ "size" : "20x20",
+ "idiom": "ipad",
+ "filename" : "[email protected]",
+ "scale": "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
- "filename" : "[email protected]",
+ "filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
- "filename" : "[email protected]",
+ "filename" : "[email protected]",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
- "filename" : "[email protected]",
+ "filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
- "filename" : "[email protected]",
+ "filename" : "[email protected]",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
- "filename" : "[email protected]",
+ "filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
- "filename" : "[email protected]",
+ "filename" : "[email protected]",
"scale" : "3x"
},
- {
- "size" : "20x20",
- "idiom" : "ipad",
- "filename" : "[email protected]",
- "scale" : "1x"
- },
- {
- "size" : "20x20",
- "idiom" : "ipad",
- "filename" : "[email protected]",
- "scale" : "2x"
- },
{
"size" : "29x29",
"idiom" : "ipad",
- "filename" : "[email protected]",
+ "filename" : "Icon-App-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
- "filename" : "[email protected]",
+ "filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
- "filename" : "[email protected]",
+ "filename" : "Icon-App-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
- "filename" : "[email protected]",
+ "filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
- "filename" : "[email protected]",
+ "filename" : "Icon-App-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
- "filename" : "[email protected]",
+ "filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
- "filename" : "[email protected]",
+ "filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
- "filename" : "[email protected]",
+ "filename" : "Icon-App-1024.png",
"scale" : "1x"
}
],
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024.png
new file mode 100644
index 00000000..40f3b9a6
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index dc9ada47..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20.png
new file mode 100644
index 00000000..98723bce
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..35fb7b04
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..17b1c294
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index 28c6bf03..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index 2ccbfd96..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index f091b6b0..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29.png
new file mode 100644
index 00000000..ed7ca48f
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..6c870a03
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..e9c674c5
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index 4cde1211..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index d0ef06e7..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index dcdc2306..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40.png
new file mode 100644
index 00000000..35fb7b04
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..57e8f3a1
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..214437b7
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index 2ccbfd96..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index c8f9ed8f..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index a6d6b860..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..214437b7
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..aa0a9d69
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index a6d6b860..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index 75b2d164..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76.png
new file mode 100644
index 00000000..534642d7
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..97120ea4
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index c4df70d3..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index 6a84f41e..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..4cbdab61
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] b/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index d0e1f585..00000000
Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index 6e76e081..c83f2955 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
- <string>Localsend App</string>
+ <string>LocalSend</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
diff --git a/macos/Flutter/Flutter-Debug.xcconfig b/macos/Flutter/Flutter-Debug.xcconfig
index c2efd0b6..4b81f9b2 100644
--- a/macos/Flutter/Flutter-Debug.xcconfig
+++ b/macos/Flutter/Flutter-Debug.xcconfig
@@ -1 +1,2 @@
+#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/macos/Flutter/Flutter-Release.xcconfig b/macos/Flutter/Flutter-Release.xcconfig
index c2efd0b6..5caa9d15 100644
--- a/macos/Flutter/Flutter-Release.xcconfig
+++ b/macos/Flutter/Flutter-Release.xcconfig
@@ -1 +1,2 @@
+#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/macos/Podfile b/macos/Podfile
new file mode 100644
index 00000000..dade8dfa
--- /dev/null
+++ b/macos/Podfile
@@ -0,0 +1,40 @@
+platform :osx, '10.11'
+
+# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
+ENV['COCOAPODS_DISABLE_STATS'] = 'true'
+
+project 'Runner', {
+ 'Debug' => :debug,
+ 'Profile' => :release,
+ 'Release' => :release,
+}
+
+def flutter_root
+ generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
+ unless File.exist?(generated_xcode_build_settings_path)
+ raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first"
+ end
+
+ File.foreach(generated_xcode_build_settings_path) do |line|
+ matches = line.match(/FLUTTER_ROOT\=(.*)/)
+ return matches[1].strip if matches
+ end
+ raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\""
+end
+
+require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
+
+flutter_macos_podfile_setup
+
+target 'Runner' do
+ use_frameworks!
+ use_modular_headers!
+
+ flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
+end
+
+post_install do |installer|
+ installer.pods_project.targets.each do |target|
+ flutter_additional_macos_build_settings(target)
+ end
+end