xcode12 – Updating iOS MLKit/Translate to 7.0.0 creates many undefined symbols on linking

xcode12 – Updating iOS MLKit/Translate to 7.0.0 creates many undefined symbols on linking


I’ve a broadcast iOS App utilizing MLKit/Translate, working effective beneath iOS 17.5. Once I up to date the pod to MLKit 7.0.0, and focusing on iOS 15.5, the pod fails to hyperlink with greater than 20 undefined symbols. The pod file.lock exhibits all pods at newest present variations, together with GoogleDataTransport, MLKitCore, MLKitCommon, and so on. The particular errors are:

_GULOSLogBasic", referenced from:
      _MLKLog in MLKitCommon[x86_64][7](MLKLogger.o)
  "_GULOSLogError", referenced from:
      -[GULCCComponentContainer populateComponentsFromRegisteredClasses:withContext:] in MLKitCommon[x86_64][212](GULCCComponentContainer.o)
      -[GULCCComponentContainer instantiateInstanceForProtocol:withBlock:] in MLKitCommon[x86_64][212](GULCCComponentContainer.o)
  "_OBJC_CLASS_$_GDTCORTransport", referenced from:
       in MLKitCommon[x86_64][6](MLKFirelogTransport.o)
  "_OBJC_CLASS_$_GTMLogMininumLevelFilter", referenced from:
       in MLKitCommon[x86_64][200](GIPLoggingReroutingGTMLogger.o)
  "_OBJC_CLASS_$_GTMLogger", referenced from:
       in MLKitCommon[x86_64][26](CCTClearcutUploader.o)
      _OBJC_CLASS_$_MLKITx_GIPLoggingReroutingGTMLogger in MLKitCommon[x86_64][200](GIPLoggingReroutingGTMLogger.o)
  "_OBJC_CLASS_$_GTMSessionCookieStorage", referenced from:
       in MLKitCommon[x86_64][26](CCTClearcutUploader.o)
  "_OBJC_CLASS_$_GTMSessionFetcher", referenced from:
       in MLKitCommon[x86_64][26](CCTClearcutUploader.o)
  "_OBJC_CLASS_$_GTMSessionFetcherService", referenced from:
       in MLKitCommon[x86_64][18](MLKModelDownloader.o)
  "_OBJC_CLASS_$_GTMStringEncoding", referenced from:
       in MLKitNaturalLanguage[x86_64][8](MLKFirebaseInstallationId.o)
  "_OBJC_CLASS_$_GULAppEnvironmentUtil", referenced from:
       in MLKitNaturalLanguage[x86_64][7](MLKDevice.o)
  "_OBJC_CLASS_$_GULUserDefaults", referenced from:
       in MLKitCommon[x86_64][2](MLKAnalyticsLogger.o)
  "_OBJC_CLASS_$_SSZipArchive", referenced from:
       in MLKitTranslate
  "_OBJC_METACLASS_$_GTMLogger", referenced from:
      _OBJC_METACLASS_$_MLKITx_GIPLoggingReroutingGTMLogger in MLKitCommon[x86_64][200](GIPLoggingReroutingGTMLogger.o)
  "_kGTMSessionFetcherStatusDomain", referenced from:
      ___69-[MLKModelDownloader beginModelDownloadWithURL:modelInfo:conditions:]_block_invoke.283 in MLKitCommon[x86_64][18](MLKModelDownloader.o)
      ___150-[MLKITx_PHTHeterodyneSyncer batchSyncWithAccounts:syncedScopes:fetchReason:throttlingCache:heterodyneSyncInfo:accountToAuthToken:lastError:callback:]_block_invoke in MLKitCommon[x86_64][48](PHTHeterodyneSyncer.o)
      ___91-[MLKITx_PHTInternalHeterodyneSyncer syncHoldingLockWithSyncedScopes:fetchReason:callback:]_block_invoke in MLKitCommon[x86_64][51](PHTInternalHeterodyneSyncer.o)
  "_unzClose", referenced from:
      -[MLKModelManager(Translate) downloadedTranslateModels] in MLKitTranslate
  "_unzCloseCurrentFile", referenced from:
      -[MLKModelManager(Translate) downloadedTranslateModels] in MLKitTranslate
  "_unzGetCurrentFileInfo", referenced from:
      -[MLKModelManager(Translate) downloadedTranslateModels] in MLKitTranslate
  "_unzGoToNextFile", referenced from:
      -[MLKModelManager(Translate) downloadedTranslateModels] in MLKitTranslate
  "_unzOpen", referenced from:
      -[MLKModelManager(Translate) downloadedTranslateModels] in MLKitTranslate
  "_unzOpenCurrentFile", referenced from:
      -[MLKModelManager(Translate) downloadedTranslateModels] in MLKitTranslate
  "_unzReadCurrentFile", referenced from:
      -[MLKModelManager(Translate) downloadedTranslateModels] in MLKitTranslate

Recommendations could be a lot appreciated!

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 
rooshohttps://www.roosho.com
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here


Latest Articles

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog.