Xcode error: undefined symbol (Link unityframework arm64) 100 errors

I am using Xcode version 13.0 beta Unity Version 2022.3.8.f1

After solving the semantic errors I am now getting 100 different errors

Link UnityFramework (arm64)

Showing All Messages Undefined symbol: _objc_msgSend$onDisconnectUpdateChildValues:withCompletionBlock:

Undefined symbol: _objc_msgSend$onDisconnectSetValue:andPriority:withCompletionBlock:

Undefined symbol: _objc_msgSend$onDisconnectSetValue:withCompletionBlock:

Undefined symbol: _objc_msgSend$cancelDisconnectOperationsWithCompletionBlock:

Undefined symbol: _objc_msgSend$updateChildValues:withCompletionBlock:

Undefined symbol: _objc_msgSend$setValue:andPriority:withCompletionBlock:

Undefined symbol: _objc_msgSend$setValue:withCompletionBlock:

Undefined symbol: _objc_msgSend$abort

Undefined symbol: _objc_msgSend$runTransactionBlock:andCompletionBlock:

Undefined symbol: _objc_msgSend$childByAutoId

Undefined symbol: _objc_msgSend$child:

Undefined symbol: _objc_msgSend$parent

Undefined symbol: _objc_msgSend$hasChild:

Undefined symbol: _objc_msgSend$hasChildren

Undefined symbol: _objc_msgSend$setValue:

Undefined symbol: _objc_msgSend$hasChildAtPath:

Undefined symbol: _objc_msgSend$key

Undefined symbol: _objc_msgSend$children

Undefined symbol: _objc_msgSend$childDataByAppendingPath:

Undefined symbol: OBJC_CLASS$_FIRDatabase

Undefined symbol: _objc_msgSend$setLoggingEnabled:

Undefined symbol: _objc_msgSend$setPersistenceEnabled:

Undefined symbol: _objc_msgSend$purgeOutstandingWrites

Undefined symbol: _objc_msgSend$goOnline

Undefined symbol: _objc_msgSend$goOffline

Undefined symbol: _objc_msgSend$databaseForApp:

Undefined symbol: _objc_msgSend$queryLimitedToLast:

Undefined symbol: _objc_msgSend$queryEqualToValue:

Undefined symbol: _objc_msgSend$queryEndingAtValue:childKey:

Undefined symbol: _objc_msgSend$queryEndingAtValue:

Undefined symbol: _objc_msgSend$queryOrderedByValue

Undefined symbol: _objc_msgSend$queryOrderedByKey

Undefined symbol: _objc_msgSend$keepSynced:

Undefined symbol: _objc_msgSend$childListener

Undefined symbol: _objc_msgSend$observeEventType:withBlock:withCancelBlock:

Undefined symbol: _objc_msgSend$addObserverHandle:

Undefined symbol: _objc_msgSend$databaseForApp:URL:

Undefined symbol: _objc_msgSend$databaseInternal

Undefined symbol: _objc_msgSend$valueListener

Undefined symbol: _objc_msgSend$initWithDatabase:andQuery:andValueListener:andChildListener:

Undefined symbol: _objc_msgSend$setValueListener:

Undefined symbol: _objc_msgSend$removeAllObservers

Undefined symbol: _objc_msgSend$state

Undefined symbol: _objc_msgSend$bannerClient

Undefined symbol: _objc_msgSend$removeAllObjects

Undefined symbol: _objc_msgSend$lock

Undefined symbol: _objc_msgSend$unlock

Undefined symbol: _objc_msgSend$initWithFormat:

Undefined symbol: _objc_msgSend$setValue:forKey:

Undefined symbol: _objc_msgSend$numberWithBool:

Undefined symbol: _objc_msgSend$testDeviceIdentifiers

Undefined symbol: _objc_msgSend$initWithCapacity:

Undefined symbol: _objc_msgSend$bytes

Undefined symbol: _objc_msgSend$setAppEventCallback:

Undefined symbol: _objc_msgSend$objCType

Undefined symbol: _objc_msgSend$initWithBannerClientReference:adUnitID:adSize:adPosition:

Undefined symbol: _objc_msgSend$initWithGoogleAppID:GCMSenderID:

Undefined symbol: _objc_msgSend$isAnonymous

Undefined symbol: _objc_msgSend$presentFromRootViewController:userDidEarnRewardHandler:

Undefined symbol: _objc_msgSend$metadata

Undefined symbol: _objc_msgSend$creationDate

Undefined symbol: _objc_msgSend$willPresentCallback

Undefined symbol: _objc_msgSend$isEmailVerified

Undefined symbol: _objc_msgSend$setPaidEventCallback:

Undefined symbol: _objc_msgSend$timeIntervalSince1970

Undefined symbol: OBJC_CLASS$_GADRequest

Undefined symbol: _objc_msgSend$reloadWithCompletion:

Undefined symbol: _objc_msgSend$profileChangeRequest

Undefined symbol: _objc_msgSend$setDisplayName:

Undefined symbol: _objc_msgSend$absoluteString

Undefined symbol: _objc_msgSend$presentFromViewController:completionHandler:

Undefined symbol: _objc_msgSend$sendEmailVerificationWithCompletion:

Undefined symbol: _objc_msgSend$objectAtIndexedSubscript:

Undefined symbol: _objc_msgSend$URLWithString:

Undefined symbol: _objc_msgSend$phoneNumber

Undefined symbol: _objc_msgSend$photoURL

Undefined symbol: _objc_msgSend$displayName

Undefined symbol: _objc_msgSend$removeBannerView

Undefined symbol: _objc_msgSend$setProjectID:

Undefined symbol: _objc_msgSend$email

Undefined symbol: _objc_msgSend$stringByAddingPercentEscapesUsingEncoding:

Undefined symbol: _objc_msgSend$providerData

Undefined symbol: _objc_msgSend$getIDTokenForcingRefresh:completion:

Undefined symbol: OBJC_CLASS$_FIRAuth

Undefined symbol: _objc_msgSend$adDidDismissFullScreenContentCallback

Undefined symbol: _objc_msgSend$signOut:

Undefined symbol: _objc_msgSend$signInWithEmail:password:completion:

Undefined symbol: _objc_msgSend$tagForChildDirectedTreatment

Undefined symbol: _objc_msgSend$signInWithCredential:completion:

Undefined symbol: _objc_msgSend$adPosition

Undefined symbol: _objc_msgSend$setAPIKey:

Undefined symbol: _objc_msgSend$signInWithCustomToken:completion:

Undefined symbol: _objc_msgSend$initWithDomain:code:userInfo:

Undefined symbol: _objc_msgSend$UTF8String

Undefined symbol: _objc_msgSend$providerWithProviderID:auth:

Undefined symbol: _objc_msgSend$user

Undefined symbol: _objc_msgSend$interstitialAdGAM

Undefined symbol: _objc_msgSend$linkWithCredential:completion:

Undefined symbol: _objc_msgSend$providerID

Undefined symbol: _objc_msgSend$username

You can check the image.

Replies

I am using Xcode version 13.0 beta Unity Version 2022.3.8.f1

What does the “beta” mean here? Does it apply to the Xcode? Or to your third-party tools?

Also, are you really using Xcode 13? That’s coming up on three years old now. You won’t, for example, be able to submit to the iOS App Store using that release.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hello Quinn. I have downloaded this version from https://xcodereleases.com/ I am using old Macbook. Does this mean by using Xcode 13 I can't publish the App to App store?

Also I am using the firebase on my Unity game. Do you think those errors are because of firebase?

Oh gosh, don’t download Xcode from non-Apple sites. That can end very badly. If you need an old version, get it from Developer > Downloads. Click More (at the top right) get to the archive.

Does this mean by using Xcode 13 I can't publish the App to App store?

Correct. Currently the App Store requires that you build apps with Xcode 14, but App Review has announced that this will increas to Xcode at the end of April. See this Developer > News item.

Also I am using the firebase on my Unity game. Do you think those errors are because of firebase?

I’ve no idea, sorry.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@eskimo I have uninstalled the old Xcode and redownload Xcode 13.2 from apple official site. Also I have removed the firebase and still getting this Error. Please help.

Showing All Messages Undefined symbol: OBJC_CLASS$_GAMRequest

Undefined symbol: _objc_msgSend$setCustomTargeting:

Undefined symbol: _objc_msgSend$categoryExclusions

Undefined symbol: OBJC_CLASS$_GAMInterstitialAd

Undefined symbol: _objc_msgSend$interstitialAdGAM

Undefined symbol: OBJC_CLASS$_GADRewardedInterstitialAd

Undefined symbol: _objc_msgSend$setRewardedInterstitialAd:

Undefined symbol: _objc_msgSend$didEarnRewardCallback

Undefined symbol: _objc_msgSend$presentFromRootViewController:userDidEarnRewardHandler:

Undefined symbol: _objc_msgSend$setRewardedAd:

Undefined symbol: OBJC_CLASS$_GADRequest

Undefined symbol: _objc_msgSend$setKeywords:

Undefined symbol: _objc_msgSend$requestAgent

Undefined symbol: _objc_msgSend$registerAdNetworkExtras:

Undefined symbol: _objc_msgSend$extras

Undefined symbol: _objc_msgSend$stringWithFormat:

Undefined symbol: _objc_msgSend$objectForKey:

Undefined symbol: OBJC_CLASS$_GADInterstitialAd

Undefined symbol: _objc_msgSend$interstitialAd

Undefined symbol: _objc_msgSend$loadWithAdUnitID:request:completionHandler:

Undefined symbol: OBJC_CLASS$_UMPDebugSettings

Undefined symbol: OBJC_CLASS$_UMPRequestParameters

Undefined symbol: _objc_msgSend$debugSettings

Undefined symbol: OBJC_CLASS$_UMPConsentInformation

Undefined symbol: OBJC_CLASS$_GADExtras

Undefined symbol: _objc_msgSend$countByEnumeratingWithState:objects:count:

Undefined symbol: _objc_msgSend$presentFromViewController:completionHandler:

Undefined symbol: _objc_msgSend$loadWithCompletionHandler:

Undefined symbol: _objc_msgSend$adClickedCallback

Undefined symbol: _objc_msgSend$adFailedCallback

Undefined symbol: _objc_msgSend$description

Undefined symbol: _objc_msgSend$currencyCode

Undefined symbol: _objc_msgSend$customAdPosition

Undefined symbol: _kGADAdSizeSmartBannerPortrait

Undefined symbol: _objc_msgSend$frame

Undefined symbol: _objc_msgSend$bannerView

Undefined symbol: _objc_msgSend$bannerClient

Undefined symbol: _objc_msgSend$adaptiveAdSizeForWidth:orientation:

Undefined symbol: _objc_msgSend$adSizeForWidth:height:

Undefined symbol: _objc_msgSend$interstitialClient

Undefined symbol: _objc_msgSend$initWithBannerClientReference:adUnitID:adSize:adPosition:

Undefined symbol: _objc_msgSend$setAppEventDelegate:

Undefined symbol: _objc_msgSend$adWillPresentFullScreenContentCallback

Undefined symbol: _objc_msgSend$adDidDismissFullScreenContentCallback

Undefined symbol: _objc_msgSend$setAdFailedToLoadCallback:

Undefined symbol: _objc_msgSend$presentFromRootViewController:

Undefined symbol: _objc_msgSend$adFailedToPresentFullScreenContentCallback

Undefined symbol: _objc_msgSend$adFailedToLoadCallback

Undefined symbol: _objc_msgSend$paidEventCallback

Undefined symbol: _objc_msgSend$allKeys

Undefined symbol: OBJC_CLASS$_GADAppOpenAd

Undefined symbol: _objc_msgSend$cStringUsingEncoding:

Undefined symbol: _objc_msgSend$setAppOpenAd:

Undefined symbol: _objc_msgSend$setInterstitialAdGAM:

Undefined symbol: _objc_msgSend$request

Undefined symbol: _objc_msgSend$setFullScreenContentDelegate:

Undefined symbol: _objc_msgSend$adReceivedCallback

Undefined symbol: _objc_msgSend$testDeviceIdentifiers

Undefined symbol: _objc_msgSend$appOpenAd

Undefined symbol: _objc_msgSend$setPaidEventHandler:

Undefined symbol: _objc_msgSend$setDelegate:

Undefined symbol: _objc_msgSend$appOpenAdClient

Undefined symbol: _objc_msgSend$rewardedInterstitialAdClient

Undefined symbol: _objc_msgSend$didDismissCallback

Undefined symbol: _objc_msgSend$loadWithAdUnitID:request:orientation:completionHandler:

Undefined symbol: OBJC_CLASS$_GADBannerView

Undefined symbol: _GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth

Undefined symbol: _GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth

Undefined symbol: _objc_msgSend$show

Undefined symbol: _objc_msgSend$adDidRecordImpressionCallback

Undefined symbol: _objc_msgSend$window

Undefined symbol: _GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth

Undefined symbol: _objc_msgSend$setCustomTargetingWithKey:value:

Undefined symbol: _GADAdSizeFullWidthPortraitWithHeight

Undefined symbol: _objc_msgSend$positionView:inParentView:customPosition:

Undefined symbol: _objc_msgSend$setCenter:

Undefined symbol: _kGADAdSizeSmartBannerLandscape

Undefined symbol: _GADAdSizeEqualToSize

Undefined symbol: _CGSizeFromGADAdSize

Undefined symbol: _objc_msgSend$isOperatingSystemAtLeastVersion:

Undefined symbol: _objc_msgSend$safeAreaLayoutGuide

Undefined symbol: _objc_msgSend$positionBannerView

Undefined symbol: _objc_msgSend$loadFormWithCompletionHandler:

Undefined symbol: _objc_msgSend$initWithConsentFormClientReference:

Undefined symbol: _objc_msgSend$setObject:forKey:

Undefined symbol: _objc_msgSend$willPresentCallback

Undefined symbol: _objc_msgSend$reset

Undefined symbol: _objc_msgSend$isConsentFormAvailable

Undefined symbol: _objc_msgSend$requestConsentInfoUpdateWithParameters:completionHandler:

Undefined symbol: _objc_msgSend$setDebugSettings:

Undefined symbol: _objc_msgSend$adReward

Undefined symbol: _GADAdSizeFromCGSize

Undefined symbol: OBJC_CLASS$_GADServerSideVerificationOptions

Undefined symbol: _objc_msgSend$code

Undefined symbol: OBJC_CLASS$_GADMobileAds

Undefined symbol: _objc_msgSend$adUnitMapping

Undefined symbol: _objc_msgSend$adSourceID

Undefined symbol: _objc_msgSend$value

Undefined symbol: _GADErrorUserInfoKeyResponseInfo

Undefined symbol: _objc_msgSend$localizedDescription

I have uninstalled the old Xcode and redownload Xcode 13.2 from apple official site.

Cool.

Also I have removed the firebase and still getting this Error.

Are you sure that the third-party tools you’re using are supported on this old version of Xcode?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@eskimo I have fixed this error by installing the cocoapods on the project folder and now another surprise. I am now getting this error.

https://developer.apple.com/forums/thread/747387#747387021