diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 958fa96..5a1905b 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -1,6 +1,7 @@ XCODE_PROJ = "DevLog.xcodeproj" APP_IDENTIFIER = "opfic.DevLog" TARGET_NAME = "DevLog" +PROJECT_ROOT = File.expand_path("..", __dir__) default_platform(:ios) @@ -9,7 +10,7 @@ platform :ios do require "spaceship" versionNumber = options[:version] - ascKeyPath = File.expand_path(ENV["ASC_KEY_PATH"], Dir.pwd) + ascKeyPath = File.expand_path(ENV["ASC_KEY_PATH"], PROJECT_ROOT) Spaceship::ConnectAPI.token = Spaceship::ConnectAPI::Token.create( key_id: ENV["ASC_KEY_ID"],