Skip to content

Commit 948801e

Browse files
Install OCMock through pods
1 parent d05ff2f commit 948801e

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

InstabugSample/ios/InstabugSample.xcodeproj/project.pbxproj

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
BAD36E2F22F19788007F5E74 /* InstabugFeatureRequestsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BAD36E2E22F19788007F5E74 /* InstabugFeatureRequestsTests.m */; };
2121
BAD36E3122F19973007F5E74 /* InstabugRepliesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BAD36E3022F19973007F5E74 /* InstabugRepliesTests.m */; };
2222
BAD36E3322F19B1B007F5E74 /* InstabugSurveysTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BAD36E3222F19B1B007F5E74 /* InstabugSurveysTests.m */; };
23-
C006102922E9EBCA00EDC852 /* libOCMock.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C006102822E9EBCA00EDC852 /* libOCMock.a */; };
2423
C0AB369625854A6100F1E21E /* InstabugAPMTests.m in Sources */ = {isa = PBXBuildFile; fileRef = C0AB369525854A6100F1E21E /* InstabugAPMTests.m */; };
2524
/* End PBXBuildFile section */
2625

@@ -63,7 +62,6 @@
6362
BAD36E2E22F19788007F5E74 /* InstabugFeatureRequestsTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugFeatureRequestsTests.m; sourceTree = "<group>"; };
6463
BAD36E3022F19973007F5E74 /* InstabugRepliesTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugRepliesTests.m; sourceTree = "<group>"; };
6564
BAD36E3222F19B1B007F5E74 /* InstabugSurveysTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugSurveysTests.m; sourceTree = "<group>"; };
66-
C006102822E9EBCA00EDC852 /* libOCMock.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libOCMock.a; path = usr/lib/libOCMock.a; sourceTree = "<group>"; };
6765
C0AB369525854A6100F1E21E /* InstabugAPMTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugAPMTests.m; sourceTree = "<group>"; };
6866
C74E4010ABE7AFC7DB5E79DC /* Pods-InstabugSampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InstabugSampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InstabugSampleTests/Pods-InstabugSampleTests.debug.xcconfig"; sourceTree = "<group>"; };
6967
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
@@ -74,7 +72,6 @@
7472
isa = PBXFrameworksBuildPhase;
7573
buildActionMask = 2147483647;
7674
files = (
77-
C006102922E9EBCA00EDC852 /* libOCMock.a in Frameworks */,
7875
39B75062AA5F42B6E4C8E3C7 /* libPods-InstabugSampleTests.a in Frameworks */,
7976
);
8077
runOnlyForDeploymentPostprocessing = 0;
@@ -132,7 +129,6 @@
132129
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
133130
isa = PBXGroup;
134131
children = (
135-
C006102822E9EBCA00EDC852 /* libOCMock.a */,
136132
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
137133
A0EF1FBF0176E13B30EA2D29 /* libPods-InstabugSample.a */,
138134
7A03A15E2685C1231729CA8B /* libPods-InstabugSampleTests.a */,
@@ -221,6 +217,7 @@
221217
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
222218
21BA34F4E1FA153B4E4FB519 /* Upload Sourcemap */,
223219
A4F6B49E8609FD1652D0F43E /* [CP] Embed Pods Frameworks */,
220+
FE69A7F8F5762FFBE1CCA9AC /* [CP-User] [instabug-reactnative] Upload Sourcemap */,
224221
);
225222
buildRules = (
226223
);
@@ -402,6 +399,16 @@
402399
shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n";
403400
showEnvVarsInLog = 0;
404401
};
402+
FE69A7F8F5762FFBE1CCA9AC /* [CP-User] [instabug-reactnative] Upload Sourcemap */ = {
403+
isa = PBXShellScriptBuildPhase;
404+
buildActionMask = 2147483647;
405+
files = (
406+
);
407+
name = "[CP-User] [instabug-reactnative] Upload Sourcemap";
408+
runOnlyForDeploymentPostprocessing = 0;
409+
shellPath = /bin/sh;
410+
shellScript = "bash \"../node_modules/instabug-reactnative/ios/upload_sourcemap.sh\"\n";
411+
};
405412
/* End PBXShellScriptBuildPhase section */
406413

407414
/* Begin PBXSourcesBuildPhase section */

InstabugSample/ios/Podfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ target 'InstabugSample' do
3131
target 'InstabugSampleTests' do
3232
inherit! :search_paths
3333
# Pods for testing
34+
pod 'OCMock'
3435
end
3536

3637
use_native_modules!
-2.06 MB
Binary file not shown.

0 commit comments

Comments
 (0)