请问project中的provisioning profile 究竟有什么用?

xiangtaii 2014-11-22 11:38:24
project中可以设置provisioning profile,targets中也可以设置provisioning profile,其实,只要在targets中可以设置就可以了,打包出来是以targets中的provisioning profile为准的,我就搞不懂project中的provisioning profile有什么用?苹果公司为什么不去掉它?
...全文
132 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
不担心 2014-11-23
  • 打赏
  • 举报
回复
打包的时候确实是以targets中的provisioning profile为准的 project中的作用是如果你的targets中没有指定provisioning profile的时候,默认会使用project中的provisioning profile,所以如果你项目中有多个targets都使用同一个provisioning profile的话,你不用每个targets都指定一遍,只要同意在project中设定就行了
About the Application Development Process 5 At a Glance 5 Developing for Apple’s Platforms Is a Mix of Administrative and Coding Tasks 5 Apps Published on the App Store Must Be Approved by Apple 5 Apps Published on the App Store Must Be Cryptographically Signed 6 The Majority of Your Coding Time Is Spent in Xcode 6 Administrative Tasks are Performed with Several Resources 6 Many Behaviors of an App Are Defined by Data, Not Code 7 How to Use This Document 7 Building an App for the App Store 8 Prepare the Development Team 8 Configure the Project 8 Develop the App 9 Publish the App in the App Store 9 Preparing the Development Team 10 Enrolling in an Apple Developer Program 10 Adding Members to a Team 11 Understanding Membership Privilege Levels 11 Organizing the Team in iTunes Connect 13 Organizing the Development Team 14 Creating Your Team’s Signing Certificates 17 An Example: Signing an iOS App During Development 17 Setting Up a Developer for Code Signing 20 To Learn More 21 Creating a Project 22 Configuring an Xcode Project for an App 22 Creating Provisioning Profiles for Your App 23 App Concepts 23 A Bundle ID Uniquely Identifies an App 24 App IDs Are Used to Match Apps to Services and Development Teams 25 Provisioning Profiles Authorize an App to Launch 27 2012-01-09 | © 2012 Apple Inc. All Rights Reserved. 2  Contents Distributing an App Requires a Distribution Profile 28 To Learn More 28 Developing an App 30 Designing an App 31 Use the Model-View-Controller Pattern 31 Use Data-Driven Designs 33 Writing Code 34 Treat Warnings as Errors 34 Use the Analyze Action in Xcode to Find Less Obvious Coding Errors 34 Implement Unit Tests and User Interface Tests 35 Polishing and Testing an App 35 Test on Various Devices 36 Use the Archive Action to Create Test Versions of an App 36 Use Instruments to Guide Your Efforts 36 Ensure That Your App Meets the Approval Guidelines 36 Creating Great Apps 37 Design User-Focused Apps 37 Develop a Security Model 37 Ensure Your App Runs Reliably 38 Tune Your App’s Performance 38 To Learn More 39 Best Practices in Coding and App Design 40 Publishing an App in the App Store 41 Configuring App Data in iTunes Connect 41 Submitting the App for Approval 42 Shipping an App 42 Responding to User Issues 43 To Learn More 43 Document Revision History 45 Glossary 46 2012-01-09 | © 2012 Apple Inc. All Rights Reserved. 3 Figures and Tables Building an App for the App Store 8 Figure 1-1 Development process overview 8 Preparing the Development Team 10 Figure 2-1 Figure 2-2 Figure 2-3 Figure 2-4 Figure 2-5 Figure 2-6 Table 2-1 Table 2-2 Table 2-3 Table 2-4 Steps to create a development team 10 An individual is the team agent 15 A small development team 15 A large development team 16 Overview of the iOS development provisioning process 18 The process for approving a device and getting a signing certificate 20 Team roles 12 Privileges assigned to each membership level 12 iTunes Connect roles and responsibilities 13 Abbreviated list of iTunes Connect modules, including availability by role 14 Creating a Project 22 Figure 3-1 Figure 3-2 Figure 3-3 Figure 3-4 Figure 3-5 Figure 3-6 Starting a new project 22 Common uses for an app’s bundle ID 24 Explicit app ID 25 Wildcard app IDs 26 Examples of wildcard matching 26 Overview of the development provisioning process 27 Developing an App 30 Figure 4-1 Figure 4-2 Figure 4-3 Figure 4-4 The development process 30 The development process is an iterative process 30 Distribution between development tasks varies over time 31 Model-View-Controller pattern 32
Table of Contents Title Page Copyright and Credits Mastering Spring Cloud Packt Upsell Why subscribe? PacktPub.com Contributors About the author About the reviewer Packt is searching for authors like you Preface Who this book is for What this book covers To get the most out of this book Download the example code files Conventions used Get in touch Reviews Introduction to Microservices The blessings of microservices Building microservices with Spring Framework Cloud-native development Learning the microservices architecture Understanding the need for service discovery Communication between services Failures and circuit breakers Summary Spring for Microservices Introducing Spring Boot Developing applications with Spring Boot Customizing configuration files Creating RESTful Web Services API Documentation Using Swagger 2 together with Spring Boot Testing API with Swagger UI Spring Boot Actuator features Application information Health information Metrics Developer tools Integrating application with database Building a sample application Running the application Summary Spring Cloud Overview Beginning with the basics Netflix OSS Service discovery with Eureka Routing with Zuul Load balancing with Ribbon Writing Java HTTP clients Latency and fault tolerance with Hystrix Configuration management with Archaius Discovery and distributed configuration An alternative – Consul Apache Zookeeper Miscellaneous projects Distributed tracing with Sleuth Messaging and integration Cloud platform support Other useful libraries Security Automated testing Cluster features Projects overview  Release trains Summary Service Discovery Running Eureka on the server side Enabling Eureka on the client side Deregistration on shutdown Using discovery client programmatically Advanced configuration settings Refreshing the registry Changing the instance identificator  Preferring the IP address Response cache Enabling secure communication between client and server Registering a secure service Eureka API Replication and high availability Architecture of the sample solution Building the example application Failover Zones Zones with a standalone server Building an example application Summary Distributed Configuration with Spring Cloud Config Introduction to HTTP API resources Native profile support Building a server-side application Building a client-side application Adding a Eureka Server Client-side bootstrap approaches Config Server discovery Repository backend types Filesystem backend Git backend Different protocols Using placeholders in URIs Building a server application Client-side configuration Multiple repositories Vault backend Getting started with Vault Integration with Spring Cloud Config Client-side configuration Additional features Fail on start and retry Secure client Reload configuration automatically Solution architecture Reload configuration with @RefreshScope Consuming events from a message broker Monitoring repository changes on a Config Server Simulating change events manually Testing locally with a GitLab instance  Summary Communication Between Microservices Different styles of communication  Synchronous communication with Spring Cloud Load balancing with Ribbon Enabling communication between microservices using the Ribbon client Static load balancing configuration Calling other services Using RestTemplate together with service discovery Building example application Using Feign client Support for different zones Enabling Feign for an application Building Feign interfaces Launching microservices Inheritance support Creating a client manually Client customization Summary Advanced Load Balancing and Circuit Breakers Load balancing rules The WeightedResponseTime rule Introducing Hoverfly for testing Testing the rule Customizing the Ribbon client The circuit breaker pattern with Hystrix Building an application with Hystrix Implementing Hystrix's commands Implementing fallback with cached data The tripping circuit breaker Monitoring latency and fault tolerance Exposing Hystrix's metrics stream Hystrix dashboard Building an application with the dashboard Monitoring metrics on the dashboard Aggregating Hystrix's streams with Turbine Enabling Turbine Enabling Turbine with streaming Failures and the circuit breaker pattern with Feign Retrying the connection with Ribbon Hystrix's support for Feign Summary Routing and Filtering with API Gateway Using Spring Cloud Netflix Zuul Building a gateway application Integration with service discovery Customizing route configuration Ignoring registered services Explicity set service name  Route definition with the Ribbon client Adding a prefix to the path Connection settings and timeouts Secure headers Management endpoints Providing Hystrix fallback Zuul filters Predefined filters Custom implementations Using Spring Cloud Gateway Enable Spring Cloud Gateway for a project Built-in predicates and filters Gateway for microservices Integration with service discovery Summary Distributed Logging and Tracing Best logging practices for microservices Logging with Spring Boot Centralizing logs with ELK Stack Setting up ELK Stack on the machine Integrating an application with ELK Stack Using LogstashTCPAppender Using AMQP appender and a message broker Spring Cloud Sleuth Integrating Sleuth with an application Searching events using Kibana Integrating Sleuth with Zipkin Running the Zipkin server Building the client application Analyze data with the Zipkin UI Integration via message broker Summary Additional Configuration and Discovery Features Using Spring Cloud Consul Running Consul agent Integration on the client side Service discovery Health check Zones Client settings customization Running in clustered mode Distributed configuration Managing properties in Consul Client customization Watching configuration changes Using Spring Cloud Zookeeper Running Zookeeper Service discovery Client implementation Zookeeper dependencies Distributed configuration Summary Message-Driven Microservices Learning about Spring Cloud Stream Building a messaging system Enabling Spring Cloud Stream Declaring and binding channels Customizing connectivity with the RabbitMQ broker Integration with other Spring Cloud projects The publish/subscribe model Running a sample system Scaling and grouping Running multiple instances Consumer groups Partitioning Configuration options Spring Cloud Stream properties Binding properties The consumer The producer The advanced programming model Producing messages Transformation Consuming messages conditionally Using Apache Kafka Running Kafka Customizing application settings Kafka Streams API support Configuration properties Multiple binders Summary Securing an API Enabling HTTPS for Spring Boot Secure discovery Registering a secure application Serving Eureka over HTTPS Keystore generation Configurating SSL for microservices and Eureka server Secure configuration server Encryption and decryption Configuring authentication for a client and a server Authorization with OAuth2 Introduction to OAuth2 Building an authorization server Client configuration Using the JDBC backend store Inter-service authorization Enabling SSO on the API gateway Summary Testing Java Microservices Testing strategies Testing Spring Boot applications Building the sample application Integration with the database Unit tests Component tests Running tests with an in-memory database Handling HTTP clients and service discovery Implementing sample tests Integration tests Categorizing tests Capturing HTTP traffic Contract tests Using Pact Consumer side Producer side Using Spring Cloud Contract Defining contracts and generating stubs Verifying a contract on the consumer side Scenarios Performance testing Gatling Enabling Gatling Defining the test scenario Running a test scenario Summary Docker Support Introducing Docker Installing Docker Commonly used Docker commands Running and stopping a container Listing and removing containers Pulling and pushing images Building an image Networking Creating a Docker image with microservices Dockerfiles Running containerized microservices Building an image using the Maven plugin Advanced Docker images Continuous Delivery Integrating Jenkins with Docker Building pipelines Working with Kubernetes Concepts and components Running Kubernetes locally via Minikube Deploying an application Maintaining a cluster Summary Spring Microservices on Cloud Platforms Pivotal Cloud Foundry Usage models Preparing the application Deploying the application Using CLI Binding to services Using the Maven plugin Maintenance Accessing deployment details Managing application life cycles Scaling Provisioning brokered services The Heroku platform Deployment methods Using the CLI Connecting to the GitHub repository Docker Container Registry Preparing an application Testing deployments Summary

29,028

社区成员

发帖
与我相关
我的任务
社区描述
主要讨论与iOS相关的软件和技术
社区管理员
  • iOS
  • 大熊猫侯佩
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧