一、问题表现:
在MAC OSX(10.9.2)上安装了比较新的XCODE5.1 和COMMAND LINE TOOLS
在DELPHI XE5 UP2上放了一个按钮,输出到MAC OSX上,出现:
Wrapper init failed: (null)
查看了很多大侠的博客。
二、问题的其他表现在Embarcadero的论坛上找到:
原文位置:https://forums.embarcadero.com/thread.jspa?threadID=101749&tstart=0
What does this mean and how can I correct it? I started getting this error today and I‘ve even tried going to a backup that used to work, and when that didn‘t work I tried creating a new Hello World app and that didn‘t work either. This is a on a Mac-In-Cloud machine that up until today was working. The target is iOS simulator, iPhone. This is using Delphi XE5 Update1 on Windows7. The SDK is iPhoneOS 7.0.3. Gary Error Unable to launch process on ‘LA204.macincloud.com‘ using the parameters from the ‘MacinCloud‘ profile. The following error was returned: ‘Wrapper init failed: (null)‘ |
三、解决方案:推荐是安装Hotfix 6 或者升级到XE6
错误的描述是:
[Xcode 5.1] iOS Simulator fails with wrapper init failed (null) error
Steps to Reproduce:
1. Run of iOS app from Delphi XE5 using Simulator fails with error ‘wrapper init failed (null)‘
2. PAServer is started and connection succeeds from the profile.
3. Xcode update was done prior to this problem occuring, but App store shows the Xcode is installed and does run.
4. Up until this update of Xcode the simulator worked fine.
When I go to [tools] [options] SDK Manager and select iOS [Update local file cache] I get error
Directory does not exist: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include/
I have reinstalled PAServer but that did not help.
附 Hotfix 6 for RAD Studio, Delphi, and C++Builder XE5 Update 2的说明:
Available to registered users of Delphi XE5, C++Builder XE5, RAD Studio XE5, and Embarcadero All-Access XE
This Hotfix resolves issues with iOS apps when using iOS SDK 7.1 and Xcode 5.1.
Updated on April 17, 2014 to address the issue on Mountain Lion as well.
原文位置: http://qc.embarcadero.com/wc/qcmain.aspx/qcmain.aspx?d=123133
DELPHI XE5 UP2 运行IOS 遇到 Wrapper init failed: (null)问题的解决办法