Skip to content

Commit

Permalink
Setup AppFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Ignition committed Jul 14, 2020
1 parent 13c1173 commit 884c364
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output
.env

# Code Injection
#
Expand Down
4 changes: 2 additions & 2 deletions AirPush.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = "com.alex-ignition.AirPush-mac";
PRODUCT_BUNDLE_IDENTIFIER = "com.alex-ignition.AirPushMac";
PRODUCT_NAME = AirPush;
SWIFT_OBJC_BRIDGING_HEADER = "AirPushMac/Supporting Files/Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -504,7 +504,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = "com.alex-ignition.AirPush-mac";
PRODUCT_BUNDLE_IDENTIFIER = "com.alex-ignition.AirPushMac";
PRODUCT_NAME = AirPush;
SWIFT_OBJC_BRIDGING_HEADER = "AirPushMac/Supporting Files/Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down
2 changes: 2 additions & 0 deletions AirPushMac/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
Expand Down
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ GEM
dotenv (2.7.6)
emoji_regex (3.0.0)
excon (0.75.0)
faraday (1.0.1)
faraday (0.17.3)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
http-cookie (~> 1.0.0)
faraday_middleware (1.0.0)
faraday (~> 1.0)
faraday_middleware (0.14.0)
faraday (>= 0.7.4, < 1.0)
fastimage (2.1.7)
fastlane (2.151.2)
fastlane (2.152.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
aws-sdk-s3 (~> 1.0)
Expand All @@ -55,7 +55,7 @@ GEM
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
excon (>= 0.71.0, < 1.0.0)
faraday (>= 0.17, < 2.0)
faraday (>= 0.17, < 1.0)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (>= 0.13.1, < 2.0)
fastimage (>= 2.1.0, < 3.0.0)
Expand Down Expand Up @@ -92,7 +92,7 @@ GEM
google-cloud-core (1.5.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.3.2)
google-cloud-env (1.3.3)
faraday (>= 0.17.3, < 2.0)
google-cloud-errors (1.0.1)
google-cloud-storage (1.26.2)
Expand Down
5 changes: 5 additions & 0 deletions fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
app_identifier("com.alex-ignition.AirPushMac")
apple_id ENV["APPLE_ID"]

team_id("QM3357L793")
itc_team_id ENV["ITC_TEAM_ID"]
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ default_platform(:mac)

platform :mac do
lane :versions do
puts "AirPush Mac: #{get_version_number} (#{get_build_number})"
file = File.read('../air-push/Sources/AirPush/main.swift')
version = file.match(/version: "(.+)"/)[1]
puts "AirPush CLI: #{version}"
puts "AirPush Mac: #{get_version_number} (#{get_build_number})"
end

lane :release do
Expand Down

0 comments on commit 884c364

Please sign in to comment.