Finally, watching the logs in Xcode the problem was in:
Logo=LoadBitmap(File.DirAssets,"file2.png")
Changing file2.png by another file, it worked properly.
Today I had time to do some research.
The file that I was using, had the PNG extension but looking the header with a hex editor, was a JPG. Incredible
In XCode 7.2.1, like opening it with any graphic editor, it worked, but from Xcode 7.3 does not work.
Changing the extension to JPG or saving as real PNG it works.
It is a stupid problem but because of the different behaviour of the versions of XCode, it was confusing.