On Oct 11, 2016, at 11:47 , Alex Zavatone <email@hidden> wrote:
What's happening is that under Xcode 8, building and running our app on iOS 8 causes random malloc, invalid pointer and bad access exceptions in our iOS app.
The first time I used Xcode 8 with an existing project, I got “impossible” run-time crashes. I option-Cleaned the project, rebuilt everything and never had the problem again.
So, I recommend you make really, really sure you’re cleaned and rebuilt every component of your project. Also, note that Swift frameworks are NOT binary compatible across Swift compiler releases (not yet). You must recompile *all* Swift code when you change Xcode versions, if there’s a new version of Swift, as there usually is.
Considering how long it takes to download and install Xcode, I don't want to have to waste 1/2 a hour to download and install an Xcode 8 beta if I don't have to and knowledge can be shared. I would recommend installing the latest beta on *one* Mac, routinely. The download time isn’t important, since the download runs in the background, and the install time is down to about 5 minutes at most (well, with a SSD; maybe longer for obsolescent chiseled-stone-tablet disk storage). The important thing is to get into the habit of downloading *before* you’re in a crunch.
|