diff --git a/BugSnap Demo App/BugSnap Demo App/Info.plist b/BugSnap Demo App/BugSnap Demo App/Info.plist
index d692c9f..9870df2 100644
--- a/BugSnap Demo App/BugSnap Demo App/Info.plist
+++ b/BugSnap Demo App/BugSnap Demo App/Info.plist
@@ -19,7 +19,7 @@
CFBundleShortVersionString
1.0.4
CFBundleVersion
- 7
+ 8
ITSAppUsesNonExemptEncryption
LSRequiresIPhoneOS
@@ -55,7 +55,5 @@
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
- ITSAppUsesNonExemptEncryption
-
diff --git a/BugSnap/BugSnap.xcodeproj/project.pbxproj b/BugSnap/BugSnap.xcodeproj/project.pbxproj
index ee18251..4cb3620 100644
--- a/BugSnap/BugSnap.xcodeproj/project.pbxproj
+++ b/BugSnap/BugSnap.xcodeproj/project.pbxproj
@@ -117,6 +117,12 @@
7F2716F322E62B980068C502 /* UIApplication+ScreenRecording.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIApplication+ScreenRecording.swift"; sourceTree = ""; };
7F2716F522E766470068C502 /* VideoFileWriter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VideoFileWriter.swift; sourceTree = ""; };
7F2716F722E772C90068C502 /* UIViewController+JIRAIssueFlow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIViewController+JIRAIssueFlow.swift"; sourceTree = ""; };
+ 7F4C1E5522FE3C8200FEDE79 /* Pluginfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Pluginfile; sourceTree = ""; };
+ 7F4C1E5622FE3C8200FEDE79 /* Appfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Appfile; sourceTree = ""; };
+ 7F4C1E5722FE3C8200FEDE79 /* Fastfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Fastfile; sourceTree = ""; };
+ 7F4C1E5822FE3C8200FEDE79 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; };
+ 7F4C1E5922FE3C8200FEDE79 /* Matchfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Matchfile; sourceTree = ""; };
+ 7F4C1E5A22FE3C8200FEDE79 /* report.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = report.xml; sourceTree = ""; };
7F4C8E0122F89445001EAD96 /* CaptureOptionSheetViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CaptureOptionSheetViewController.swift; sourceTree = ""; };
7F4C8E0322F8982D001EAD96 /* ScreenshotButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScreenshotButton.swift; sourceTree = ""; };
7F4C8E0522F898DD001EAD96 /* ScreenRecordingButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScreenRecordingButton.swift; sourceTree = ""; };
@@ -228,6 +234,7 @@
7F0BCF2C22AFFF53006B4F26 /* BugSnap */ = {
isa = PBXGroup;
children = (
+ 7F4C1E5422FE3C8200FEDE79 /* fastlane */,
7FE43E1622F1050D000F8ABC /* BugSnap.podspec */,
7F87683722B44A5E0018AC74 /* LICENSE */,
7F87683622B44A5E0018AC74 /* README.md */,
@@ -277,6 +284,20 @@
path = ViewControllers;
sourceTree = "";
};
+ 7F4C1E5422FE3C8200FEDE79 /* fastlane */ = {
+ isa = PBXGroup;
+ children = (
+ 7F4C1E5522FE3C8200FEDE79 /* Pluginfile */,
+ 7F4C1E5622FE3C8200FEDE79 /* Appfile */,
+ 7F4C1E5722FE3C8200FEDE79 /* Fastfile */,
+ 7F4C1E5822FE3C8200FEDE79 /* README.md */,
+ 7F4C1E5922FE3C8200FEDE79 /* Matchfile */,
+ 7F4C1E5A22FE3C8200FEDE79 /* report.xml */,
+ );
+ name = fastlane;
+ path = ../../fastlane;
+ sourceTree = "";
+ };
7F4C8E0922F9D218001EAD96 /* AccessoryViews */ = {
isa = PBXGroup;
children = (
diff --git a/fastlane/Fastfile b/fastlane/Fastfile
index fb3dd24..0f372d9 100644
--- a/fastlane/Fastfile
+++ b/fastlane/Fastfile
@@ -24,6 +24,13 @@ platform :ios do
)
end
+ desc "Setup JIRA Environment from Environment Variables."
+ private_lane :setup_jira_keys do
+ set_info_plist_value(path: "./BugSnap Demo App/BugSnap Demo App/Info.plist", key: "JIRA.URL", value: ENV["JIRA_URL"])
+ set_info_plist_value(path: "./BugSnap Demo App/BugSnap Demo App/Info.plist", key: "JIRA.User", value: ENV["JIRA_User"])
+ set_info_plist_value(path: "./BugSnap Demo App/BugSnap Demo App/Info.plist", key: "JIRA.APIKey", value: ENV["JIRA_APIKey"])
+ end
+
private_lane :setup_keychain do
if is_ci?
# Create a temporary keychain to store the certificates.
@@ -76,6 +83,7 @@ platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
+ setup_jira_keys
setup_keychain
set_match(appstore: true)