Skip to content

Commit

Permalink
Add extension to swift example
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbodet authored and petea committed Aug 14, 2020
1 parent af44143 commit 602066c
Show file tree
Hide file tree
Showing 9 changed files with 742 additions and 5 deletions.
185 changes: 184 additions & 1 deletion Examples/Example-iOS_Swift-Carthage/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
objects = {

/* Begin PBXBuildFile section */
0646249B205F026300072191 /* NotificationCenter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0646249A205F026300072191 /* NotificationCenter.framework */; };
0646249E205F026300072191 /* TodayViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0646249D205F026300072191 /* TodayViewController.swift */; };
064624A1205F026300072191 /* MainInterface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0646249F205F026300072191 /* MainInterface.storyboard */; };
064624A5205F026300072191 /* Example_Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 06462499205F026300072191 /* Example_Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
064624AC205F02FA00072191 /* AppAuth.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9F265BD91F9AE50400DC14BF /* AppAuth.framework */; };
9F265BD11F9AC69300DC14BF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9F265BC91F9AC69300DC14BF /* Assets.xcassets */; };
9F265BD31F9AC69300DC14BF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9F265BCB1F9AC69300DC14BF /* LaunchScreen.storyboard */; };
9F265BD41F9AC69300DC14BF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9F265BCD1F9AC69300DC14BF /* Main.storyboard */; };
Expand All @@ -15,7 +20,38 @@
9FD378231FB7C6F800436204 /* AppAuthExampleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FD378221FB7C6F800436204 /* AppAuthExampleViewController.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
064624A3205F026300072191 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 9F265B8F1F9AC5D600DC14BF /* Project object */;
proxyType = 1;
remoteGlobalIDString = 06462498205F026300072191;
remoteInfo = Example_Extension;
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
064624A9205F026300072191 /* Embed App Extensions */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 13;
files = (
064624A5205F026300072191 /* Example_Extension.appex in Embed App Extensions */,
);
name = "Embed App Extensions";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
06462499205F026300072191 /* Example_Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = Example_Extension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
0646249A205F026300072191 /* NotificationCenter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = NotificationCenter.framework; path = System/Library/Frameworks/NotificationCenter.framework; sourceTree = SDKROOT; };
0646249D205F026300072191 /* TodayViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TodayViewController.swift; sourceTree = "<group>"; };
064624A0205F026300072191 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainInterface.storyboard; sourceTree = "<group>"; };
064624A2205F026300072191 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
064624AD205F034A00072191 /* Example.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Example.entitlements; sourceTree = "<group>"; };
064624AE205F035D00072191 /* Example_Extension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Example_Extension.entitlements; sourceTree = "<group>"; };
9F265B971F9AC5D600DC14BF /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
9F265BC91F9AC69300DC14BF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
9F265BCC1F9AC69300DC14BF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
Expand All @@ -27,6 +63,15 @@
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
06462496205F026300072191 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
064624AC205F02FA00072191 /* AppAuth.framework in Frameworks */,
0646249B205F026300072191 /* NotificationCenter.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
9F265B941F9AC5D600DC14BF /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -38,10 +83,22 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
0646249C205F026300072191 /* Example_Extension */ = {
isa = PBXGroup;
children = (
0646249D205F026300072191 /* TodayViewController.swift */,
0646249F205F026300072191 /* MainInterface.storyboard */,
064624A2205F026300072191 /* Info.plist */,
064624AE205F035D00072191 /* Example_Extension.entitlements */,
);
path = Example_Extension;
sourceTree = "<group>";
};
9F265B8E1F9AC5D600DC14BF = {
isa = PBXGroup;
children = (
9F265BC81F9AC69300DC14BF /* Source */,
0646249C205F026300072191 /* Example_Extension */,
9F265BD81F9AE4CA00DC14BF /* Frameworks */,
9F265B981F9AC5D600DC14BF /* Products */,
);
Expand All @@ -51,6 +108,7 @@
isa = PBXGroup;
children = (
9F265B971F9AC5D600DC14BF /* Example.app */,
06462499205F026300072191 /* Example_Extension.appex */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -64,6 +122,7 @@
9F265BCD1F9AC69300DC14BF /* Main.storyboard */,
9F265BC91F9AC69300DC14BF /* Assets.xcassets */,
9F265BD01F9AC69300DC14BF /* Info.plist */,
064624AD205F034A00072191 /* Example.entitlements */,
);
path = Source;
sourceTree = "<group>";
Expand All @@ -72,13 +131,31 @@
isa = PBXGroup;
children = (
9F265BD91F9AE50400DC14BF /* AppAuth.framework */,
0646249A205F026300072191 /* NotificationCenter.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
06462498205F026300072191 /* Example_Extension */ = {
isa = PBXNativeTarget;
buildConfigurationList = 064624A8205F026300072191 /* Build configuration list for PBXNativeTarget "Example_Extension" */;
buildPhases = (
06462495205F026300072191 /* Sources */,
06462496205F026300072191 /* Frameworks */,
06462497205F026300072191 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Example_Extension;
productName = Example_Extension;
productReference = 06462499205F026300072191 /* Example_Extension.appex */;
productType = "com.apple.product-type.app-extension";
};
9F265B961F9AC5D600DC14BF /* Example */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9F265BBF1F9AC5D600DC14BF /* Build configuration list for PBXNativeTarget "Example" */;
Expand All @@ -87,10 +164,12 @@
9F265B941F9AC5D600DC14BF /* Frameworks */,
9F265B951F9AC5D600DC14BF /* Resources */,
9F265BDB1F9AE52C00DC14BF /* ShellScript */,
064624A9205F026300072191 /* Embed App Extensions */,
);
buildRules = (
);
dependencies = (
064624A4205F026300072191 /* PBXTargetDependency */,
);
name = Example;
productName = Example;
Expand All @@ -103,13 +182,27 @@
9F265B8F1F9AC5D600DC14BF /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0900;
LastSwiftUpdateCheck = 0920;
LastUpgradeCheck = 0900;
ORGANIZATIONNAME = "Google Inc.";
TargetAttributes = {
06462498205F026300072191 = {
CreatedOnToolsVersion = 9.2;
ProvisioningStyle = Automatic;
SystemCapabilities = {
com.apple.ApplicationGroups.iOS = {
enabled = 1;
};
};
};
9F265B961F9AC5D600DC14BF = {
CreatedOnToolsVersion = 9.0.1;
ProvisioningStyle = Automatic;
SystemCapabilities = {
com.apple.ApplicationGroups.iOS = {
enabled = 1;
};
};
};
};
};
Expand All @@ -127,11 +220,20 @@
projectRoot = "";
targets = (
9F265B961F9AC5D600DC14BF /* Example */,
06462498205F026300072191 /* Example_Extension */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
06462497205F026300072191 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
064624A1205F026300072191 /* MainInterface.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
9F265B951F9AC5D600DC14BF /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -162,6 +264,14 @@
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
06462495205F026300072191 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
0646249E205F026300072191 /* TodayViewController.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
9F265B931F9AC5D600DC14BF /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -173,7 +283,23 @@
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
064624A4205F026300072191 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 06462498205F026300072191 /* Example_Extension */;
targetProxy = 064624A3205F026300072191 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
0646249F205F026300072191 /* MainInterface.storyboard */ = {
isa = PBXVariantGroup;
children = (
064624A0205F026300072191 /* Base */,
);
name = MainInterface.storyboard;
sourceTree = "<group>";
};
9F265BCB1F9AC69300DC14BF /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
Expand All @@ -193,6 +319,48 @@
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
064624A6205F026300072191 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Example_Extension/Example_Extension.entitlements;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
INFOPLIST_FILE = Example_Extension/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "net.openid.appauth.Example.Example-Extension";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
064624A7205F026300072191 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Example_Extension/Example_Extension.entitlements;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
INFOPLIST_FILE = Example_Extension/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "net.openid.appauth.Example.Example-Extension";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
9F265BBD1F9AC5D600DC14BF /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -303,8 +471,11 @@
9F265BC01F9AC5D600DC14BF /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Source/Example.entitlements;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
Expand All @@ -322,8 +493,11 @@
9F265BC11F9AC5D600DC14BF /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Source/Example.entitlements;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
Expand All @@ -341,6 +515,15 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
064624A8205F026300072191 /* Build configuration list for PBXNativeTarget "Example_Extension" */ = {
isa = XCConfigurationList;
buildConfigurations = (
064624A6205F026300072191 /* Debug */,
064624A7205F026300072191 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
9F265B921F9AC5D600DC14BF /* Build configuration list for PBXProject "Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
Loading

0 comments on commit 602066c

Please sign in to comment.