Xcode无法使用Apple ID登录(Xcode cannot sign in with Apple ID)

最近我想用Xcode存档我的应​​用程序,然后Xcode说我必须再次输入我的Apple ID和密码。 也许我的登录信息丢失了。 我又试了一次,但总是失败了。

如果我输入了错误的密码,我会收到正确的答复: 在此处输入图像描述

它说我的Apple ID或密码不正确。 这可以证明我的网络环境没问题。

但是,如果输入正确的凭据,它将只响应显示忙碌:

在此处输入图像描述

我尝试过VPN来解决这个问题,但没有任何作用。 谁能帮我?


Recently I wanted to archive my App with Xcode, then Xcode said that I must input my Apple ID and password again. Perhaps my login information was lost. I tried again, but it always failed.

If I input a wrong password, I get a correct response: enter image description here

It said my Apple ID or password is incorrect. That can prove my network environment is okay.

However, if input the right credentials, it would respond nothing but only show busy:

enter image description here

I have tried a VPN to solve this problem but nothing works. Who can help me?


原文:https://stackoverflow.com/questions/33929561
2023-09-01 17:09

满意答案

我怀疑有几个因素导致这个未定义,但我们只需要一个:

[C++11: 3.8/1]: [..] 类型T对象的生命周期结束时

  • 如果T是具有非平凡析构函数(12.4)的类类型,则析构函数调用将启动,或者
  • 对象占用的存储器被重用或释放。

所有后续使用都是在使用寿命结束后使用,这是坏事和错误。

关键是每个缓冲区都在重用。

所以,虽然我希望这在实践中起作用,至少对于琐碎的类型(以及某些类),它是未定义的。


以下可能能够为您节省:

[C++11: 3.8/7]:如果在对象的生命周期结束之后,在重用或释放对象占用的存储之前,在原始对象占用的存储位置创建一个新对象,指向原始对象的指针,引用原始对象的引用,或原始对象的名称将自动引用新对象,并且一旦新对象的生命周期开始,就可以用来操纵新对象对象[...]

...除了你没有创建一个新对象。

在这里可能或者可能不值得注意,令人惊讶的是,随后的隐式析构函数调用都是明确定义的:

[C++11: 3.8/8]:如果程序以静态(3.7.1),线程(3.7.2)或自动(3.7.3)存储持续时间结束T类型对象的生命周期,如果T有一个非平凡的析构函数,程序必须确保在隐式析构函数调用发生时,原始类型的对象占用相同的存储位置; 否则程序的行为是不确定的。


I suspect there are a few factors rendering this undefined, but we only need one:

[C++11: 3.8/1]: [..] The lifetime of an object of type T ends when:

  • if T is a class type with a non-trivial destructor (12.4), the destructor call starts, or
  • the storage which the object occupies is reused or released.

All subsequent use is use after end-of-life, which is bad and wrong.

The key is that each buffer is being reused.

So, although I would expect this to work in practice at least for trivial types (and for some classes), it's undefined.


The following may have been able to save you:

[C++11: 3.8/7]: If, after the lifetime of an object has ended and before the storage which the object occupied is reused or released, a new object is created at the storage location which the original object occupied, a pointer that pointed to the original object, a reference that referred to the original object, or the name of the original object will automatically refer to the new object and, once the lifetime of the new object has started, can be used to manipulate the new object [..]

…except that you are not creating a new object.

It may or may not be worth noting here that, surprisingly, the ensuing implicit destructor calls are both well-defined:

[C++11: 3.8/8]: If a program ends the lifetime of an object of type T with static (3.7.1), thread (3.7.2), or automatic (3.7.3) storage duration and if T has a non-trivial destructor, the program must ensure that an object of the original type occupies that same storage location when the implicit destructor call takes place; otherwise the behavior of the program is undefined.

相关问答

更多

协议缓冲区与平坦缓冲区(Protocol Buffers vs Flat Buffers [closed])

协议缓冲区针对线路上的空间消耗进行了优化,因此对于存档和存储而言,它们非常高效。 但是,复杂的编码代价很高,因此它们的计算量很大,并且C ++ API大量使用动态分配。 另一方面,平面缓冲区针对高效解析和内存中表示进行了优化(例如,在某些情况下提供数据的零拷贝视图)。 这取决于你的用例,哪些方面对你更重要。 Protocol buffers are optimized for space consumption on the wire, so for archival and storage, t...

OpenGL Vertex和Buffers(OpenGL Vertex and Buffers)

正如您所希望的那样,在处理顶点数组对象时,必须使用glEnableVertexAttribArray启用属性数组。 即使您可以为每个属性绑定不同的缓冲区,也不能为每个绘制调用绑定不同的属性或类似。 这意味着VAO指向的所有内容必须存储相同的属性。 当然,您可以忽略VAO给出的某些属性,但这可能会导致效率低下,这可能不是一个好习惯。 这再次意味着,每次使用相同VAO绑定的绘制调用都使用相同的属性。 我认为这是确定是否需要新VAO的最佳方法,首先确定是否需要一组不同的属性。 然后,您可以通过指向索引缓...

交换包含放置新创建对象的存储缓冲区(Swapping storage buffers containing placement new created objects)

我怀疑有几个因素导致这个未定义,但我们只需要一个: [C++11: 3.8/1]: [..] 类型T对象的生命周期结束时 : 如果T是具有非平凡析构函数(12.4)的类类型,则析构函数调用将启动,或者 对象占用的存储器被重用或释放。 所有后续使用都是在使用寿命结束后使用,这是坏事和错误。 关键是每个缓冲区都在重用。 所以,虽然我希望这在实践中起作用,至少对于琐碎的类型(以及某些类),它是未定义的。 以下可能能够为您节省: [C++11: 3.8/7]:如果在对象的生命周期结束之后,在重用或释放对象...

是否有更多的输出缓冲区?(Are there more output buffers?)

endl刷新您输出的任何流的输出缓冲区。 例如: cout << ... << endl; // flushes the output buffer of 'cout' cerr << ... << endl; // flushes the output buffer of 'cerr' ofstream file("filename"); file << ... << endl; // flushes the output buffer of 'file' cerr和clog之间的...

是否可以同时执行从同一个Storage对象创建的Insert对象?(Can Insert objects created from the same Storage object be executed concurrently?)

是! :) 也就是说,假设您使用的HttpTransport实例是线程安全的,那么拥有共享存储实例应该是线程安全的。 不安全的是跨线程共享请求类本身或其响应,而不提供您提供的额外锁定。 但只要每个线程使用自己的请求类,它就是安全的,实际上建议跨线程共享存储和实例。 注意:我是google-api-java-client项目的所有者 Yes! :) That is, assuming the HttpTransport instance you are using is thread-safe, t...

JNI直接缓冲区。(JNI direct buffers. Who is responsible for native buffer freeing?)

当您调用JNI NewDirectByteBuffer(void* address, jlong capacity)将使用以下构造函数创建DirectByteBuffer对象: private DirectByteBuffer(long addr, int cap) { super(-1, 0, cap, cap); address = addr; cleaner = null; att = null; } 请注意, cleaner属性为null。 如果通过Byt...

是适合长期序列化的协议缓冲区吗?(is protocol buffers suitable for long term serialization?)

我看不出有什么理由不会。 如果绝对必要(您知道,如果现有语言都不起作用),那么规范就会记录下来并且非常简单。 可附加使得它对delta也非常有用。 那么:它会起作用吗? 是 但是,如果问题是“我应该吗?” - 如果需要更多信息。 可能是的,可能没有。 I can't see any reason it wouldn't be. If absolutely necessary (you know, if none of the existing languages still work) the s...

初始化对象时是否可以放弃放置新的返回值(Is it OK to discard placement new return value when initializing objects)

无论是迂腐还是实际,忽略返回值都不行。 从迂腐的角度来看 对于p = new(p) T{...} , p有资格作为指向new-expression创建的对象的指针,该表达式不适用于new(p) T{...} ,尽管事实上价值是一样的。 在后一种情况下,它仅限定为指向已分配存储的指针。 非分配全局分配函数返回其参数而没有隐含的副作用,但是new-expression(placement或not)总是返回指向它创建的对象的指针,即使它恰好使用了该分配函数。 每个cppref关于delete-expre...

在容器中使用placement new(Using placement new in a container)

AFAIK这将冗余地构造/破坏E对象 它会显得如此。 new ed数组已经应用了默认构造函数, delete[]也会为所有元素调用析构函数。 实际上,除了维护size计数器之外, Add()和Remove()方法几乎不添加。 使用placement new时, new char[sizeof(E)*100]是否是分配缓冲区的正确方法? 最好的选择是为你处理所有内存问题的std::allocator 。 使用new的展示位置并自行管理内存需要您了解一些问题(包括); 对准 分配和使用的大小 毁坏 进...

如何使用placement new运算符创建对象数组?(How do I create array of objects using placement new operator?)

将标准定义的新运算符重写为无用功能的目的是什么? 如果你逐个创建指针,你会想如何存储指针 #include <iostream> class Complex { double r; // Real Part double c; // Complex Part public: Complex() : r(0), c(0) {} Complex (double a, double b): r (a), c (b) {} }; char *buf = new char...

相关文章

更多

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

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

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 ...

html中一个div的id是“1:222”的话,怎么利用id给它定义css啊?

如 &lt;style&gt; #1:2{ height:100px; width:100px ...

mysql in根据查询id排序

mysql in根据查询时,返回结果是自行排序的​,如果要按照我们查询的ID进行排序,要用到order ...

配置solr自动生成id

schema.xml ======================================== ...

别拿Hadoop map key当id使

在写mapreduce时,发现一个问题: Hadoop的map函数的key一般是输入文件的行号,于是乎 ...

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

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

solr4.0 id 自动生成

一、配置schema.xml文件 1、添加fieldType &lt;types&gt; & ...

最新问答

更多

获取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}是您想要的文件的版本。 这将恢复该文件的旧版本,包括最高版本