如何更改Xcode 4用于下载组件的Apple ID?(How can I change the Apple ID that Xcode 4 uses to download components?)

我在OS X 10.6.8上运行Xcode 4.2。

由于公司政策,我有两个苹果公司的ID。 me@bigcorp.com是我的“工作”ID,这是连接到我的iOS开发者计划会员资格的ID。 我也有me@personalmail.com ,我的“个人”ID,这与我的音乐,愤怒的小鸟下载等相关联。

我正在尝试从Xcode(Xcode - >首选项 - >下载 - >组件)中安装iOS 4.3模拟器。 当我点击该组件旁边的“安装”按钮时,Xcode抱怨说me@personalmail.com不是“注册的Apple开发人员”。 我想让它使用me@bigcorp.com ,但我找不到任何描述如何更改它,在Xcode或其他方式的任何参考。 任何人都可以解释如何击败Xcode提交?


I am running Xcode 4.2 on OS X 10.6.8.

Due to corporate policy, I have two Apple ID's. me@bigcorp.com is my "work" ID, and that's the ID that is connected to my iOS Developer Program membership. I also have me@personalmail.com, my "personal" ID, which is associated with my music, Angry Birds download, and so on.

I'm trying to install the iOS 4.3 Simulator from within Xcode (Xcode -> Preferences -> Downloads -> Components). When I click the "install" button next to that component, Xcode complains that me@personalmail.com is not a "Registered Apple Developer". I'd like to have it use me@bigcorp.com, but I can't find any reference anywhere that describes how to change it, within Xcode or otherwise. Can anyone explain how to beat Xcode into submission?


原文:https://stackoverflow.com/questions/7997317
2023-01-09 21:01

满意答案

除非是一个流程,否则我不会在一个场景中这样做。 我不会去xyz.com,我也不会点击,因为那不是'行为。 页面对象将帮助您。

Scenario: Register a new account
Given I do not have an account
When I register a new account
Then I can use those credentials to access the site

然后我会创建适当的步骤

Given(/^I do not have an account%/) do
  @credentials = get_unique_credentials
  @browser = Watir::Browser.new :firefox
end

When(/^I register a new account$/) do
  visit RegistrationPage do |page|
    page.name = @credentials[0]
    page.password = @credentials[1]
    page.register
  end
end

Then(/^I can use those credentials to access the site$/) do
  visit LoginPage do |page|
    page.name = @credentials[0]
    page.password = @credentials[1]
    page.login
  end
  on HomePage do |page|
    expect(page.something).to exist
  end
end

I would not do that in one scenario unless it is one flow. And I wouldn't go to xyz.com, and I wouldn't click on things because that isn't 'behavior. Page objects will help you.

Scenario: Register a new account
Given I do not have an account
When I register a new account
Then I can use those credentials to access the site

Then I'd create appropriate steps

Given(/^I do not have an account%/) do
  @credentials = get_unique_credentials
  @browser = Watir::Browser.new :firefox
end

When(/^I register a new account$/) do
  visit RegistrationPage do |page|
    page.name = @credentials[0]
    page.password = @credentials[1]
    page.register
  end
end

Then(/^I can use those credentials to access the site$/) do
  visit LoginPage do |page|
    page.name = @credentials[0]
    page.password = @credentials[1]
    page.login
  end
  on HomePage do |page|
    expect(page.something).to exist
  end
end

相关问答

更多

黄瓜网测试 - 捕获vaules(Cucumber web testing - capture vaules)

除非是一个流程,否则我不会在一个场景中这样做。 我不会去xyz.com,我也不会点击,因为那不是'行为。 页面对象将帮助您。 Scenario: Register a new account Given I do not have an account When I register a new account Then I can use those credentials to access the site 然后我会创建适当的步骤 Given(/^I do not have an acco...

如何捕获网络上的击键?(How do I capture keystrokes on the web?)

当然,唯一的方法是通过JavaScript,你会这样做: window.onload = function() { document.getElementsByTagName('body')[0].onkeyup = function(e) { var ev = e || event; if(ev.keyCode == 70) {//&& ev.ctrlKey) { //do something... } } }; 要找到所需的...

测试与黄瓜的关联(Testing associations with cucumber)

避免使用ID,而是列出组永远不会更改的名称。 So I found out an easy way to test associations. If I say that a I have only one group in scenario, when I am on that step I can create the group with the specific id like this g = Group.create(:name => "Group 1", :id => 1) The...

如何在桌面软件测试中使用Cucumber(How about using Cucumber on desktop software testing)

我建议通过http://www.pragmaticprogrammer.com/titles/idgtr获取本书,使用Ruby进行脚本GUI测试。 基本上你需要一些方法来驱动你的操作系统在Windows上你可以使用win32ole驱动Wscript例如 s = WIN32OLE.new 'Wscript.Shell' s.Exec 'notepad' 你没有提到什么操作系统等... I would suggest getting the book, Scripted GUI Testing Wi...

用黄瓜测试omniauth(Testing omniauth with cucumber)

将env.rb的内容更改为此,现在可以正常工作。 Before('@omniauth_test') do OmniAuth.config.test_mode = true Capybara.default_host = 'http://example.com' OmniAuth.config.add_mock(:twitter, { :uid => '12345', :info => { :name => 'twitteruser', } })...

寻找与黄瓜测试PHP相当的“无头浏览器”(Looking for a “headless browser” equivalent for PHP for Cucumber testing)

如果将Cucumber设置为使用Webrat,则可以将Webrat设置为默认使用Mechanize 。 Mechanize本质上是一个无头浏览器。 这是我的env.rb文件的样子: # RSpec require 'rspec/expectations' # Webrat require 'webrat' require 'test/unit/assertions' World(Test::Unit::Assertions) Webrat.configure do |config| co...

黄瓜组合测试(Combinatorial testing with Cucumber)

Scenario: Test my stuff Given first var combinations is @var_a_combos Given second var combinations is @var_b_combos When I run every combination Then good stuff should happen @var_a_combos和@var_b_combos是一个Enumerable,它包含该类型的所有可能性。 When I run every co...

黄瓜与内置测试?(Cucumber vs. built-in testing? [Rails])

我从来没有在测试框架中编写大量测试,而是直接跳入工厂女孩和RSpec使用Cucumber,我非常满意。 我觉得很容易描述我想在黄瓜工作的功能。 我一直很难让自己先写单元测试。 所以从我个人的经历来看,我可以鼓励你跳进有趣的东西! I never wrote a lot of tests with the build in testing framework, but jumped right in to use Cucumber with factory girl and RSpec and am...

如何从黄瓜/ aruba捕获shell脚本程序输出?(How to capture shell script program output from cucumber/aruba?)

您可以使用%x(command)来获取%x(command)的标准输出。 然后,您可以使用Time.parse将"Sat Nov 5 12:04:18 CET 2016"为2016-11-05 12:04:18 +0100作为Time对象,并将其与Time.now进行比较: require 'time' time_from_abc_script = Time.parse(%x(bash abc_qa.sh 1)) puts (Time.now-time_from_abc_script).abs <...

无法捕获RESTful Web服务上的请求(Unable to capture request on a RESTful Web service)

这不是在JAX-RS服务中访问服务上下文的正确方法, WebServiceContext类被注入到JAX-WS Web服务中。 在JAX-RS服务类中,您可以使用@Context注释来注入HttpServletRequest请求对象并向其询问标头。 例如: @GET @Path("/login") @Produces(MediaType.APPLICATION_JSON) public String login(@Context HttpServletRequest request); 您可以查...

相关文章

更多

Custom SOLR Search Components - 2 Dev Tricks

I've been building some custom search components fo ...

Solr4.0 如何配置使用UUID自动生成id值

原文链接http://blog.csdn.net/keepthinking_/article/deta ...

使用TabPanel时,如果两个页面存在相同的id。

我左边是一颗tree,右边是TabPanel。当点击一个结点 A,autoload一个页面 A.jsp ...

rails save问题数据库表主键必须是id吗?

我现在做的RAILS工程表的主键不是id,更新时怎么处理? 就是update的时候,rails的是先用 ...

微信将推指纹支付 "指付通"会与Touch ID整合吗

  有消息称微信下一版本将推指纹支付“指付通”,解决手机丢失资金安全的问题(这个应该是针对阿里手机支付 ...

hibernate id 生成策略及主要使用方法

hibernate主键策略生成器 hibernate提供多种主键生成策略,有点是类似于JPA,有的是h ...

MongoDB _id和ObjectId详解

在创建一个文档的时候,会生成一个_id,id的默认类型是ObjectId,如: &gt; db. ...

solr required field: id

为了和以前的程序兼容,在solr建立索引的时候,将id设为gid,结果在建立索引时候出现如下错误: o ...

js 通过td的id值 如何拿到tr的id值?

有以下代码:&lt;tr id=&quot;bb&quot;&gt;&lt;td id=&quot;a ...

Solr4.0 如何配置使用UUID自动生成id值

最近学习了Lucene,随便也学习了Solr,Solr规定每一条记录必须有一个主键值,用来唯一标识一条 ...

最新问答

更多

获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)

我用Google搜索了一个解决方案。 “EnumDisplayModeProvider”是我自己设置网站的各种模式的枚举。 public EnumDisplayModeProvider GetDisplayModeId() { foreach (var mode in DisplayModeProvider.Instance.Modes) if (mode.CanHandleContext(HttpContext)) {

如何通过引用返回对象?(How is returning an object by reference possible?)

这相对简单:在类的构造函数中,您可以分配内存,例如使用new 。 如果你制作一个对象的副本,你不是每次都分配新的内存,而是只复制指向原始内存块的指针,同时递增一个也存储在内存中的引用计数器,使得每个副本都是对象可以访问它。 如果引用计数降至零,则销毁对象将减少引用计数并仅释放分配的内存。 您只需要一个自定义复制构造函数和赋值运算符。 这基本上是共享指针的工作方式。 This is relatively easy: In the class' constructor, you allocate m

矩阵如何存储在内存中?(How are matrices stored in memory?)

正如它在“熵编码”中所说的那样,使用Z字形图案,与RLE一起使用,在许多情况下,RLE已经减小了尺寸。 但是,据我所知,DCT本身并没有给出稀疏矩阵。 但它通常会增强矩阵的熵。 这是compressen变得有损的点:输入矩阵用DCT传输,然后量化量化然后使用霍夫曼编码。 As it says in "Entropy coding" a zig-zag pattern is used, together with RLE which will already reduce size for man

每个请求的Java新会话?(Java New Session For Each Request?)

你是如何进行重定向的? 您是否事先调用了HttpServletResponse.encodeRedirectURL()? 在这里阅读javadoc 您可以使用它像response.sendRedirect(response.encodeRedirectURL(path)); The issue was with the path in the JSESSIONID cookie. I still can't figure out why it was being set to the tomca

css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)

我认为word-break ,如果你想在一个单词中打破行,你可以指定它,这样做可以解决问题: .column { word-break:break-all; } jsFiddle演示。 您可以在此处阅读有关word-break属性的更多信息。 I think word-break, with which you can specify if you want to break line within a word, will do the trick: .column { word-break

无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)

我认为您忘记在分类时间内缩放输入图像,如train_test.prototxt文件的第11行所示。 您可能应该在C ++代码中的某个位置乘以该因子,或者使用Caffe图层来缩放输入(请查看ELTWISE或POWER图层)。 编辑: 在评论中进行了一次对话之后,结果发现在classification.cpp文件中错误地删除了图像均值,而在原始训练/测试管道中没有减去图像均值。 I think you have forgotten to scale the input image during cl

xcode语法颜色编码解释?(xcode syntax color coding explained?)

转到: Xcode => Preferences => Fonts & Colors 您将看到每个语法高亮颜色旁边都有一个简短的解释。 Go to: Xcode => Preferences => Fonts & Colors You'll see that each syntax highlighting colour has a brief explanation next to it.

在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)

你考虑过第三方拼写检查吗? 您可以将在C#中开发的自定义WinForms控件插入访问数据库吗? VB6控件怎么样? 如果你能找到一个使用第三方库进行拼写检查的控件,那可能会有效。 Have you considered a third party spell checker? Can you insert a custom WinForms controls developed in C# into an access database? What about a VB6 control? If

从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)

我有同样的问题,因为我在远程服务器上有两个图像,我需要在每天的预定义时间复制到我的本地服务器,这是我能够提出的代码... try { if(@copy('url/to/source/image.ext', 'local/absolute/path/on/server/' . date("d-m-Y") . ".gif")) { } else { $errors = error_get_last(); throw new Exception($err

从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))

我不确定我完全明白你在说什么。 你能编辑你的帖子并包含你正在做的Subversion命令/操作的特定顺序吗? 最好使用命令行svn客户端,以便容易为其他人重现问题。 如果您只是想获取文件的旧副本(即使该文件不再存在),您可以使用如下命令: svn copy ${repo}/trunk/moduleA/file1@${rev} ${repo}/trunk/moduleB/file1 其中${repo}是您的存储库的URL, ${rev}是您想要的文件的版本。 这将恢复该文件的旧版本,包括最高版本