carthage update --platform ios
-
create new project "Test"
XCode: File > New > Project > Cross-platform > Empty > Named > "Test"
-
setting Carthage
command: at project directory
echo github \"ReactiveX/RxSwift\" > Cartfile carthage update --platform iOS
-
create Playground "MyTest.playground"
XCode: File > New > Playground > Blank > Named > Select Project Directory
XCode: File > Add File to "Test" > Select "MyTest.playground"
-
create workspace "Test.xcworkspace"
XCode: Click "Test"
XCode: File > Save As Workspace > Named > Select Project Directory
Close XCode
Open "Test.xcworkspace"
-
copy framework
XCode: File > New > Target > Cross-platform > Aggregate > Named > "TestAggregate"
TARGETS > TestAggregate > Build Phases > + > New Run Script Phase > input
cp -rv "${SRCROOT}/Carthage/Build/iOS/" "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
build the project ⌘B