Unity导出的iOS工程,合并到Xcode9里面报错,请问如何解决?

0 投票
最新提问 11月 7, 2017 用户: thomasyang (160 分)
错误信息如下

Undefined symbols for architecture arm64:

  "_kCMFormatDescriptionExtension_Depth", referenced from:

      AVFoundationUtilities::VideoTrackHasAlpha(AVAssetTrack const*) in libiPhone-lib.a(AVFoundationUtilities.o)

  "_CMFormatDescriptionGetMediaSubType", referenced from:

      AVFoundationUtilities::VideoTrackHasAlpha(AVAssetTrack const*) in libiPhone-lib.a(AVFoundationUtilities.o)

  "_AudioUnitRender", referenced from:

      FMOD::OutputCoreAudio::updateRecord(unsigned int*, AudioTimeStamp const*, unsigned int, unsigned int) in libiPhone-lib.a(fmod_output_coreaudio.o)

  "_AudioComponentInstanceDispose", referenced from:

      FMOD::OutputCoreAudio::reset(bool, bool) in libiPhone-lib.a(fmod_output_coreaudio.o)

      FMOD::OutputCoreAudio::close() in libiPhone-lib.a(fmod_output_coreaudio.o)

      FMOD::OutputCoreAudio::recordStop(FMOD::FMOD_RECORDING_INFO*) in libiPhone-lib.a(fmod_output_coreaudio.o)

  "_AudioComponentInstanceNew", referenced from:

      FMOD::OutputCoreAudio::setupAudioUnit(unsigned int, unsigned int) in libiPhone-lib.a(fmod_output_coreaudio.o)

      FMOD::OutputCoreAudio::recordStart(FMOD::FMOD_RECORDING_INFO*, FMOD::Sound*, bool) in libiPhone-lib.a(fmod_output_coreaudio.o)

  "_AudioUnitSetProperty", referenced from:

      FMOD::OutputCoreAudio::setupAudioUnit(unsigned int, unsigned int) in libiPhone-lib.a(fmod_output_coreaudio.o)

      FMOD::OutputCoreAudio::recordStart(FMOD::FMOD_RECORDING_INFO*, FMOD::Sound*, bool) in libiPhone-lib.a(fmod_output_coreaudio.o)

  "_AudioUnitInitialize", referenced from:

      FMOD::OutputCoreAudio::setupAudioUnit(unsigned int, unsigned int) in libiPhone-lib.a(fmod_output_coreaudio.o)

      FMOD::OutputCoreAudio::recordStart(FMOD::FMOD_RECORDING_INFO*, FMOD::Sound*, bool) in libiPhone-lib.a(fmod_output_coreaudio.o)

  "_AVAudioSessionRouteChangeReasonKey", referenced from:    ____ZN4FMOD15OutputCoreAudio19prepareAudioSessionE27FMOD_IPHONE_SESSIONCATEGORYbb_block_invoke in libiPhone-lib.a(fmod_output_coreaudio.o)

      FMOD::OutputCoreAudio::handleRouteChange(__CFDictionary const*) in libiPhone-lib.a(fmod_output_coreaudio.o)

2 个回答

0 投票
最新回答 11月 8, 2017 用户: albert52 (37,800 分)
Hi,

根据你的报错信息来看,说明项目某些地方不支持arm64.

参考:http://blog.csdn.net/zuoyou1314/article/details/46638073
0 投票
最新回答 11月 8, 2017 用户: thomasyang (160 分)
自己回来补充一下吧,Xcode9里面添加的FrameWork的属性设置里面的Target Membership需要勾选上
欢迎来到 EasyAR Q&A ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...