Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CFBundleSupportedPlatforms issue

On existing project that always built without issue on 10.10/Xcode 6 I am now getting this error with 10.11/Xcode 7:

Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for myBinary

I have 3 pre-complied binaries inside of my project. They do have their own entitlements files and they are codesigned but they do not have their own Info.plist. I tried adding CFBundleSupportedPlatforms to the main Info.plist with the value MacOSX but it's not resolving the issue. Any ideas?

like image 214
rick Avatar asked Oct 07 '15 05:10

rick


1 Answers

I got it working. I happen to be using Carthage to manage some framework dependencies, which gives you the dSYM files. The solution for me was to ensure I was not including any of the dSYM files that Carthage will generate for you into the app's resource bundle.

like image 193
AJ Venturella Avatar answered Sep 18 '22 11:09

AJ Venturella