我正在尝试使用 --testers_file_path 选项通过 fastlanepilot 命令分发我的 ios 应用程序。应用程序已上传到 iTunes Connect,但遗憾的是内部测试人员未在 iTunes Connect 中更新,电子邮件也未发送给测试人员。不幸的是,没有足够的信息说明我应该如何使用 testers_file_path 选项。到目前为止,我已经尝试过:
所以问题是
上传一个应用程序并提交给FastLlane deliver我进行审核后,我正试图启动内部测试pilot.但是,只要我使用如下命令执行此操作:
pilot distribute -a com.foo.bar.awesomesauce -u me@example.com -w test_test_test
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Error finding relevant GitHub issues: undefined method `map' for nil:NilClass
[!] The request could not be completed because:
Beta App Description is required. The phone number is missing. The email must be in the format: contact@example.com. The email is required. Beta App Description is required. The email must be in the format: contact@example.com. The email is required. The phone number is missing. Validation errors
Run Code Online (Sandbox Code Playgroud)
例外是不言而喻的,跳入iTunes …
我已经将我的 fastlane 文件夹移出了 xcode 目录,所以我试图让它定位它。我有这是我的 Fastfile:
increment_build_number(
xcodeproj: "../ember-cordova/cordova/platforms/ios/Patontheback.xcodeproj",
build_number: ENV['CIRCLE_BUILD_NUM']
)
Run Code Online (Sandbox Code Playgroud)
这使
[06:50:47]: ------------------------------------
[06:50:47]: --- Step: increment_build_number ---
[06:50:47]: ------------------------------------
[06:50:47]: Error setting value '../ember-cordova/cordova/platforms/ios/Patontheback.xcodeproj' for option 'xcodeproj'
[06:50:47]: You passed invalid parameters to 'increment_build_number'.
[06:50:47]: Check out the error below and available options by running `fastlane action increment_build_number`
[06:50:47]: Variable Dump:
[06:50:47]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :SIGH_PROFILE_TYPE=>"app-store"}
[06:50:47]: Could not find Xcode project
Run Code Online (Sandbox Code Playgroud)
xcodeproj 肯定存在于该位置:
$ ls -l ../ember-cordova/cordova/platforms/ios/Patontheback.xcodeproj
total 28
-rwxr-xr-x 1 kitsunde staff 25639 Sep …Run Code Online (Sandbox Code Playgroud) 我正在学习 rails 并且对一些基础知识感到困惑。这是我的 API 方法:
def itunes_app_create
begin
app = Spaceship::Tunes::Application.create!(name: params[:itunes_app_name],
primary_language: "English",
version: params[:itunes_app_version],
sku: params[:itunes_app_sku],
bundle_id: params[:itunes_app_bundle_id],
team_id: params[:itunes_team_id])
render json: app.to_json, status: 200
rescue
render json: app.errors.full_messages.to_json, status: 200
end
end
Run Code Online (Sandbox Code Playgroud)
我的 app.errors.full_messages.to_json线路失败了,因为好吧,我只是从我看到的东西中弥补了这一点。如何返回导致方法失败的消息?
不确定它是否重要,app它不是我模型的一部分。我只需要从我的客户端应用程序调用它,然后发回结果。
作为一个附带问题,在这种情况下,我应该返回什么状态并显示错误?
我正在尝试像这样创建ipa文件:
xcodebuild -exportArchive
-archivePath /tmp/public_1.46.0.2029_production.xcarchive
-exportPath /tmp/avner -exportOptionsPlist export.plist
Run Code Online (Sandbox Code Playgroud)
export.plist是最小的(我也尝试完全剥离它并添加/删除各种标志)
我得到以下输出
~/Developer/iOS-Scripts/Maxi : xcodebuild -exportArchive -archivePath /tmp/public_1.46.0.2029_production.xcarchive -exportPath /tmp//avner_avner -exportOptionsPlist export.plist
2017-04-03 15:48:37.428 xcodebuild[5086:564094] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/rg/8ydk5h297ng50z_3dpkr5jx00000gn/T/InsertViewer_2017-04-03_15-48-37.428.xcdistributionlogs'.
1.2.840.113635.100.1.61
2017-04-03 15:48:46.363 xcodebuild[5086:564094] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7fdc03a02110>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
error: exportArchive: No applicable devices found.
Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
** EXPORT FAILED **
Run Code Online (Sandbox Code Playgroud)
我尝试使用fastlane脚本包装器调用构建但仍然得到相同的错误:
./xcbuild-safe.sh -exportArchive -archivePath …Run Code Online (Sandbox Code Playgroud) 如何在windows中安装fastlane?我安装了rubygems,但我不知道如何在Windows上安装fastlane.请告诉我如何在Windows中安装fastlane?
我正在尝试使用当前配置使用 Fastlane 部署我的 iOS 应用程序:具有多个目标和多个环境的单个项目(使用 .xccconfig 文件)。我创建了 3 个通道:开发、测试、分发。这些车道采用“brand_name”作为参数,因此我可以为每个目标使用相同的车道。
我想要实现的是“读取”目标的 .xcconfig 文件(例如PRODUCT_BUNDLE_IDENTIFIER)中的常量并将其用作我车道中的变量。我设法通过创建和读取包含目标包 ID 的 yaml 文件来做到这一点,但由于我已经在使用 .xcconfig 文件,我想避免重复。我做了一些搜索以找到答案,但由于我对 ruby 相当陌生,所以我现在陷入困境。有没有办法实现这一目标?
如果有帮助,这是我目前正在使用的工作通道,并在我想使用 .xcconfig 文件而不是 yaml 文件替换的部分上发表评论:
lane :development do |options|
# Getting lane settings
#adding lane_name to the options
options = options.merge(lane_name: 'development')
# THIS IS THE PART I'D LIKE TO REPLACE WITH .XCCONFIG FILE INSTEAD OF YAML
#fastlane config path
config = YAML.load_file(File.join(File.dirname(__FILE__),"../Brand", options[:brand_name],"Configs/fastlane_config.yaml"))
settings = OpenStruct.new(config)
lane_settings = settings[options[:lane_name]]
# Settings the App Identifier
app_identifier = lane_settings["bundle_identifier"] …Run Code Online (Sandbox Code Playgroud) 所以我想知道如何使用Fastlane工具增加版本号或构建号,这样我就不必手动更改版本。
运行fastlane beta并收到此错误:
Bundler::GemNotFound: Could not find CFPropertyList-3.0.0 in any of the sources
Run Code Online (Sandbox Code Playgroud)
我尝试通过终端安装gem,将它添加到我的gemfile,更新我的fastlane版本......没有运气.有任何想法吗?
fastlane ×10
ios ×5
xcode ×2
bitcode ×1
fastlane-gym ×1
iphone ×1
ruby ×1
testflight ×1
windows ×1
xcconfig ×1
xcodebuild ×1