Selling foreign apartment with a gain in the local currency, but USD equivalent of the proceeds will be less than was USD equivalent of the cost (loss). Any taxes?

I own an apartment overseas for many years. I leave in US 100% of the year (US tax resident). I am going to sell the apartment.  Its value in a local currency increased, however the local currency depreciated and in USD I will make a loss. Any tax implications? Any reporting needed at all? Any issues with transferring money into USA?