NaturalLanguage Example Code not working

I am examining the ability of NaturalLanguage to identify placeNames. I ran across the example code in the developer documentation here: https://developer.apple.com/documentation/naturallanguage/identifying_people_places_and_organizations

When I execute this example exactly as stated it does not function as expected. Running Xcode 14.3.1 on macOS Ventura 13.4. The code does not find a single tag of any kind in the sample text.

Can someone offer an explanation?

Answered by SwampDog in 756029022

After further investigation: The outcome described above was being run on a simulator. When the code is run on an actual device - it behaves as expected!

Accepted Answer

After further investigation: The outcome described above was being run on a simulator. When the code is run on an actual device - it behaves as expected!

NaturalLanguage Example Code not working
 
 
Q