Xcode无法构建我的项目

时间:2016-07-27 10:52:58

标签: ios xcode

我是iOS计算界的新手,我为此道歉......

所以,我用PCSOFT的Windev Mobile 20创建了一个跨平台项目(android / iOS)。它在android中运行良好,但我无法使用xCode构建它。

第一次,构建成功但是有一个警告:

  

警告:在路径' / Users / jeanbiasotto / Library / Developer / Xcode / DerivedData / ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku / Build / Products / Release-> iphonesimulator / ECONAUTE.app' - 创建LLDB目标时出错一个空的LLDB目标,可能导致从远程设备读取缓慢的>内存。

我通过将架构修改为标准架构(armv7,arm64)找到了对stackoverflow的修复 - $(ARCHS_STANDARD)。

然后出现了新的错误,似乎Linker失败了......:

  

Ld /Users/jeanbiasotto/Library/Developer/Xcode/DerivedData/ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku/Build/Products/Release-iphonesimulator/ECONAUTE.app/ECONAUTE normal x86_64 cd /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen export IPHONEOS_DEPLOYMENT_TARGET = 6.0      export PATH =" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.plat> form / Developer / usr / bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/ usr / >本地/ bin中:在/ usr / bin中:/ bin中:/ usr / sbin目录:/ sbin目录"

     
    

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/>usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D> ; eveloper / SDKs / iPhoneSimulator9.3.sdk -L / Users / jeanbiasotto / Library / Developer / Xcode / DerivedData / ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku / Build / Products / Release-iphonesimulator -L / Users / jeanbiasotto / Documents / ECONAUTE.xcode.gen / lib -F / Users / jeanbiasotto / Library / Developer / Xcode / DerivedData / ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku / Build / Products / Release-iphonesimulator -F / Users / jeanbiasotto / Documents / ECONAUTE.xcode.gen / lib -filelist / Users / jeanbiasotto /Library/Developer/Xcode/DerivedData/ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku/Build/Intermediates/ECONAUTE.build/Release-iphonesimulator/ECONAUTE.build/Objects-normal/x86_64/ECONAUTE.LinkFileList - > mios-simulator-version-min = 6.0 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-> link-runtime -framework AddressBook -framework MobileCoreServices -f ramework> CoreGraphics -framework SystemConfiguration -framework Security -framework> MediaPlayer -framework AVFoundation -framework UIKit -framework AddressBookUI-> framework CoreFoundation -framework AudioToolbox -framework QuartzCore - > framework CoreVideo -framework CoreMedia -framework ImageIO -framework> MessageUI -framework Foundation -framework CoreText -framework MapKit -liconv.2> -lwd200vm -lwd200obj -lwd200mat -lwd200xml -lwd200grf -lwd200hf -lwd200std - > lwd200com -lwd200sql -lwd200pnt -lwd200core -lwd200mdl -Xlinker - > dependency_info -Xlinker /Users/jeanbiasotto/Library/Developer/Xcode/DerivedData/ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku/Build/Intermediates/ECONAUTE.build/Release-iphonesimulator/ECONAUTE.build/Objects-normal/x86_64/ECONAUTE_dependency_info.dat -o / Users / jeanbiasotto / Library /Developer/Xcode/DerivedData/ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku/Build/Products/Release-iphonesimulator/ECONAUTE.app/ECONAUTE

  
     

ld:警告:忽略文件/Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200vm.a,文件中缺少必需的体系结构x86_64 /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200vm .a(3片)   ld:警告:忽略文件/Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200mat.a,缺少文件/Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200mat.a中所需的体系结构x86_64( 3片)   ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200obj.a,缺少>文件中所需的架构x86_64> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/ lib / libwd200obj.a(3片)   ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200xml.a,缺少>文件中所需的架构x86_64> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/ lib / libwd200xml.a(3片)   ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200grf.a,缺少>文件中所需的架构x86_64> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/ lib / libwd200grf.a(3片)   ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200hf.a,缺少>文件中所需的架构x86_64> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/ lib / libwd200hf.a(3个切片)ld:>警告:   忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200std.a,缺少>文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200std中所需的架构x86_64。 a(3片)   ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200com.a,缺少>文件中所需的架构x86_64> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/ lib / libwd200com.a(3片)   ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200sql.a,缺少>文件中所需的架构x86_64> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/ lib / libwd200sql.a(3片)   ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200pnt.a,缺少>文件中所需的架构x86_64> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/ lib / libwd200pnt.a(3片)   ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200core.a,缺少>文件中所需的架构x86_64> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/ lib / libwd200core.a(3片)   ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200mdl.a,缺少>文件中所需的体系结构x86_64 /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/ libwd200mdl.a(3片)   架构x86_64的未定义符号:    " InitModule(_stMyModuleInfo const *)",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " LoadWDLFile(NSString *)",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " OBJ_InitIOS(UIWindow *,bool)",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " InitInstance()",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " InitAppLaunchOptions(NSDictionary *)",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " InitInternalLanguage(int)",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " ExecDidEnterBackground()",引自:         - WDAppDelegate.o中的[WDAppDelegate applicationDidEnterBackground:]    " ExecWillEnterForeground()",引自:         - WDAppDelegate.o中的[WDAppDelegate applicationWillEnterForeground:]    " OBJ_SendApplicationDidBecomeActive()",引自:         - WDAppDelegate.o中的[WDAppDelegate applicationDidBecomeActive:]    " OBJ_SendApplicationWillResignActive()",引自:         - WDAppDelegate.o中的[WDAppDelegate applicationWillResignActive:]    " InitExec()",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " TermExec()",引自:         - WDAppDelegate.o中的[WDAppDelegate applicationWillTerminate:]    " _gstMyModuleInfo1",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " _gstMyModuleInfo10",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " _gstMyModuleInfo28",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " _gstMyModuleInfo3",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " _gstMyModuleInfo4",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " _gstMyModuleInfo6",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " _gstMyModuleInfo61",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " _gstMyModuleInfo68",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " _gstMyModuleInfo7",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " _gstMyModuleInfo70",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]    " _gstMyModuleInfo8",引自:         - > WDAppDelegate.o中的[WDAppDelegate应用程序:didFinishLaunchingWithOptions:]   ld:找不到架构x86_64的符号   clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

我完全迷失了...我不知道在哪里搜索......

非常感谢一些帮助。

提前感谢您的时间。

2 个答案:

答案 0 :(得分:2)

Build Active Architecture Only设为NO

enter image description here

答案 1 :(得分:0)

非常感谢您的回答。

我尝试了很多东西,这个错误功能的真正原因是Xcode不是最新的。 我安装了Xcode 8.2,问题得到解决。