Skip to content

Commit

Permalink
Sample widget created and building with fastlane cert
Browse files Browse the repository at this point in the history
  • Loading branch information
nkalupahana committed Jan 16, 2025
1 parent 4eb9272 commit 5804172
Show file tree
Hide file tree
Showing 11 changed files with 382 additions and 5 deletions.
203 changes: 202 additions & 1 deletion ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,41 @@
504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC3101FED79650016851F /* LaunchScreen.storyboard */; };
50B271D11FEDC1A000F3C39B /* public in Resources */ = {isa = PBXBuildFile; fileRef = 50B271D01FEDC1A000F3C39B /* public */; };
F43DAAC027C57A7D00566D61 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = F43DAABF27C57A7C00566D61 /* GoogleService-Info.plist */; };
F45386982D390DB800B5D83A /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F45386972D390DB800B5D83A /* WidgetKit.framework */; };
F453869A2D390DB800B5D83A /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F45386992D390DB800B5D83A /* SwiftUI.framework */; };
F45386A52D390DBA00B5D83A /* StreakWidgetExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = F45386962D390DB800B5D83A /* StreakWidgetExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
F45386B02D3913DC00B5D83A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F45386AB2D3913DC00B5D83A /* Assets.xcassets */; };
F45386B22D3913DC00B5D83A /* StreakWidget.swift in Sources */ = {isa = PBXBuildFile; fileRef = F45386AD2D3913DC00B5D83A /* StreakWidget.swift */; };
F45386B32D3913DC00B5D83A /* StreakWidgetBundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = F45386AE2D3913DC00B5D83A /* StreakWidgetBundle.swift */; };
F4B35BDF2A4CA45F00A10990 /* AdServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F4B35BDE2A4CA45F00A10990 /* AdServices.framework */; };
F4B453CA2BBDD2BD0015BC30 /* AdServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F4B35BDE2A4CA45F00A10990 /* AdServices.framework */; };
F4B453CC2BBDD2C90015BC30 /* AdSupport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F4B453CB2BBDD2C90015BC30 /* AdSupport.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
F45386A32D390DBA00B5D83A /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 504EC2FC1FED79650016851F /* Project object */;
proxyType = 1;
remoteGlobalIDString = F45386952D390DB800B5D83A;
remoteInfo = StreakWidgetExtension;
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
F45386A62D390DBA00B5D83A /* Embed Foundation Extensions */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 13;
files = (
F45386A52D390DBA00B5D83A /* StreakWidgetExtension.appex in Embed Foundation Extensions */,
);
name = "Embed Foundation Extensions";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
1ADCDCC410A79CBCE2E3759B /* Pods-moody.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-moody.release.xcconfig"; path = "Pods/Target Support Files/Pods-moody/Pods-moody.release.xcconfig"; sourceTree = "<group>"; };
2FAD9762203C412B000D30F8 /* config.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = config.xml; sourceTree = "<group>"; };
Expand All @@ -38,6 +68,13 @@
E2AD3EC8EC6BE39DD59F3DDF /* Pods-moody.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-moody.debug.xcconfig"; path = "Pods/Target Support Files/Pods-moody/Pods-moody.debug.xcconfig"; sourceTree = "<group>"; };
F413097F28232F7E004118CE /* CloudKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CloudKit.framework; path = System/Library/Frameworks/CloudKit.framework; sourceTree = SDKROOT; };
F43DAABF27C57A7C00566D61 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
F45386962D390DB800B5D83A /* StreakWidgetExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = StreakWidgetExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
F45386972D390DB800B5D83A /* WidgetKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WidgetKit.framework; path = System/Library/Frameworks/WidgetKit.framework; sourceTree = SDKROOT; };
F45386992D390DB800B5D83A /* SwiftUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftUI.framework; path = System/Library/Frameworks/SwiftUI.framework; sourceTree = SDKROOT; };
F45386AB2D3913DC00B5D83A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
F45386AC2D3913DC00B5D83A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
F45386AD2D3913DC00B5D83A /* StreakWidget.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StreakWidget.swift; sourceTree = "<group>"; };
F45386AE2D3913DC00B5D83A /* StreakWidgetBundle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StreakWidgetBundle.swift; sourceTree = "<group>"; };
F4B35BDE2A4CA45F00A10990 /* AdServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AdServices.framework; path = System/Library/Frameworks/AdServices.framework; sourceTree = SDKROOT; };
F4B453CB2BBDD2C90015BC30 /* AdSupport.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AdSupport.framework; path = System/Library/Frameworks/AdSupport.framework; sourceTree = SDKROOT; };
FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = "<group>"; };
Expand All @@ -56,6 +93,15 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
F45386932D390DB800B5D83A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
F453869A2D390DB800B5D83A /* SwiftUI.framework in Frameworks */,
F45386982D390DB800B5D83A /* WidgetKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -66,6 +112,8 @@
F4B35BDE2A4CA45F00A10990 /* AdServices.framework */,
F413097F28232F7E004118CE /* CloudKit.framework */,
40CBD264F71156B3FC86972E /* Pods_baseline.framework */,
F45386972D390DB800B5D83A /* WidgetKit.framework */,
F45386992D390DB800B5D83A /* SwiftUI.framework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand All @@ -75,6 +123,7 @@
children = (
F43DAABF27C57A7C00566D61 /* GoogleService-Info.plist */,
504EC3061FED79650016851F /* App */,
F45386AF2D3913DC00B5D83A /* StreakWidget */,
504EC3051FED79650016851F /* Products */,
7F8756D8B27F46E3366F6CEA /* Pods */,
27E2DDA53C4D2A4D1A88CE4A /* Frameworks */,
Expand All @@ -85,6 +134,7 @@
isa = PBXGroup;
children = (
504EC3041FED79650016851F /* baseline.app */,
F45386962D390DB800B5D83A /* StreakWidgetExtension.appex */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -117,6 +167,17 @@
name = Pods;
sourceTree = "<group>";
};
F45386AF2D3913DC00B5D83A /* StreakWidget */ = {
isa = PBXGroup;
children = (
F45386AB2D3913DC00B5D83A /* Assets.xcassets */,
F45386AC2D3913DC00B5D83A /* Info.plist */,
F45386AD2D3913DC00B5D83A /* StreakWidget.swift */,
F45386AE2D3913DC00B5D83A /* StreakWidgetBundle.swift */,
);
path = StreakWidget;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -130,10 +191,12 @@
504EC3021FED79650016851F /* Resources */,
9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */,
F4C9E22928EFFB91005D95AE /* ShellScript */,
F45386A62D390DBA00B5D83A /* Embed Foundation Extensions */,
);
buildRules = (
);
dependencies = (
F45386A42D390DBA00B5D83A /* PBXTargetDependency */,
);
name = baseline;
packageProductDependencies = (
Expand All @@ -142,20 +205,43 @@
productReference = 504EC3041FED79650016851F /* baseline.app */;
productType = "com.apple.product-type.application";
};
F45386952D390DB800B5D83A /* StreakWidgetExtension */ = {
isa = PBXNativeTarget;
buildConfigurationList = F45386AA2D390DBA00B5D83A /* Build configuration list for PBXNativeTarget "StreakWidgetExtension" */;
buildPhases = (
F45386922D390DB800B5D83A /* Sources */,
F45386932D390DB800B5D83A /* Frameworks */,
F45386942D390DB800B5D83A /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = StreakWidgetExtension;
packageProductDependencies = (
);
productName = StreakWidgetExtension;
productReference = F45386962D390DB800B5D83A /* StreakWidgetExtension.appex */;
productType = "com.apple.product-type.app-extension";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
504EC2FC1FED79650016851F /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0920;
LastSwiftUpdateCheck = 1620;
LastUpgradeCheck = 0920;
TargetAttributes = {
504EC3031FED79650016851F = {
CreatedOnToolsVersion = 9.2;
LastSwiftMigration = 1100;
ProvisioningStyle = Manual;
};
F45386952D390DB800B5D83A = {
CreatedOnToolsVersion = 16.2;
ProvisioningStyle = Manual;
};
};
};
buildConfigurationList = 504EC2FF1FED79650016851F /* Build configuration list for PBXProject "App" */;
Expand All @@ -174,6 +260,7 @@
projectRoot = "";
targets = (
504EC3031FED79650016851F /* baseline */,
F45386952D390DB800B5D83A /* StreakWidgetExtension */,
);
};
/* End PBXProject section */
Expand All @@ -193,6 +280,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
F45386942D390DB800B5D83A /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F45386B02D3913DC00B5D83A /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
Expand Down Expand Up @@ -259,8 +354,25 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
F45386922D390DB800B5D83A /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F45386B22D3913DC00B5D83A /* StreakWidget.swift in Sources */,
F45386B32D3913DC00B5D83A /* StreakWidgetBundle.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
F45386A42D390DBA00B5D83A /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = F45386952D390DB800B5D83A /* StreakWidgetExtension */;
targetProxy = F45386A32D390DBA00B5D83A /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
504EC30B1FED79650016851F /* Main.storyboard */ = {
isa = PBXVariantGroup;
Expand Down Expand Up @@ -434,6 +546,86 @@
};
name = Release;
};
F45386A72D390DBA00B5D83A /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = FC733RM99L;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = StreakWidget/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = StreakWidget;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
IPHONEOS_DEPLOYMENT_TARGET = 18.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = app.getbaseline.baseline.StreakWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match Development app.getbaseline.baseline.*";
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
F45386A82D390DBA00B5D83A /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = FC733RM99L;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = StreakWidget/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = StreakWidget;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
IPHONEOS_DEPLOYMENT_TARGET = 18.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = app.getbaseline.baseline.StreakWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore app.getbaseline.baseline.*";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand All @@ -455,6 +647,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F45386AA2D390DBA00B5D83A /* Build configuration list for PBXNativeTarget "StreakWidgetExtension" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F45386A72D390DBA00B5D83A /* Debug */,
F45386A82D390DBA00B5D83A /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 504EC2FC1FED79650016851F /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "tinted"
}
],
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
6 changes: 6 additions & 0 deletions ios/App/StreakWidget/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading

0 comments on commit 5804172

Please sign in to comment.