Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios端,Flutter 产物集成,编译报错 #78

Open
mlch911 opened this issue Dec 8, 2023 · 0 comments
Open

ios端,Flutter 产物集成,编译报错 #78

mlch911 opened this issue Dec 8, 2023 · 0 comments

Comments

@mlch911
Copy link

mlch911 commented Dec 8, 2023

源码集成没有问题,把 Flutter 整体打包为 framework 后,ios 工程编译报错。

ld: Undefined symbols:
  _OBJC_CLASS_$_TRTCAudioRecordingParams, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCCloud, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCLocalRecordingParams, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCLocalStatistics, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCMixUser, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCNetworkQosParam, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCParams, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCPublishCDNParam, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCPublishCdnUrl, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCPublishTarget, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCQualityInfo, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCRemoteStatistics, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCRenderParams, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCStreamEncoderParam, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCStreamMixingConfig, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCSwitchRoomConfig, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCTranscodingConfig, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCUser, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCVideoEncParam, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCVideoLayout, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCVolumeInfo, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TRTCWatermark, referenced from:
       in tencent_trtc_cloud[9](CloudManager.o)
  _OBJC_CLASS_$_TXAudioMusicParam, referenced from:
       in tencent_trtc_cloud[7](AudioEffectManager.o)
  _txf_log, referenced from:
      _txf_log_swift in tencent_trtc_cloud[5](txg_log-d36156ff53b70e840cbf3a25708c9e60.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant