Xcode 组织者试图在错误的目录路径中访问传输器

Xcode organizer trying to access transporter at wrong directory path

Transporter not found at path: /usr/local/itms/bin/iTMSTransporter. You should reinstall the application.

所以我检查了路径 /Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/MacOS/itms/bin 并且那里存在 iTMSTransporter(它与 xcode 一起安装)。如果您手动安装,错误中给我的路径是安装传输器的位置。我如何做到这一点,以便在我尝试提交我的应用程序时 xcode 组织者使用通过 xcode 安装 iTMSTransporter 的路径?我很困惑为什么它首先要这样做。

我遇到了同样的问题,并从 XCode 期望 iTMSTransporter 的位置创建了一个符号链接到您提到的应用程序文件夹中的位置:

ln -s /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms /usr/local/itms

但是,在上传我的二进制文件时出现错误:

[ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'MyApp.app/Frameworks/libswiftCore.dylib' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."

深入研究 Console.app,我发现了以下错误消息:

DBG-X: The error code is: 1102

INFO: Done performing authentication.

INFO: The following info messages were received from Apple's web service ...

INFO-X: INFO ITMS-90111: "Your app is built with a beta version of Xcode or iOS SDK. Only apps distributed for beta testing may be built with beta software. To submit an app for distribution on the App Store, you will need to build the app with release versions of Xcode and iOS SDK."

DBG-X: Returning 1

但我还没有想出一种方法来告诉 XCode 为 Beta 测试上传正是我想要做的。

基本上是上面的回答,但是符号链接命令对我来说是错误的。我使用以下命令修复它:

ln -s /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/ /usr/local/itms