Based on Cloud Anchors documentation, some additional configuration needed to be set in order to host cloud anchors.
I made some additions to my fork for my requirements, so I reverted main branch to the one before any change and created another branch for my requirements.
let configuration = GARSessionConfiguration();
configuration.cloudAnchorMode = .enabled;
arcoreSession?.setConfiguration(configuration, error: nil);
Based on Cloud Anchors documentation, some additional configuration needed to be set in order to host cloud anchors. I made some additions to my fork for my requirements, so I reverted main branch to the one before any change and created another branch for my requirements.