When I build and run my iOS app with Xcode 16.0 RC (16A242), it fails to run on both a physical iPhone (running iOS 18.0) and any iOS simulator (17.5, 18.0 RC tested). To be clear, this is an issue when running – there are zero build errors, and compilation always completes successfully.
The same app, building and running from Xcode 15.4 (15F31d) runs on both a physical iPhone (same OS version) and an iOS simulator (same version) with no issues, and is currently deployed to TestFlight with no crashes at launch reported from users.
Xcode 16's console logs the following:
warning: (arm64) /Users/seb/Library/Developer/Xcode/DerivedData/Feed-bvzobcgzcnaibqbcwiasvpoxsetu/Build/Products/Debug-iphonesimulator/Feed.app/Feed empty dSYM file detected, dSYM was created with an executable with no debug info.
No entry point found. Checked '(null)'
I've so far tried a clean build, as well as clearing out my derived data folder entirely. Happy to provide any more info.
Does anyone have any pointers as where I even start to debug this issue and narrow down on what's going on with Xcode 16?
Solution found. My 'Other Linker Flags’ build setting was set to -Wl -exported_symbols_list /dev/null
since earlier in the year, when I was testing app size reductions. This worked fine with local builds with Xcode 15, but just started causing an issue with local builds using Xcode 16. Removing this custom build setting value fixes my issue entirely.