Reputation: 461
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?
Upvotes: 8
Views: 2533
Reputation: 2636
I had the same issue with my application which used SDL framework.
I've fixed it by adding CFBundleSupportedPlatforms
key as a dict with a single MacOSX
value into any Info.plist file in any framework I copied into my binary.
Upvotes: 0
Reputation: 4922
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.
Upvotes: 2