Bug? Xcode 7.3 problem (SOLVED)

Jaume Guillem

Member
Licensed User
Longtime User
Yesterday I updated Xcode from 7.2.1 to 7.3 and several of my applications stopped working.
Working with my ipad with development certificates, applications crash in milliseconds. Simply open and close. Some others work well.
Unfortunately did not have time to do more tests and find the problem, so I uninstalled version 7.3 and install the 7.2.1 and everything works properly.

It is a known problem?
 

Jaume Guillem

Member
Licensed User
Longtime User
I'm unable to reproduce it. Seems to work fine in both debug mode and release mode.

If you do upgrade again then connect the device to the Mac and check the logs in Xcode to see whether there are any relevant messages.
Ok. I'll try in a few days.
Thank you
 

Jaume Guillem

Member
Licensed User
Longtime User
Finally, watching the logs in Xcode the problem was in:
B4X:
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.
 
Last edited:
Top