iphonesimulator
与iphoneos
构建合并,以便以后可以分发并用于两者?我尝试过lipo
,它投诉如下:
fatal error: lipo: can't figure out the architecture type of: *.metallib
而且,我也尝试过-destination generic/platform=iOS
,它似乎仅适用于iPhone,因此在针对模拟器运行时会输出以下内容:
Failed to created pipeline state, error Error Domain=CompilerError Code=1 "Target OS is incompatible: library was not compiled for the simulator" UserInfo={NSLocalizedDescription=Target OS is incompatible: library was not compiled for the simulator} -[MTLDebugRenderCommandEncoder setRenderPipelineState:]:1294: failed assertion `renderPipelineState must not be nil.'
哪个带给我我的问题-在这里我有什么选择?
任何建议都值得赞赏!
按照标题,有没有办法将iphonesimulator与iphoneos构建合并,因此以后可以分发并用于两者?我尝试过lipo,抱怨如下:致命错误:...