洞察探索如何利用兼容微信生态的小程序容器,实现跨平台开发,助力金融和车联网行业的数字化转型。
834
2022-10-18
Thrust pivotal- 构建 iOS 应用程序档案
Thrust 是一个小项目,包含一些有用的任务来运行 Cedar 规格和构建iOS 应用程序档案。
rake autotag:create[environment] # Create a tag for the given deployment environmentrake autotag:list # Show the commit that is currently deployed to each environmentrake build_ipa:demo # Build an .ipa file for deployment to demorake build_ipa:production # Build an .ipa file for deployment to productionrake build_ipa:staging # Build an .ipa file for deployment to stagingrake clean # Clean all targetsrake focused_specs # Print out names of files containing focused specsrake nof # Remove any focus from specsrake set_build_number[build_number] # Set build numberrake spec_bundle[device_name,os_version] # Run the FakeProject schemerake spec_suite[device_name,os_version] # Run the SpecSuite targetrake mac_suite[device_name,os_version] # Run the MacSpecSuite targetrake trim # Trim whitespace
thrust_version: 0.7project_name: My Great Project # do not use if building with an xcode workspace# workspace_name: My Workspace # use if building with an xcode workspace# path_to_xcodeproj: 'App/MyApp.xcodeproj' # use if xcodeproj is not in the same directory as this yaml file. Optional.app_name: My Great Appdistribution_certificate: 'Name of Distribution Signing Certificate'#ios_sim_path: '/path/to/ios-sim' # Optional. Use to prefer a specific ios-sim binary (e.g. within project directory) over a system-installed version (homebrew)deployment_targets: staging: target: MyGreatAppTarget # Name of the build target. Optional, defaults to app name. #scheme: MyGreatAppScheme # Replace target with scheme if using a workspace build_configuration: Release provisioning_search_query: 'query to find Provisioning Profile' # Otherwise, it will use the first provisioning profile in ~/Library/MobileDevice/Provisioning Profiles/ versioning_method: 'none' # or 'timestamp-sha' or 'commits'. Leave blank to use Git commit SHAs for build numbers. tag: ci # Deploys latest commit with the tag. Leave blank to deploy from master. demo: build_configuration: Demo provisioning_search_query: 'query to find Provisioning Profile'spec_targets: # Example of an iOS spec suite configuration. specs: # This is the name of the rake task scheme: Specs (My Great App) # Name of the scheme. type: app # Spec target type: 'app' or 'bundle'. Optional, defaults to app. build_configuration: Debug # Name of the build configuration. build_sdk: iphonesimulator8.1 # SDK used to build the target. Optional, defaults to latest iphonesimulator. device_name: iPhone 6 # Device name. Run `ios-sim showdevicetypes` to see a full list of available devices. os_version: 8.1 # OS version to run. Optional, defaults to latest available version. timeout: 90 # Optional, defaults to 30 seconds. # Example of an iOS spec bundle configuration. spec_bundle: scheme: My Great App # Use the name for the main app scheme. type: bundle build_configuration: Debug device_name: iPhone 4s os_version: 7.1 # Example of a Mac OSX target configuration. integration: scheme: IntegrationSpecs (My Great App) build_configuration: Release build_sdk: macosxspec_directories: - SpecSuite - SpecBundle - WatchKit/SpecBundle - MacSpecSuite
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~