如何解决icu4c无法在iphonesimulator平台中使用Xcode12 beta-6latest进行构建
我正在尝试在最新的Xcode-12 beta 6(截至2020年9月8日)中构建icu4c。 我的应用使用了icu,并试图确保在发布新的iOS时成功构建我的应用。
构建因此错误而失败
CREATE TABLE TableA
(
ID bigint identity
constraint PK_TableA_ID
primary key
Col1 int,Col2 int,Col3 int
)
CREATE TABLE TableB
(
ID [int] NOT NULL,SomeColumn [int] NOT NULL,TableAID [bigint] NOT NULL
);
CREATE TABLE TableC
(
ID [int] IDENTITY (1,1) NOT NULL,Col1 [int],Col2 [int],Col3 [int],);
试图对此进行评论以进一步进行操作,并确定是否还有其他错误并产生了错误:
"There is wchar.h but the size of wchar_t is 0"
iPhoneSimulator SDK本身是否存在这些问题?使用最新的Xcode12 beta是否有其他人遇到类似的问题?
以下是一些参考资料,我可以在深入学习中找到:
- Problem with cross compiling icu 看来问题已经发生过了。
我试图检查标题中wchar_t类型的定义,
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/arm/OSByteOrder.h:15:1: error:
redefinition of '_OSSwapInt16'
_OSSwapInt16(
^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/usr/include/libkern/i386/_OSByteOrder.h:46:1: note:
previous definition is here
_OSSwapInt16(
^
但是,发现此和以前的Xcode11标头之间没有区别,并且两者都在更深层次中将int定义为wchar_t。 (基于简单的忽略)
预先感谢!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。