Skip to content

Commit 9c52658

Browse files
committed
ci: update Apple dev team ID to update the org
We are trasnferring the Apple app to the new Switzerland based Apple development organization/team from the old Singapore one, and to make this work we also need to update the development team ID. This should fix the following failure: ``` Could not find App ID with bundle identifier 'im.status.ethereum' You can easily generate a new App ID on the Developer Portal using 'produce': ``` https://ci.infra.status.im/job/status-mobile/job/platforms/job/ios/854/console Signed-off-by: Jakub Sokołowski <jakub@status.im>
1 parent 30dc506 commit 9c52658

File tree

2 files changed

+74
-22
lines changed

2 files changed

+74
-22
lines changed

doc/STARTING_GUIDE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,17 @@ Steps:
7171
2. [Setup Git to use your GPG key](https://help.github.com/en/github/authenticating-to-github/telling-git-about-your-signing-key)
7272
3. [Setup Git to sign commits](https://help.github.com/en/github/authenticating-to-github/signing-commits)
7373
4. [Setup GitHub to validate commits](https://help.github.com/en/github/authenticating-to-github/adding-a-new-gpg-key-to-your-github-account)
74+
75+
## Physical iOS Device
76+
77+
To use a physical iPhone your device UDID must be added to provisioning profiles and your Apple account invited as Developer to Status team.
78+
79+
1. [Get your UDID of your iPhone.](https://www.extentia.com/post/finding-the-udid-of-an-ios-device)
80+
2. Request from someone with access like @cammellos or @jakubgs to
81+
- Add the UDID to development devices on Apple Developer Portal.
82+
- Invite your Apple account to be Developer in Status team.
83+
3. Run a build in XCode using the project from `status-mobile/ios` directory.
84+
- You might see error: `Select a development team in the Signing & Capabilities editor`
85+
- Select `Status Research & Development GmbH` as the development team and rebuild again.
86+
87+
Once build finishes Status should start on your iPhone with its logs in terminal running `make run-metro`.

ios/StatusIm.xcodeproj/project.pbxproj

Lines changed: 60 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 52;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -319,6 +319,20 @@
319319
name = Frameworks;
320320
sourceTree = "<group>";
321321
};
322+
D0D5C8D06825D33BA2D2121E /* Pods */ = {
323+
isa = PBXGroup;
324+
children = (
325+
BB42B2C150BA8A2AA109EA43 /* Pods-Status-StatusIm.debug.xcconfig */,
326+
45E0DC52E25A332264874B0F /* Pods-Status-StatusIm.release.xcconfig */,
327+
7AFBE28450C0239119FBDBA2 /* Pods-Status-StatusIm-StatusImTests.debug.xcconfig */,
328+
B650FC314F823A68E7CE11D5 /* Pods-Status-StatusIm-StatusImTests.release.xcconfig */,
329+
FBF6AB84EBC2085D28C3CDEF /* Pods-Status-StatusImPR.debug.xcconfig */,
330+
BF23313BEFBC84C6BB7E7677 /* Pods-Status-StatusImPR.release.xcconfig */,
331+
);
332+
name = Pods;
333+
path = Pods;
334+
sourceTree = "<group>";
335+
};
322336
/* End PBXGroup section */
323337

324338
/* Begin PBXNativeTarget section */
@@ -397,12 +411,12 @@
397411
TargetAttributes = {
398412
00E356ED1AD99517003FC87E = {
399413
CreatedOnToolsVersion = 6.2;
400-
DevelopmentTeam = DTX7Z4U3YA;
414+
DevelopmentTeam = 8B5X2M6H2Y;
401415
ProvisioningStyle = Manual;
402416
TestTargetID = 13B07F861A680F5B00A75B9A;
403417
};
404418
13B07F861A680F5B00A75B9A = {
405-
DevelopmentTeam = DTX7Z4U3YA;
419+
DevelopmentTeam = 8B5X2M6H2Y;
406420
LastSwiftMigration = 1140;
407421
ProvisioningStyle = Manual;
408422
SystemCapabilities = {
@@ -421,7 +435,7 @@
421435
};
422436
};
423437
3AAD2AB924A3A60E0075D594 = {
424-
DevelopmentTeam = DTX7Z4U3YA;
438+
DevelopmentTeam = 8B5X2M6H2Y;
425439
ProvisioningStyle = Manual;
426440
};
427441
};
@@ -751,7 +765,7 @@
751765
BUNDLE_LOADER = "$(TEST_HOST)";
752766
CLANG_ENABLE_MODULES = YES;
753767
CODE_SIGN_IDENTITY = "iPhone Developer";
754-
DEVELOPMENT_TEAM = DTX7Z4U3YA;
768+
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
755769
FRAMEWORK_SEARCH_PATHS = (
756770
"$(SDKROOT)/Developer/Library/Frameworks",
757771
"$(inherited)",
@@ -762,7 +776,11 @@
762776
);
763777
INFOPLIST_FILE = StatusImTests/Info.plist;
764778
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
765-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
779+
LD_RUNPATH_SEARCH_PATHS = (
780+
"$(inherited)",
781+
"@executable_path/Frameworks",
782+
"@loader_path/Frameworks",
783+
);
766784
LIBRARY_SEARCH_PATHS = "$(inherited)";
767785
PRODUCT_BUNDLE_IDENTIFIER = im.status.ethereum;
768786
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -785,14 +803,18 @@
785803
CLANG_ENABLE_MODULES = YES;
786804
CODE_SIGN_IDENTITY = "iPhone Distribution";
787805
COPY_PHASE_STRIP = NO;
788-
DEVELOPMENT_TEAM = DTX7Z4U3YA;
806+
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
789807
FRAMEWORK_SEARCH_PATHS = (
790808
"$(SDKROOT)/Developer/Library/Frameworks",
791809
"$(inherited)",
792810
);
793811
INFOPLIST_FILE = StatusImTests/Info.plist;
794812
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
795-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
813+
LD_RUNPATH_SEARCH_PATHS = (
814+
"$(inherited)",
815+
"@executable_path/Frameworks",
816+
"@loader_path/Frameworks",
817+
);
796818
LIBRARY_SEARCH_PATHS = "$(inherited)";
797819
PRODUCT_BUNDLE_IDENTIFIER = im.status.ethereum;
798820
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -812,12 +834,12 @@
812834
BUNDLE_ID_SUFFIX = .debug;
813835
CLANG_ENABLE_MODULES = YES;
814836
CODE_SIGN_ENTITLEMENTS = StatusIm/StatusIm.entitlements;
815-
CODE_SIGN_IDENTITY = "iPhone Developer";
837+
CODE_SIGN_IDENTITY = "iPhone Distribution";
816838
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
817839
CODE_SIGN_STYLE = Manual;
818840
CUSTOM_PRODUCT_NAME = "Status Debug";
819841
DEAD_CODE_STRIPPING = YES;
820-
DEVELOPMENT_TEAM = DTX7Z4U3YA;
842+
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
821843
EXCLUDED_ARCHS = "";
822844
"EXCLUDED_ARCHS[sdk=iphoneos*]" = x86_64;
823845
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -851,7 +873,11 @@
851873
);
852874
INFOPLIST_FILE = StatusIm/Info.plist;
853875
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
854-
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited) @executable_path/Frameworks";
876+
LD_RUNPATH_SEARCH_PATHS = (
877+
/usr/lib/swift,
878+
"$(inherited)",
879+
"@executable_path/Frameworks",
880+
);
855881
LIBRARY_SEARCH_PATHS = (
856882
"$(inherited)",
857883
"$(PROJECT_DIR)",
@@ -882,12 +908,12 @@
882908
BUNDLE_ID_SUFFIX = "";
883909
CLANG_ENABLE_MODULES = YES;
884910
CODE_SIGN_ENTITLEMENTS = StatusIm/StatusIm.entitlements;
885-
CODE_SIGN_IDENTITY = "iPhone Distribution";
911+
CODE_SIGN_IDENTITY = "iPhone Developer";
886912
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
887913
CODE_SIGN_STYLE = Manual;
888914
CUSTOM_PRODUCT_NAME = Status;
889915
DEAD_CODE_STRIPPING = YES;
890-
DEVELOPMENT_TEAM = DTX7Z4U3YA;
916+
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
891917
EXCLUDED_ARCHS = "";
892918
FRAMEWORK_SEARCH_PATHS = (
893919
"$(PROJECT_DIR)/../modules/react-native-status/ios/RCTStatus",
@@ -913,7 +939,11 @@
913939
);
914940
INFOPLIST_FILE = StatusIm/Info.plist;
915941
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
916-
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited) @executable_path/Frameworks";
942+
LD_RUNPATH_SEARCH_PATHS = (
943+
/usr/lib/swift,
944+
"$(inherited)",
945+
"@executable_path/Frameworks",
946+
);
917947
LIBRARY_SEARCH_PATHS = (
918948
"$(inherited)",
919949
"$(PROJECT_DIR)",
@@ -947,7 +977,7 @@
947977
CODE_SIGN_STYLE = Manual;
948978
CUSTOM_PRODUCT_NAME = "Status Debug";
949979
DEAD_CODE_STRIPPING = YES;
950-
DEVELOPMENT_TEAM = DTX7Z4U3YA;
980+
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
951981
FRAMEWORK_SEARCH_PATHS = (
952982
"$(PROJECT_DIR)/../modules/react-native-status/ios/RCTStatus",
953983
"$(inherited)",
@@ -978,7 +1008,11 @@
9781008
);
9791009
INFOPLIST_FILE = StatusImPR/Info.plist;
9801010
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
981-
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited) @executable_path/Frameworks";
1011+
LD_RUNPATH_SEARCH_PATHS = (
1012+
/usr/lib/swift,
1013+
"$(inherited)",
1014+
"@executable_path/Frameworks",
1015+
);
9821016
LIBRARY_SEARCH_PATHS = (
9831017
"$(inherited)",
9841018
"$(PROJECT_DIR)",
@@ -990,7 +1024,7 @@
9901024
);
9911025
PRODUCT_BUNDLE_IDENTIFIER = im.status.ethereum.pr;
9921026
PRODUCT_NAME = "Status PR";
993-
PROVISIONING_PROFILE_SPECIFIER = "match AdHoc im.status.ethereum.pr";
1027+
PROVISIONING_PROFILE_SPECIFIER = "match Development im.status.ethereum.pr";
9941028
SWIFT_OBJC_BRIDGING_HEADER = "StatusIm-Bridging-Header.h";
9951029
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
9961030
SWIFT_VERSION = 5.0;
@@ -1007,12 +1041,12 @@
10071041
BUNDLE_ID_SUFFIX = "";
10081042
CLANG_ENABLE_MODULES = YES;
10091043
CODE_SIGN_ENTITLEMENTS = StatusImPR/StatusImPR.entitlements;
1010-
CODE_SIGN_IDENTITY = "iPhone Distribution";
1044+
CODE_SIGN_IDENTITY = "iPhone Developer";
10111045
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
10121046
CODE_SIGN_STYLE = Manual;
10131047
CUSTOM_PRODUCT_NAME = Status;
10141048
DEAD_CODE_STRIPPING = YES;
1015-
DEVELOPMENT_TEAM = DTX7Z4U3YA;
1049+
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
10161050
FRAMEWORK_SEARCH_PATHS = (
10171051
"$(PROJECT_DIR)/../modules/react-native-status/ios/RCTStatus",
10181052
"$(inherited)",
@@ -1037,7 +1071,11 @@
10371071
);
10381072
INFOPLIST_FILE = StatusImPR/Info.plist;
10391073
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
1040-
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited) @executable_path/Frameworks";
1074+
LD_RUNPATH_SEARCH_PATHS = (
1075+
/usr/lib/swift,
1076+
"$(inherited)",
1077+
"@executable_path/Frameworks",
1078+
);
10411079
LIBRARY_SEARCH_PATHS = (
10421080
"$(inherited)",
10431081
"$(PROJECT_DIR)",
@@ -1090,7 +1128,7 @@
10901128
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
10911129
CODE_SIGN_STYLE = Manual;
10921130
COPY_PHASE_STRIP = NO;
1093-
DEVELOPMENT_TEAM = DTX7Z4U3YA;
1131+
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
10941132
ENABLE_BITCODE = NO;
10951133
ENABLE_STRICT_OBJC_MSGSEND = YES;
10961134
ENABLE_TESTABILITY = YES;
@@ -1173,7 +1211,7 @@
11731211
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
11741212
CODE_SIGN_STYLE = Manual;
11751213
COPY_PHASE_STRIP = YES;
1176-
DEVELOPMENT_TEAM = DTX7Z4U3YA;
1214+
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
11771215
ENABLE_BITCODE = NO;
11781216
ENABLE_NS_ASSERTIONS = NO;
11791217
ENABLE_STRICT_OBJC_MSGSEND = YES;

0 commit comments

Comments
 (0)