Worklight 项目:Xcode Undefined Symbols for Architecture Clang 错误中的错误
Worklight Project : Error in Xcode Undefined Symbols for Architecture Clang Error
我有一个带有 iPad 环境的 worklight 项目,当我 运行 这个时,我看到下面 xcode 上的链接错误,任何人都可以帮助解决这个问题,试过几次Whosebug 上的答案,但没有任何效果。
worklight 版本:- 6.1.0.01.20140922-2007
Xcode 版本:- 7.3
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_MainViewController", referenced from:
_OBJC_CLASS_$_CDVMainViewController in CDVMainViewController.o
"_OBJC_CLASS_$_WLCordovaAppDelegate", referenced from:
_OBJC_CLASS_$_MyAppDelegate in .o
"_OBJC_METACLASS_$_MainViewController", referenced from:
_OBJC_METACLASS_$_CDVMainViewController in CDVMainViewController.o
"_OBJC_METACLASS_$_WLCordovaAppDelegate", referenced from:
_OBJC_METACLASS_$_MyAppDelegate in .o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
您正在尝试为 64 位架构构建 Worklight 项目。
如果您想要 64 位支持,则需要更新您的 Worklight Studio 安装,该安装非常旧(2014 年)。
作为 IBM 客户,您可以从 IBM Fix Central 网站下载最新的可用 iFix。
我有一个带有 iPad 环境的 worklight 项目,当我 运行 这个时,我看到下面 xcode 上的链接错误,任何人都可以帮助解决这个问题,试过几次Whosebug 上的答案,但没有任何效果。
worklight 版本:- 6.1.0.01.20140922-2007 Xcode 版本:- 7.3
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_MainViewController", referenced from:
_OBJC_CLASS_$_CDVMainViewController in CDVMainViewController.o
"_OBJC_CLASS_$_WLCordovaAppDelegate", referenced from:
_OBJC_CLASS_$_MyAppDelegate in .o
"_OBJC_METACLASS_$_MainViewController", referenced from:
_OBJC_METACLASS_$_CDVMainViewController in CDVMainViewController.o
"_OBJC_METACLASS_$_WLCordovaAppDelegate", referenced from:
_OBJC_METACLASS_$_MyAppDelegate in .o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
您正在尝试为 64 位架构构建 Worklight 项目。
如果您想要 64 位支持,则需要更新您的 Worklight Studio 安装,该安装非常旧(2014 年)。
作为 IBM 客户,您可以从 IBM Fix Central 网站下载最新的可用 iFix。