Skip to content

Commit

Permalink
Add link help
Browse files Browse the repository at this point in the history
  • Loading branch information
joelparkerhenderson committed Sep 22, 2017
1 parent 58ce8e9 commit 9fae1ac
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 2 deletions.
23 changes: 23 additions & 0 deletions Demo Swift Carthage/Demo Swift Carthage.xcodeproj/project.pbxproj
Expand Up @@ -14,6 +14,7 @@
5D80A2311F74DDFA00299BD5 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5D80A22F1F74DDFA00299BD5 /* LaunchScreen.storyboard */; };
5D80A23C1F74DDFB00299BD5 /* Demo_Swift_CarthageTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D80A23B1F74DDFB00299BD5 /* Demo_Swift_CarthageTests.swift */; };
5D80A2471F74DDFB00299BD5 /* Demo_Swift_CarthageUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D80A2461F74DDFB00299BD5 /* Demo_Swift_CarthageUITests.swift */; };
5DDFF7891F74E8CD006E4FAE /* Prelude.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DDFF7881F74E8CD006E4FAE /* Prelude.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -47,13 +48,15 @@
5D80A2421F74DDFB00299BD5 /* Demo Swift CarthageUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Demo Swift CarthageUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
5D80A2461F74DDFB00299BD5 /* Demo_Swift_CarthageUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Demo_Swift_CarthageUITests.swift; sourceTree = "<group>"; };
5D80A2481F74DDFB00299BD5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5DDFF7881F74E8CD006E4FAE /* Prelude.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Prelude.framework; path = Carthage/Build/iOS/Prelude.framework; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
5D80A2201F74DDFA00299BD5 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
5DDFF7891F74E8CD006E4FAE /* Prelude.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -81,6 +84,7 @@
5D80A23A1F74DDFB00299BD5 /* Demo Swift CarthageTests */,
5D80A2451F74DDFB00299BD5 /* Demo Swift CarthageUITests */,
5D80A2241F74DDFA00299BD5 /* Products */,
5DDFF7871F74E8CD006E4FAE /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -125,6 +129,14 @@
path = "Demo Swift CarthageUITests";
sourceTree = "<group>";
};
5DDFF7871F74E8CD006E4FAE /* Frameworks */ = {
isa = PBXGroup;
children = (
5DDFF7881F74E8CD006E4FAE /* Prelude.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -434,6 +446,10 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = G863BF9CVX;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
INFOPLIST_FILE = "Demo Swift Carthage/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.joelparkerhenderson.Demo-Swift-Carthage";
Expand All @@ -447,6 +463,10 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = G863BF9CVX;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
INFOPLIST_FILE = "Demo Swift Carthage/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.joelparkerhenderson.Demo-Swift-Carthage";
Expand Down Expand Up @@ -528,6 +548,7 @@
5D80A24D1F74DDFB00299BD5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5D80A24E1F74DDFB00299BD5 /* Build configuration list for PBXNativeTarget "Demo Swift CarthageTests" */ = {
isa = XCConfigurationList;
Expand All @@ -536,6 +557,7 @@
5D80A2501F74DDFB00299BD5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5D80A2511F74DDFB00299BD5 /* Build configuration list for PBXNativeTarget "Demo Swift CarthageUITests" */ = {
isa = XCConfigurationList;
Expand All @@ -544,6 +566,7 @@
5D80A2531F74DDFB00299BD5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
32 changes: 30 additions & 2 deletions README.md
Expand Up @@ -140,7 +140,35 @@ To use this project:
github "robrix/Prelude" "2.0.0"


## Create Run Script
## Link the framework

1. Go to the Xcode project "General" area.

1. Scroll down the section "Linked Frameworks and Libraries", with the text that says "Add frameworks &amp; libraries here".

1. Tap the "+" icon.

* A dialog opens that says "Choose frameworks and libraries to add".

* Tap the button "Add Other..."

1. Choose the framework.

* A file chooser opens.

* Navigate up a folder, and you see the "Carthage" folder.

* Open the folder "Carthage", then the folder "Build", then the folder "iOS".

* Tap the file "Prelude.framework" to highlight it.

* Tap "Open"

1. The section "Linked Frameworks and Libraries" now shows "Prelude.framework".



## Create the Run Script

1. Go to the Xcode project "Build Phases" settings area.

Expand All @@ -161,7 +189,7 @@ To use this project:
* Set the "Input Files" to `$(SRCROOT)/Carthage/Build/iOS/Prelude.framework`


## How to run
## Run

1. Run the project.

Expand Down

0 comments on commit 9fae1ac

Please sign in to comment.