我是iOS计算领域的新手,对此我表示敬意...
因此,我使用PCSOFT的Windev Mobile 20创建了一个跨平台项目(android / iOS)。它在android中运行良好,但是我无法用xCode来构建它。
第一次,构建成功,但是有一个警告:
警告:在路径'/Users/jeanbiasotto/Library/Developer/Xcode/DerivedData/ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku/Build/Products/Release->iphonesimulator/ECONAUTE.app'上创建LLDB目标时出错,这会导致缓慢的>从远程设备读取内存。
我通过将体系结构修改为标准体系结构(armv7,arm64)-$(ARCHS_STANDARD)找到了关于堆栈溢出的修复程序。
然后出现了新的错误,看来连接器失败了……:
Ld /Users/jeanbiasotto/Library/Developer/Xcode/DerivedData/ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku/Build/Products/Release-iphonesimulator/ECONAUTE.app/ECONAUTE normal x86_64 cd /Users/jeanbiasottoTE/DocumentH.DEH。
导出PATH =“/ Applications / Xcode.app / Contents / Developer / Platforms / iPhoneSimulator.plat> form / Developer / usr / bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/ usr /> local / 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 / FCONGENElib.x。 / Users / jeanbiasotto / Library / Developer / Xcode / DerivedData / ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku / Build / Products / Release-iphonesimulator -F / Users / jeanbiasotto / Documents / ECONAUTE.xcode.gen / lib -filelist / Users / Libr /Xcode/DerivedData/ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku/Build/Intermediates/ECONAUTE.build/Release-iphonesimulator/ECONAUTE.build/Objects-normal/x86_64/ECONAUTE.LinkFileList-> mios-simulator-version_min = 6.0 -Xlink Xlinker 2 -fobjc->链接运行时-框架AddressBook-框架MobileCoreServices-框架> CoreG raphics-框架SystemConfiguration-框架安全-框架> MediaPlayer-框架AVFoundation-框架UIKit-框架AddressBookUI->框架CoreFoundation-框架AudioToolbox-框架QuartzCore->框架CoreVideo-框架CoreMedia-框架ImageIO-框架> MessageUI-框架Foundation-框架CoreText -framework MapKit -liconv.2> -lwd200vm -lwd200obj -lwd200mat -lwd200xml -lwd200grf -lwd200hf -lwd200std-> lwd200com -lwd200sql -lwd200pnt -lwd200core -lwd200mdl -Xlinker-> /DerivedData/ECONAUTE-cspaqjjoybpnbjgjitexfqycmrku/Build/Intermediates/ECONAUTE.build/Release-iphonesimulator/ECONAUTE.build/Objects-normal/x86_64/ECONAUTE_dependency_info.dat -o / Users / jeanysjojDek / DeJuneQbps / Jeny_JyyJeryJeryJery / Build /产品/Release-iphonesimulator/ECONAUTE.app/ECONAUTE
ld:警告:忽略文件/Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200vm.a,缺少文件/Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200vm.a中的必需架构x86_64 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,缺少>文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200obj中的必需体系结构x86_64 .a(3片)
ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200xml.a,缺少>文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200xml中的必需体系结构x86_64 .a(3片)
ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200grf.a,缺少>文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200grf中的必需架构x86_64 .a(3片)
ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200hf.a,缺少>文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200hf中的必需架构x86_64 .a(3片)ld:>警告:
忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200std.a,缺少>文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200std.a(3中的必需架构x86_64片)
ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200com.a,缺少>文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200com中的必需架构x86_64 .a(3片)
ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200sql.a,缺少>文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200sql中的必需体系结构x86_64 .a(3片)
ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200pnt.a,缺少>文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200pnt中的必需体系结构x86_64 .a(3片)
ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200core.a,缺少>文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200core中的必需体系结构x86_64 .a(3片)
ld:警告:忽略文件> /Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200mdl.a,缺少文件/Users/jeanbiasotto/Documents/ECONAUTE.xcode.gen/lib/libwd200mdl中的必需架构x86_64。一个(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查看调用)
我完全迷路了...我不知道在哪里搜索...
一些帮助将不胜感激。
在此先感谢您的时间。
最佳答案
将Build Active Architecture Only
设置为NO
关于ios - Xcode无法建立我的项目,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/38610933/