Skip to content

Commit

Permalink
env file config
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomartins8 committed Mar 4, 2024
1 parent 93928eb commit c252cbf
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Env.xcconfig
.DS_Store
12 changes: 12 additions & 0 deletions Env.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// Env.xcconfig
// SmartCaptureDemo
//
// Created by Sergio Martins on 04/03/2024.
//

// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974

API_KEY=
WORKFLOW_ID=
16 changes: 8 additions & 8 deletions SmartCaptureDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
701A39852B95D4E500CB1BF8 /* Env.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 701A39842B95D4E500CB1BF8 /* Env.xcconfig */; };
878C0A532B86523F00781853 /* WebView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8734E7B02B865065009D81F1 /* WebView.swift */; };
878C0A542B86523F00781853 /* MainVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8734E7AE2B865040009D81F1 /* MainVC.swift */; };
878C0A552B86523F00781853 /* HTTPURLResponse+Ext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8734E7AB2B865014009D81F1 /* HTTPURLResponse+Ext.swift */; };
Expand All @@ -19,13 +20,13 @@
878C0A5C2B86527800781853 /* ApiManagerError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8734E7A32B864FE2009D81F1 /* ApiManagerError.swift */; };
878C0A5E2B8655E700781853 /* index.html in Resources */ = {isa = PBXBuildFile; fileRef = 878C0A5D2B8655E700781853 /* index.html */; };
878C0A612B8F436100781853 /* EnvironmentVars.swift in Sources */ = {isa = PBXBuildFile; fileRef = 878C0A602B8F436100781853 /* EnvironmentVars.swift */; };
878C0A632B8F437400781853 /* Env.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 878C0A622B8F437400781853 /* Env.xcconfig */; };
FCB28EC128D358A7008273D4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FCB28EC028D358A7008273D4 /* Assets.xcassets */; };
FCB28EC428D358A7008273D4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FCB28EC228D358A7008273D4 /* LaunchScreen.storyboard */; };
FCD5369328DB50EA0037152A /* webview_script.js in Resources */ = {isa = PBXBuildFile; fileRef = FCD5369228DB50EA0037152A /* webview_script.js */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
701A39842B95D4E500CB1BF8 /* Env.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Env.xcconfig; sourceTree = "<group>"; };
8734E7A12B864FE2009D81F1 /* ApiEndpoint.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ApiEndpoint.swift; path = SmartCaptureDemo/Network/ApiEndpoint.swift; sourceTree = "<group>"; };
8734E7A22B864FE2009D81F1 /* ApiManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ApiManager.swift; path = SmartCaptureDemo/Network/ApiManager.swift; sourceTree = "<group>"; };
8734E7A32B864FE2009D81F1 /* ApiManagerError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ApiManagerError.swift; path = SmartCaptureDemo/Network/ApiManagerError.swift; sourceTree = "<group>"; };
Expand All @@ -36,7 +37,6 @@
8734E7B02B865065009D81F1 /* WebView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = WebView.swift; path = SmartCaptureDemo/WebView.swift; sourceTree = "<group>"; };
878C0A5D2B8655E700781853 /* index.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; name = index.html; path = SmartCaptureDemo/index.html; sourceTree = "<group>"; };
878C0A602B8F436100781853 /* EnvironmentVars.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = EnvironmentVars.swift; path = SmartCaptureDemo/EnvironmentVars.swift; sourceTree = "<group>"; };
878C0A622B8F437400781853 /* Env.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Env.xcconfig; path = SmartCaptureDemo/Env.xcconfig; sourceTree = "<group>"; };
B3BF755D296DB395007FA070 /* ConnectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConnectionView.swift; sourceTree = "<group>"; };
B3BF755F29704D50007FA070 /* Reachability.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Reachability.swift; sourceTree = "<group>"; };
FCB28EB428D358A5008273D4 /* SmartCaptureDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SmartCaptureDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
Expand All @@ -63,8 +63,8 @@
FCB28EAB28D358A5008273D4 = {
isa = PBXGroup;
children = (
701A39842B95D4E500CB1BF8 /* Env.xcconfig */,
878C0A5D2B8655E700781853 /* index.html */,
878C0A622B8F437400781853 /* Env.xcconfig */,
8734E7B02B865065009D81F1 /* WebView.swift */,
878C0A602B8F436100781853 /* EnvironmentVars.swift */,
8734E7AE2B865040009D81F1 /* MainVC.swift */,
Expand Down Expand Up @@ -168,7 +168,7 @@
878C0A5E2B8655E700781853 /* index.html in Resources */,
FCB28EC428D358A7008273D4 /* LaunchScreen.storyboard in Resources */,
FCD5369328DB50EA0037152A /* webview_script.js in Resources */,
878C0A632B8F437400781853 /* Env.xcconfig in Resources */,
701A39852B95D4E500CB1BF8 /* Env.xcconfig in Resources */,
FCB28EC128D358A7008273D4 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -210,7 +210,7 @@
/* Begin XCBuildConfiguration section */
FCB28EC628D358A7008273D4 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 878C0A622B8F437400781853 /* Env.xcconfig */;
baseConfigurationReference = 701A39842B95D4E500CB1BF8 /* Env.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
Expand Down Expand Up @@ -271,7 +271,7 @@
};
FCB28EC728D358A7008273D4 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 878C0A622B8F437400781853 /* Env.xcconfig */;
baseConfigurationReference = 701A39842B95D4E500CB1BF8 /* Env.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
Expand Down Expand Up @@ -326,7 +326,7 @@
};
FCB28EC928D358A7008273D4 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 878C0A622B8F437400781853 /* Env.xcconfig */;
baseConfigurationReference = 701A39842B95D4E500CB1BF8 /* Env.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
Expand Down Expand Up @@ -359,7 +359,7 @@
};
FCB28ECA28D358A7008273D4 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 878C0A622B8F437400781853 /* Env.xcconfig */;
baseConfigurationReference = 701A39842B95D4E500CB1BF8 /* Env.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>SmartCaptureDemo.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
14 changes: 0 additions & 14 deletions SmartCaptureDemo/Env-sample.xcconfig

This file was deleted.

0 comments on commit c252cbf

Please sign in to comment.