Skip to content

Commit 87c29bb

Browse files
authored
Update sample project (#430)
* Update sample project * Remove signing team
1 parent bf9f2a5 commit 87c29bb

File tree

6 files changed

+99
-20
lines changed

6 files changed

+99
-20
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ xcuserdata/
1515

1616
## Other
1717
*.moved-aside
18-
*.xcuserstate
18+
*.xcuserstate
19+
20+
Podfile.lock
21+
Pods/

Sample/Instabug Demo.xcodeproj/project.pbxproj

Lines changed: 65 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,10 @@
2121
54B011BC1D902CA9002AF597 /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 54B011BB1D902CA9002AF597 /* CoreMedia.framework */; };
2222
54B011C11D9110F5002AF597 /* UIViewController+DefaultAlertController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54B011C01D9110F5002AF597 /* UIViewController+DefaultAlertController.swift */; };
2323
54B011C41D911199002AF597 /* UIAlertAction+DefaultAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54B011C31D911199002AF597 /* UIAlertAction+DefaultAction.swift */; };
24-
71A1D49F20FF88040082B09F /* Instabug.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71A1D49E20FF88040082B09F /* Instabug.framework */; };
25-
71A1D4A020FF88040082B09F /* Instabug.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 71A1D49E20FF88040082B09F /* Instabug.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
2624
71EB748D20EB9B0300C3918F /* SettingsTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71EB748C20EB9B0300C3918F /* SettingsTableViewController.swift */; };
25+
DF7521262B991D851FC8327E /* Pods_Instabug_Demo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A8BA50C54961C153E2212AD9 /* Pods_Instabug_Demo.framework */; };
2726
/* End PBXBuildFile section */
2827

29-
/* Begin PBXCopyFilesBuildPhase section */
30-
71A1D49420FF7E5A0082B09F /* Embed Frameworks */ = {
31-
isa = PBXCopyFilesBuildPhase;
32-
buildActionMask = 2147483647;
33-
dstPath = "";
34-
dstSubfolderSpec = 10;
35-
files = (
36-
71A1D4A020FF88040082B09F /* Instabug.framework in Embed Frameworks */,
37-
);
38-
name = "Embed Frameworks";
39-
runOnlyForDeploymentPostprocessing = 0;
40-
};
41-
/* End PBXCopyFilesBuildPhase section */
42-
4328
/* Begin PBXFileReference section */
4429
54B011841D901660002AF597 /* Instabug Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Instabug Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; };
4530
54B0118B1D901660002AF597 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@@ -60,6 +45,9 @@
6045
71A1D48C20FF7DF70082B09F /* Instabug.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Instabug.framework; path = "../../../Downloads/Instabug/Instabug-SDK/Instabug.framework"; sourceTree = "<group>"; };
6146
71A1D49E20FF88040082B09F /* Instabug.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Instabug.framework; path = ../../Instabug.framework; sourceTree = "<group>"; };
6247
71EB748C20EB9B0300C3918F /* SettingsTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsTableViewController.swift; sourceTree = "<group>"; };
48+
9CF172BA0D62F8CCA2DA6EC2 /* Pods-Instabug Demo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Instabug Demo.debug.xcconfig"; path = "Target Support Files/Pods-Instabug Demo/Pods-Instabug Demo.debug.xcconfig"; sourceTree = "<group>"; };
49+
A8BA50C54961C153E2212AD9 /* Pods_Instabug_Demo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Instabug_Demo.framework; sourceTree = BUILT_PRODUCTS_DIR; };
50+
BEB34BCB094B980708CC594C /* Pods-Instabug Demo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Instabug Demo.release.xcconfig"; path = "Target Support Files/Pods-Instabug Demo/Pods-Instabug Demo.release.xcconfig"; sourceTree = "<group>"; };
6351
/* End PBXFileReference section */
6452

6553
/* Begin PBXFrameworksBuildPhase section */
@@ -70,11 +58,11 @@
7058
54B011BC1D902CA9002AF597 /* CoreMedia.framework in Frameworks */,
7159
54B011B21D9018CB002AF597 /* UIKit.framework in Frameworks */,
7260
54B011B01D9018C3002AF597 /* CoreGraphics.framework in Frameworks */,
73-
71A1D49F20FF88040082B09F /* Instabug.framework in Frameworks */,
7461
54B011AE1D9018BD002AF597 /* SystemConfiguration.framework in Frameworks */,
7562
54B011AC1D9018B5002AF597 /* CoreMotion.framework in Frameworks */,
7663
54B011AA1D9018AE002AF597 /* CoreTelephony.framework in Frameworks */,
7764
54B011A81D9018A4002AF597 /* AVFoundation.framework in Frameworks */,
65+
DF7521262B991D851FC8327E /* Pods_Instabug_Demo.framework in Frameworks */,
7866
);
7967
runOnlyForDeploymentPostprocessing = 0;
8068
};
@@ -95,6 +83,7 @@
9583
54B011861D901660002AF597 /* Instabug Demo */,
9684
54B011851D901660002AF597 /* Products */,
9785
54B011A61D9018A4002AF597 /* Frameworks */,
86+
C6633F015D1ABC239B08DFBE /* Pods */,
9887
);
9988
sourceTree = "<group>";
10089
};
@@ -141,6 +130,7 @@
141130
54B011AB1D9018B5002AF597 /* CoreMotion.framework */,
142131
54B011A91D9018AE002AF597 /* CoreTelephony.framework */,
143132
54B011A71D9018A4002AF597 /* AVFoundation.framework */,
133+
A8BA50C54961C153E2212AD9 /* Pods_Instabug_Demo.framework */,
144134
);
145135
name = Frameworks;
146136
sourceTree = "<group>";
@@ -154,17 +144,27 @@
154144
path = Support;
155145
sourceTree = "<group>";
156146
};
147+
C6633F015D1ABC239B08DFBE /* Pods */ = {
148+
isa = PBXGroup;
149+
children = (
150+
9CF172BA0D62F8CCA2DA6EC2 /* Pods-Instabug Demo.debug.xcconfig */,
151+
BEB34BCB094B980708CC594C /* Pods-Instabug Demo.release.xcconfig */,
152+
);
153+
path = Pods;
154+
sourceTree = "<group>";
155+
};
157156
/* End PBXGroup section */
158157

159158
/* Begin PBXNativeTarget section */
160159
54B011831D901660002AF597 /* Instabug Demo */ = {
161160
isa = PBXNativeTarget;
162161
buildConfigurationList = 54B0119B1D901660002AF597 /* Build configuration list for PBXNativeTarget "Instabug Demo" */;
163162
buildPhases = (
163+
DC9D39627264807213C5BD60 /* [CP] Check Pods Manifest.lock */,
164164
54B011801D901660002AF597 /* Sources */,
165165
54B011811D901660002AF597 /* Frameworks */,
166166
54B011821D901660002AF597 /* Resources */,
167-
71A1D49420FF7E5A0082B09F /* Embed Frameworks */,
167+
A6D52481D73FA7AD8AC1EE89 /* [CP] Embed Pods Frameworks */,
168168
);
169169
buildRules = (
170170
);
@@ -223,6 +223,49 @@
223223
};
224224
/* End PBXResourcesBuildPhase section */
225225

226+
/* Begin PBXShellScriptBuildPhase section */
227+
A6D52481D73FA7AD8AC1EE89 /* [CP] Embed Pods Frameworks */ = {
228+
isa = PBXShellScriptBuildPhase;
229+
buildActionMask = 2147483647;
230+
files = (
231+
);
232+
inputPaths = (
233+
"${PODS_ROOT}/Target Support Files/Pods-Instabug Demo/Pods-Instabug Demo-frameworks.sh",
234+
"${PODS_XCFRAMEWORKS_BUILD_DIR}/Instabug/Instabug.framework/Instabug",
235+
);
236+
name = "[CP] Embed Pods Frameworks";
237+
outputPaths = (
238+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Instabug.framework",
239+
);
240+
runOnlyForDeploymentPostprocessing = 0;
241+
shellPath = /bin/sh;
242+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Instabug Demo/Pods-Instabug Demo-frameworks.sh\"\n";
243+
showEnvVarsInLog = 0;
244+
};
245+
DC9D39627264807213C5BD60 /* [CP] Check Pods Manifest.lock */ = {
246+
isa = PBXShellScriptBuildPhase;
247+
buildActionMask = 2147483647;
248+
files = (
249+
);
250+
inputFileListPaths = (
251+
);
252+
inputPaths = (
253+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
254+
"${PODS_ROOT}/Manifest.lock",
255+
);
256+
name = "[CP] Check Pods Manifest.lock";
257+
outputFileListPaths = (
258+
);
259+
outputPaths = (
260+
"$(DERIVED_FILE_DIR)/Pods-Instabug Demo-checkManifestLockResult.txt",
261+
);
262+
runOnlyForDeploymentPostprocessing = 0;
263+
shellPath = /bin/sh;
264+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
265+
showEnvVarsInLog = 0;
266+
};
267+
/* End PBXShellScriptBuildPhase section */
268+
226269
/* Begin PBXSourcesBuildPhase section */
227270
54B011801D901660002AF597 /* Sources */ = {
228271
isa = PBXSourcesBuildPhase;
@@ -375,8 +418,10 @@
375418
};
376419
54B0119C1D901660002AF597 /* Debug */ = {
377420
isa = XCBuildConfiguration;
421+
baseConfigurationReference = 9CF172BA0D62F8CCA2DA6EC2 /* Pods-Instabug Demo.debug.xcconfig */;
378422
buildSettings = {
379423
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
424+
DEVELOPMENT_TEAM = "";
380425
FRAMEWORK_SEARCH_PATHS = (
381426
"$(inherited)",
382427
"$(SRCROOT)/../",
@@ -395,8 +440,10 @@
395440
};
396441
54B0119D1D901660002AF597 /* Release */ = {
397442
isa = XCBuildConfiguration;
443+
baseConfigurationReference = BEB34BCB094B980708CC594C /* Pods-Instabug Demo.release.xcconfig */;
398444
buildSettings = {
399445
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
446+
DEVELOPMENT_TEAM = "";
400447
FRAMEWORK_SEARCH_PATHS = (
401448
"$(inherited)",
402449
"$(SRCROOT)/../",

Sample/Instabug Demo.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Sample/Instabug Demo/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Instabug
99
class AppDelegate: UIResponder, UIApplicationDelegate {
1010

1111
var window: UIWindow?
12-
let appToken = "81fb5c82a5d7144eb77da6e1ec9d60e6"
12+
let appToken = <#Your token here#>
1313

1414
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
1515
Instabug.start(withToken: appToken, invocationEvents: .floatingButton)

Sample/Podfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Uncomment the next line to define a global platform for your project
2+
# platform :ios, '9.0'
3+
4+
target 'Instabug Demo' do
5+
# Comment the next line if you don't want to use dynamic frameworks
6+
use_frameworks!
7+
8+
# Pods for Instabug Demo
9+
pod 'Instabug', :podspec => '../Instabug.podspec'
10+
11+
end

0 commit comments

Comments
 (0)