Rebranding: replace Vector by Riot everywhere in the git and github repos

This commit is contained in:
giomfo 2017-03-08 10:24:21 +01:00
parent de4e4895fe
commit b21e386ba8
7 changed files with 58 additions and 58 deletions

View file

@ -1,4 +1,4 @@
Contributing code to Vector iOS Contributing code to Riot iOS
================================== ==================================
vector-ios follows the same pattern as https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.rst riot-ios follows the same pattern as https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.rst

View file

@ -3,11 +3,11 @@
source 'https://github.com/CocoaPods/Specs.git' source 'https://github.com/CocoaPods/Specs.git'
target "Vector" do target "Riot" do
# Different flavours of pods to MatrixKit # Different flavours of pods to MatrixKit
# The tagged version on which this version of Vector has been built # The tagged version on which this version of Riot has been built
pod 'MatrixKit', '0.4.7' pod 'MatrixKit', '0.4.7'
# The lastest release available on the CocoaPods repository # The lastest release available on the CocoaPods repository

View file

@ -1,10 +1,10 @@
Vector-ios Riot-ios
========== ==========
Vector/iOS is an iOS Matrix client. Riot/iOS is an iOS Matrix client.
.. image:: https://linkmaker.itunes.apple.com/images/badges/en-us/badge_appstore-lrg.svg .. image:: https://linkmaker.itunes.apple.com/images/badges/en-us/badge_appstore-lrg.svg
:target: https://itunes.apple.com/us/app/vector-open-source-collaboration/id1083446067?mt=8 :target: https://itunes.apple.com/us/app/riot-open-source-collaboration/id1083446067?mt=8
It is based on MatrixKit (https://github.com/matrix-org/matrix-ios-kit) and MatrixSDK (https://github.com/matrix-org/matrix-ios-sdk). It is based on MatrixKit (https://github.com/matrix-org/matrix-ios-kit) and MatrixSDK (https://github.com/matrix-org/matrix-ios-sdk).
@ -13,19 +13,19 @@ You can build the app from source as per below:
Build instructions Build instructions
================== ==================
Before opening the Vector Xcode workspace, you need to build it with the Before opening the Riot Xcode workspace, you need to build it with the
CocoaPods command:: CocoaPods command::
$ cd Vector $ cd Riot
$ pod install $ pod install
This will load all dependencies for the Vector source code, including MatrixKit This will load all dependencies for the Riot source code, including MatrixKit
and MatrixSDK. You will need an recent and updated (``pod update``) install of and MatrixSDK. You will need an recent and updated (``pod update``) install of
CocoaPods. CocoaPods.
Then, open ``Vector.xcworkspace`` with Xcode Then, open ``Riot.xcworkspace`` with Xcode
$ open Vector.xcworkspace $ open Riot.xcworkspace
Developing Developing
========== ==========

View file

@ -443,7 +443,7 @@
32C52BF81CBFF50C00863B33 /* RoomPreviewData.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RoomPreviewData.m; sourceTree = "<group>"; }; 32C52BF81CBFF50C00863B33 /* RoomPreviewData.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RoomPreviewData.m; sourceTree = "<group>"; };
32D200861C16C2B100A4E396 /* HomeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeViewController.h; sourceTree = "<group>"; }; 32D200861C16C2B100A4E396 /* HomeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeViewController.h; sourceTree = "<group>"; };
32D200871C16C2B100A4E396 /* HomeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HomeViewController.m; sourceTree = "<group>"; }; 32D200871C16C2B100A4E396 /* HomeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HomeViewController.m; sourceTree = "<group>"; };
32F2ABFC1CB5694B00BF205F /* Vector.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Vector.entitlements; sourceTree = "<group>"; }; 32F2ABFC1CB5694B00BF205F /* Riot.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Riot.entitlements; sourceTree = "<group>"; };
32F2E6191C230D4D003BDEA5 /* PublicRoomsDirectoryDataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PublicRoomsDirectoryDataSource.h; sourceTree = "<group>"; }; 32F2E6191C230D4D003BDEA5 /* PublicRoomsDirectoryDataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PublicRoomsDirectoryDataSource.h; sourceTree = "<group>"; };
32F2E61A1C230D4D003BDEA5 /* PublicRoomsDirectoryDataSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PublicRoomsDirectoryDataSource.m; sourceTree = "<group>"; }; 32F2E61A1C230D4D003BDEA5 /* PublicRoomsDirectoryDataSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PublicRoomsDirectoryDataSource.m; sourceTree = "<group>"; };
435C7E1A9BC3DE28D526540F /* Pods-Vector.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Vector.release.xcconfig"; path = "Pods/Target Support Files/Pods-Vector/Pods-Vector.release.xcconfig"; sourceTree = "<group>"; }; 435C7E1A9BC3DE28D526540F /* Pods-Vector.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Vector.release.xcconfig"; path = "Pods/Target Support Files/Pods-Vector/Pods-Vector.release.xcconfig"; sourceTree = "<group>"; };
@ -725,7 +725,7 @@
F08BE09D1B87025B00C480FB /* EventFormatter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EventFormatter.m; sourceTree = "<group>"; }; F08BE09D1B87025B00C480FB /* EventFormatter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EventFormatter.m; sourceTree = "<group>"; };
F08BE0A01B87064000C480FB /* RoomDataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RoomDataSource.h; sourceTree = "<group>"; }; F08BE0A01B87064000C480FB /* RoomDataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RoomDataSource.h; sourceTree = "<group>"; };
F08BE0A11B87064000C480FB /* RoomDataSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RoomDataSource.m; sourceTree = "<group>"; }; F08BE0A11B87064000C480FB /* RoomDataSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RoomDataSource.m; sourceTree = "<group>"; };
F094A9A21B78D8F000B1FBBF /* Vector.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Vector.app; sourceTree = BUILT_PRODUCTS_DIR; }; F094A9A21B78D8F000B1FBBF /* Riot.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Riot.app; sourceTree = BUILT_PRODUCTS_DIR; };
F094A9A61B78D8F000B1FBBF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; F094A9A61B78D8F000B1FBBF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
F094A9A71B78D8F000B1FBBF /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; F094A9A71B78D8F000B1FBBF /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
F094A9A91B78D8F000B1FBBF /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; F094A9A91B78D8F000B1FBBF /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
@ -733,7 +733,7 @@
F094A9B31B78D8F000B1FBBF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; F094A9B31B78D8F000B1FBBF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
F094A9B51B78D8F000B1FBBF /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; F094A9B51B78D8F000B1FBBF /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
F094A9B81B78D8F000B1FBBF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; }; F094A9B81B78D8F000B1FBBF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
F094A9BE1B78D8F000B1FBBF /* VectorTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = VectorTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; F094A9BE1B78D8F000B1FBBF /* RiotTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RiotTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
F094A9C31B78D8F000B1FBBF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; F094A9C31B78D8F000B1FBBF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
F094A9C41B78D8F000B1FBBF /* VectorTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VectorTests.m; sourceTree = "<group>"; }; F094A9C41B78D8F000B1FBBF /* VectorTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VectorTests.m; sourceTree = "<group>"; };
F094AA031B78E3D400B1FBBF /* empty.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = empty.mm; sourceTree = "<group>"; }; F094AA031B78E3D400B1FBBF /* empty.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = empty.mm; sourceTree = "<group>"; };
@ -1452,8 +1452,8 @@
F094A9A31B78D8F000B1FBBF /* Products */ = { F094A9A31B78D8F000B1FBBF /* Products */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
F094A9A21B78D8F000B1FBBF /* Vector.app */, F094A9A21B78D8F000B1FBBF /* Riot.app */,
F094A9BE1B78D8F000B1FBBF /* VectorTests.xctest */, F094A9BE1B78D8F000B1FBBF /* RiotTests.xctest */,
); );
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
@ -1461,7 +1461,7 @@
F094A9A41B78D8F000B1FBBF /* Vector */ = { F094A9A41B78D8F000B1FBBF /* Vector */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
32F2ABFC1CB5694B00BF205F /* Vector.entitlements */, 32F2ABFC1CB5694B00BF205F /* Riot.entitlements */,
F094AA071B78E42600B1FBBF /* API */, F094AA071B78E42600B1FBBF /* API */,
F094AA0A1B78E42600B1FBBF /* Assets */, F094AA0A1B78E42600B1FBBF /* Assets */,
F0C34CB51C17145F00C36F09 /* Categories */, F0C34CB51C17145F00C36F09 /* Categories */,
@ -1728,9 +1728,9 @@
/* End PBXGroup section */ /* End PBXGroup section */
/* Begin PBXNativeTarget section */ /* Begin PBXNativeTarget section */
F094A9A11B78D8F000B1FBBF /* Vector */ = { F094A9A11B78D8F000B1FBBF /* Riot */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = F094A9C81B78D8F000B1FBBF /* Build configuration list for PBXNativeTarget "Vector" */; buildConfigurationList = F094A9C81B78D8F000B1FBBF /* Build configuration list for PBXNativeTarget "Riot" */;
buildPhases = ( buildPhases = (
9131C24971B46D743282FCF6 /* [CP] Check Pods Manifest.lock */, 9131C24971B46D743282FCF6 /* [CP] Check Pods Manifest.lock */,
F094A99E1B78D8F000B1FBBF /* Sources */, F094A99E1B78D8F000B1FBBF /* Sources */,
@ -1743,14 +1743,14 @@
); );
dependencies = ( dependencies = (
); );
name = Vector; name = Riot;
productName = Vector; productName = Vector;
productReference = F094A9A21B78D8F000B1FBBF /* Vector.app */; productReference = F094A9A21B78D8F000B1FBBF /* Riot.app */;
productType = "com.apple.product-type.application"; productType = "com.apple.product-type.application";
}; };
F094A9BD1B78D8F000B1FBBF /* VectorTests */ = { F094A9BD1B78D8F000B1FBBF /* RiotTests */ = {
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = F094A9CB1B78D8F000B1FBBF /* Build configuration list for PBXNativeTarget "VectorTests" */; buildConfigurationList = F094A9CB1B78D8F000B1FBBF /* Build configuration list for PBXNativeTarget "RiotTests" */;
buildPhases = ( buildPhases = (
F094A9BA1B78D8F000B1FBBF /* Sources */, F094A9BA1B78D8F000B1FBBF /* Sources */,
F094A9BB1B78D8F000B1FBBF /* Frameworks */, F094A9BB1B78D8F000B1FBBF /* Frameworks */,
@ -1761,9 +1761,9 @@
dependencies = ( dependencies = (
F094A9C01B78D8F000B1FBBF /* PBXTargetDependency */, F094A9C01B78D8F000B1FBBF /* PBXTargetDependency */,
); );
name = VectorTests; name = RiotTests;
productName = VectorTests; productName = VectorTests;
productReference = F094A9BE1B78D8F000B1FBBF /* VectorTests.xctest */; productReference = F094A9BE1B78D8F000B1FBBF /* RiotTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test"; productType = "com.apple.product-type.bundle.unit-test";
}; };
/* End PBXNativeTarget section */ /* End PBXNativeTarget section */
@ -1792,7 +1792,7 @@
}; };
}; };
}; };
buildConfigurationList = F094A99D1B78D8F000B1FBBF /* Build configuration list for PBXProject "Vector" */; buildConfigurationList = F094A99D1B78D8F000B1FBBF /* Build configuration list for PBXProject "Riot" */;
compatibilityVersion = "Xcode 3.2"; compatibilityVersion = "Xcode 3.2";
developmentRegion = English; developmentRegion = English;
hasScannedForEncodings = 0; hasScannedForEncodings = 0;
@ -1805,8 +1805,8 @@
projectDirPath = ""; projectDirPath = "";
projectRoot = ""; projectRoot = "";
targets = ( targets = (
F094A9A11B78D8F000B1FBBF /* Vector */, F094A9A11B78D8F000B1FBBF /* Riot */,
F094A9BD1B78D8F000B1FBBF /* VectorTests */, F094A9BD1B78D8F000B1FBBF /* RiotTests */,
); );
}; };
/* End PBXProject section */ /* End PBXProject section */
@ -2287,7 +2287,7 @@
/* Begin PBXTargetDependency section */ /* Begin PBXTargetDependency section */
F094A9C01B78D8F000B1FBBF /* PBXTargetDependency */ = { F094A9C01B78D8F000B1FBBF /* PBXTargetDependency */ = {
isa = PBXTargetDependency; isa = PBXTargetDependency;
target = F094A9A11B78D8F000B1FBBF /* Vector */; target = F094A9A11B78D8F000B1FBBF /* Riot */;
targetProxy = F094A9BF1B78D8F000B1FBBF /* PBXContainerItemProxy */; targetProxy = F094A9BF1B78D8F000B1FBBF /* PBXContainerItemProxy */;
}; };
/* End PBXTargetDependency section */ /* End PBXTargetDependency section */
@ -2473,7 +2473,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.matrix.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_BUNDLE_IDENTIFIER = "org.matrix.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Vector.app/Vector"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Riot.app/Riot";
}; };
name = Debug; name = Debug;
}; };
@ -2490,14 +2490,14 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.matrix.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_BUNDLE_IDENTIFIER = "org.matrix.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Vector.app/Vector"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Riot.app/Riot";
}; };
name = Release; name = Release;
}; };
/* End XCBuildConfiguration section */ /* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */ /* Begin XCConfigurationList section */
F094A99D1B78D8F000B1FBBF /* Build configuration list for PBXProject "Vector" */ = { F094A99D1B78D8F000B1FBBF /* Build configuration list for PBXProject "Riot" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
F094A9C61B78D8F000B1FBBF /* Debug */, F094A9C61B78D8F000B1FBBF /* Debug */,
@ -2506,7 +2506,7 @@
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
F094A9C81B78D8F000B1FBBF /* Build configuration list for PBXNativeTarget "Vector" */ = { F094A9C81B78D8F000B1FBBF /* Build configuration list for PBXNativeTarget "Riot" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
F094A9C91B78D8F000B1FBBF /* Debug */, F094A9C91B78D8F000B1FBBF /* Debug */,
@ -2515,7 +2515,7 @@
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release; defaultConfigurationName = Release;
}; };
F094A9CB1B78D8F000B1FBBF /* Build configuration list for PBXNativeTarget "VectorTests" */ = { F094A9CB1B78D8F000B1FBBF /* Build configuration list for PBXNativeTarget "RiotTests" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;
buildConfigurations = ( buildConfigurations = (
F094A9CC1B78D8F000B1FBBF /* Debug */, F094A9CC1B78D8F000B1FBBF /* Debug */,

View file

@ -15,9 +15,9 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "F094A9A11B78D8F000B1FBBF" BlueprintIdentifier = "F094A9A11B78D8F000B1FBBF"
BuildableName = "Vector.app" BuildableName = "Riot.app"
BlueprintName = "Vector" BlueprintName = "Riot"
ReferencedContainer = "container:Vector.xcodeproj"> ReferencedContainer = "container:Riot.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildActionEntry> </BuildActionEntry>
<BuildActionEntry <BuildActionEntry
@ -29,9 +29,9 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "F094A9BD1B78D8F000B1FBBF" BlueprintIdentifier = "F094A9BD1B78D8F000B1FBBF"
BuildableName = "VectorTests.xctest" BuildableName = "RiotTests.xctest"
BlueprintName = "VectorTests" BlueprintName = "RiotTests"
ReferencedContainer = "container:Vector.xcodeproj"> ReferencedContainer = "container:Riot.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildActionEntry> </BuildActionEntry>
</BuildActionEntries> </BuildActionEntries>
@ -47,9 +47,9 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "F094A9BD1B78D8F000B1FBBF" BlueprintIdentifier = "F094A9BD1B78D8F000B1FBBF"
BuildableName = "VectorTests.xctest" BuildableName = "RiotTests.xctest"
BlueprintName = "VectorTests" BlueprintName = "RiotTests"
ReferencedContainer = "container:Vector.xcodeproj"> ReferencedContainer = "container:Riot.xcodeproj">
</BuildableReference> </BuildableReference>
</TestableReference> </TestableReference>
</Testables> </Testables>
@ -57,9 +57,9 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "F094A9A11B78D8F000B1FBBF" BlueprintIdentifier = "F094A9A11B78D8F000B1FBBF"
BuildableName = "Vector.app" BuildableName = "Riot.app"
BlueprintName = "Vector" BlueprintName = "Riot"
ReferencedContainer = "container:Vector.xcodeproj"> ReferencedContainer = "container:Riot.xcodeproj">
</BuildableReference> </BuildableReference>
</MacroExpansion> </MacroExpansion>
<AdditionalOptions> <AdditionalOptions>
@ -80,9 +80,9 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "F094A9A11B78D8F000B1FBBF" BlueprintIdentifier = "F094A9A11B78D8F000B1FBBF"
BuildableName = "Vector.app" BuildableName = "Riot.app"
BlueprintName = "Vector" BlueprintName = "Riot"
ReferencedContainer = "container:Vector.xcodeproj"> ReferencedContainer = "container:Riot.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildableProductRunnable> </BuildableProductRunnable>
<AdditionalOptions> <AdditionalOptions>
@ -99,9 +99,9 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "F094A9A11B78D8F000B1FBBF" BlueprintIdentifier = "F094A9A11B78D8F000B1FBBF"
BuildableName = "Vector.app" BuildableName = "Riot.app"
BlueprintName = "Vector" BlueprintName = "Riot"
ReferencedContainer = "container:Vector.xcodeproj"> ReferencedContainer = "container:Riot.xcodeproj">
</BuildableReference> </BuildableReference>
</BuildableProductRunnable> </BuildableProductRunnable>
</ProfileAction> </ProfileAction>

View file

@ -6,7 +6,7 @@ builddir="build"
outdir="out" outdir="out"
sdk="iphoneos" sdk="iphoneos"
basecmd="xcodebuild -scheme Vector -workspace Vector.xcworkspace -configuration Release -sdk $sdk -derivedDataPath $builddir" basecmd="xcodebuild -scheme Riot -workspace Riot.xcworkspace -configuration Release -sdk $sdk -derivedDataPath $builddir"
vars="" vars=""
# Clean the Xcode build folder to avoid caching issues that happens sometimes # Clean the Xcode build folder to avoid caching issues that happens sometimes
@ -23,19 +23,19 @@ fi
if [ "$1" == 'clean' ] if [ "$1" == 'clean' ]
then then
if [ -d "Vector.xcworkspace" ] if [ -d "Riot.xcworkspace" ]
then then
$basecmd clean $basecmd clean
fi fi
rm -r "$builddir" "$outdir" || true rm -r "$builddir" "$outdir" || true
else else
method=$1 method=$1
if [ ! -d "Vector.xcworkspace" ] if [ ! -d "Riot.xcworkspace" ]
then then
echo "Please run pod install first" echo "Please run pod install first"
exit 1 exit 1
fi fi
$basecmd -archivePath "out/Vector.xcarchive" archive GCC_PREPROCESSOR_DEFINITIONS="\$(GCC_PREPROCESSOR_DEFINITIONS) $vars" $basecmd -archivePath "out/Riot.xcarchive" archive GCC_PREPROCESSOR_DEFINITIONS="\$(GCC_PREPROCESSOR_DEFINITIONS) $vars"
exportOptionsPlist=`mktemp` exportOptionsPlist=`mktemp`
cat > $exportOptionsPlist <<EOD cat > $exportOptionsPlist <<EOD
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
@ -47,6 +47,6 @@ else
</dict> </dict>
</plist> </plist>
EOD EOD
xcodebuild -exportArchive -archivePath "out/Vector.xcarchive" -exportPath out -exportOptionsPlist "$exportOptionsPlist" xcodebuild -exportArchive -archivePath "out/Riot.xcarchive" -exportPath out -exportOptionsPlist "$exportOptionsPlist"
rm "$exportOptionsPlist" rm "$exportOptionsPlist"
fi fi