gpt4 book ai didi

ios - xcode 中的 iphonesimulator(未找到 SDK)错误

转载 作者:可可西里 更新时间:2023-11-01 03:21:26 25 4
gpt4 key购买 nike

一段时间以来,我一直在努力解决这个问题。我尝试为模拟器构建的原因是在 appstore 中现在需要的 4 英寸视网膜显示屏上获取屏幕截图。我正在制作一个统一的应用程序,我从论坛上看到人们成功地制作了模拟器版本。

在为 iphone/ipad 进行常规构建时,我没有任何错误,但是打开我的项目(在统一中它被标记为模拟器)并尝试将其构建到模拟器失败并出现链接器错误(见下文)。很明显,“iphonesimulator (SDK not found)”消息出现在 Architecture -> Base SDK selection list 中。尽管在检查首选项 -> 下载时,所有模拟器都已安装。我可以手动启动模拟器

我是 iphone/ipad 开发的初学者,尤其是在 Xcode 中,我在论坛中搜索有关此问题的信息,但没有找到任何可以解决我的问题的方法。有人能指出我正确的方向吗?我应该尝试什么,我应该在哪里寻找错误?

谢谢!

ld: warning: directory not found for option '-L"/Users/mirko/Dropbox/Unity'
ld: warning: directory not found for option '-LProjects/Project3D'
ld: warning: directory not found for option '-LProject/Project3D/Builds/iOS/S3D"'
ld: warning: directory not found for option '-L"/Users/mirko/Dropbox/Unity'
ld: warning: directory not found for option '-LProjects/Project3D'
ld: warning: directory not found for option '-LProject/Project3D/Builds/iOS/S3D/Libraries"'
0 0x10a87b098 __assert_rtn + 144
1 0x10a87e431 mach_o::relocatable::Section<x86>::addRelocFixup(mach_o::relocatable::Parser<x86>&, macho_relocation_info<Pointer32<LittleEndian> > const*) + 1781
2 0x10a88e636 mach_o::relocatable::Section<x86>::makeFixups(mach_o::relocatable::Parser<x86>&, mach_o::relocatable::Parser<x86>::CFI_CU_InfoArrays const&) + 90
3 0x10a88aaad mach_o::relocatable::Parser<x86>::parse(mach_o::relocatable::ParserOptions const&) + 1433
4 0x10a8820c3 mach_o::relocatable::Parser<x86>::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 313
5 0x10a87faa1 mach_o::relocatable::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 149
6 0x10a8a033a archive::File<x86>::makeObjectFileForMember(archive::File<x86>::Entry const*) const + 794
7 0x10a89fb50 archive::File<x86>::forEachAtom(ld::File::AtomHandler&) const + 198
8 0x10a8b176c ld::tool::InputFiles::forEachInitialAtom(ld::File::AtomHandler&) + 420
9 0x10a8ba884 ld::tool::Resolver::resolve() + 44
10 0x10a87b380 main + 370
11 0x10a86ccd4 start + 52
A linker snapshot was created at:
/tmp/Project3DSystem-2013-02-20-134511.ld-snapshot
ld: Assertion failed: (src.atom != NULL), function addRelocFixup, file /SourceCache/ld64/ld64-136/src/ld/parsers/macho_relocatable_file.cpp, line 5468.

最佳答案

我的项目中也有类似的问题,但我没有使用 Unity3D。我找到了一些与此相关的 Material :

Yes,I had met this problem at my frist time to run a game on simulator. At last I found the SDK version must be the same .if you selected 4.1 in unity3d, then you must run it on 4.1 version simulator. Does it give you any helps?

原文链接:iphonesimulator (SDK not found)

关于ios - xcode 中的 iphonesimulator(未找到 SDK)错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15565765/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com