简体   繁体   English

OS X Yosemite使用XCode5代码签名错误提交应用

[英]OS X Yosemite Submit App Using XCode5 Code Sign Error

I use os x yosemite and XCode 5 and i want to submit my app to appstore but i see an error like this 我使用os x yosemite和XCode 5,我想将我的应用提交到appstore,但是我看到这样的错误

"the main executable or Info.plist must be a regular file (no symlinks, etc.)" “主可执行文件或Info.plist必须是常规文件(无符号链接等)”

在此处输入图片说明

Can you help me ? 你能帮助我吗 ?

Thanks in advance ... 提前致谢 ...

codesign under the Yosemite beta does not like special characters in file names. 优胜美地测试版下的codesign不喜欢文件名中的特殊字符。 This is a known bug. 这是一个已知的错误。 However it should also be noted that you are not allowed to submit to the Apple Store from Yosemite even if you are using Xcode 5 and have the command line tools set to Xcode 's tools. 但是,还应注意,即使您使用的是Xcode 5,并且命令行工具设置为Xcode的工具,也不允许您从优胜美地提交到Apple Store。 This problem should help you understand why. 这个问题应该可以帮助您了解原因。 Even if you are using Xcode 5 and it's tools, it is not completely insulated from the fact it is running on Yosemite. 即使您使用的是Xcode 5及其工具,它也无法与在优胜美地上运行的事实完全隔离。

I had this problem with the libcurl framework that I originally downloaded from Apple some years ago. 我几年前最初从Apple下载的libcurl框架存在这个问题。 I tried to manually change the files in the framework to remove the symbolic links, and got it to compile and run ok, but it failed the App Store validation process. 我试图手动更改框架中的文件以删除符号链接,并使其编译并正常运行,但未通过App Store验证过程。 In the end I removed the framework totally and switched to using "-lcurl" instead. 最后,我完全删除了该框架,转而使用“ -lcurl”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM