XE4部署错误 [英] XE4 Deployment error

查看:239
本文介绍了XE4部署错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下午好道歉如果SO不是问题的地方,我不知道有没有错误堆栈交换等,以及XE4用户是否会在那里访问。

Good afternoon all. Apologies if SO isn't the place to ask, I wasn't sure there was an 'errors stack exchange' or such, and whether or not any XE4 users would be visitors there.

我正在尝试XE4试用版,而且我想看看iOS的实现是否像看起来一样简单。

I'm currently trying out the XE4 trial, and I'm wanting to see just whether the iOS implementation is as easy as they made it look.

我有我的远程配置文件所有的安装和工作,我做了一个只包含进度条的小应用程序。现在,当我将该应用程序部署到模拟器时,它会按照预期在iOS模拟器上运行。

I've got my remote profile all setup and working, and I've made a small application that only contains a progress bar. Now, when I deploy that application to the simulator, it runs on the iOS simulator as expected.

但是,当我尝试部署到设备时,我得到以下内容错误;

However, when I try to deploy to a device, I get the following error;

[DCC Error] E2597 ld: warning: directory not found for option '-FC:\Users\Scott\Documents\RAD Studio\SDKs\iPhoneOS5.0.sdk\System\Library\PrivateFrameworks'

我尝试过Debug,Ad-hoc和App Store配置文件,但都返回相同的错误。文件夹PrivateFrameworks甚至不存在。 库文件夹中有一个称为框架,但没有别的。我认为这可能是一个错误的SDK库路径,但唯一一个这样的路径是'UIFoundation'。将路径更改为框架像其他人一样返回;

I've tried Debug, Ad-hoc, and App Store profiles, but they all return the same error. The folder 'PrivateFrameworks' doesn't even exist. There's one called 'Frameworks' in the 'Library' folder, but nothing else. I considered that maybe it's an incorrect SDK library path, but the only one with such a path is 'UIFoundation'. Changing the path to 'frameworks' like the others are returns this;

[DCC Error] E2597 ld: warning: can't parse __DATA/__objc_imageinfo section in C:\Users\Scott\Documents\RAD Studio\SDKs\iPhoneOS5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation

该文件存在(99KB),但是错误仍然存​​在(所以我认为更改SDK的lib路径不是正确的去做)。这是因为由于文件或文件夹问题,甚至没有尝试部署到mac进行编译。

That file DOES exist (99KB) but the error remains (and so I assume that changing the SDK lib path wasn't the right thing to do). It's like it's not even attempting to deploy over to the mac for compilation due to a file or folder issue.

任何想法?

推荐答案

我有同样的问题。发生在trtying部署到iOS 5.0模拟器(甚至不是iOS设备)时。
当您在XE4上为iOS 6.1设置SDK时,看起来UIFoundations(PrivateFrameworks)被拉过来并被缓存。
确保在首选项中安装了Xcode。重新启动Xcode(确保PA服务器正在运行)。在XE4上的选项中使用6.1 SDK设置连接配置文件,它可以正常工作。
希望这是有道理的,但它解决了我的问题。

I had extactly the same issue. It happened when trtying to deploy to the iOS 5.0 simulator (not even an iOS device). It appears that UIFoundations (PrivateFrameworks) gets pulled across and cached when you setup the SDK for iOS 6.1 on XE4. Make sure the sumulators are installed on Xcode in preferences. Restart Xcode (make sure the PA server is running). Setup a connection profile with the 6.1 SDK in options on XE4 and it works. Hope this makes sense but it solved my issue.

这篇关于XE4部署错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆