CFBundleSupportedPlatforms issue

Hi,


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?

Same issue here for some helper binaries that I include with the program. Looking for a fix?

Any solution to this yet? We received a reject because of this for a testflight build...

how did you even get it to submit? mine always fails in xcode...

similar problem here:

2015-10-06 22:28:05.001 xcodebuild[5061:323050] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-8208/DVTFoundation/FoundationClassCategories/DVTNSBundleAdditions.m:45

Details: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" UserInfo={NSLocalizedDescription=Could not open /Users/davec/Developer/depot/kJams/Development/build/kJams Lite.app, NSLocalizedFailureReason=No such file or directory}

Object: <NSBundle>

Method: +dvt_executablePathForBundleAtPath:

Thread: <NSThread: 0x7f83e24184b0>{number = 1, name = main}

Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.


2015-10-06 22:28:05.002 xcodebuild[5061:323050] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8228/IDEFoundation/Execution/RunDestinations/IDERunDestination.m:185

Details: Unable to find platform for /Users/davec/Developer/depot/kJams/Development/build/kJams Lite.app: Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't find platform in Info.plist CFBundleSupportedPlatforms or binary for kJams Lite.app" UserInfo={NSLocalizedDescription=Couldn't find platform in Info.plist CFBundleSupportedPlatforms or binary for kJams Lite.app}

Function: DVTPlatform *_IDEPlatformForPathRunnable(IDEPathRunnable *__strong)

Thread: <NSThread: 0x7f83e24184b0>{number = 1, name = main}

Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

I have a similar issue as well. It just started basically, never happened until now. I'm on Xcode 7.0.1 (was happening on 7.0 as well) I upgraded this morning thinking it would fix it somehow =)


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


The kicker is that when I look at the plist docs:

https://developer.apple.com/library/mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-SW1


It does not even show that CFBundleSupportedPlatforms is even a valid key. I'd love to ignore it, but it won't validate my app. I assume the value is an array? No docs to say otherwise.

Well in my case, just now, I was using one of my own frameworks (built through Carthage). When I stopped having Carthage build it, and just dropped the framework project into my project's workspace, I got past this error.


Note that I was still using other Carthage built frameworks, just my own was freaking out for some reason?


Additionally, once I had my Framework Project in my Workspace, I adjusted it's framework search paths to point to an absolute filesystem location of the Projects Carthage's Build/iOS (recursive) folder.




--- Later ---


nevermind, I had to re-archive the app and now the error is back again, but for a different framework I don't control. =(



---- Later Still ----


Ok, I got it! For me anyway, I needed to remove the dSYM files that Carthage generated from the Apps Resource Bundle.

Same problem for me

Yosemite 10.10.5

BaseSDK iOS9.0

Target SDK 7.1

Error upon validation or upload

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

Can't find any instances of CFBundleSupportedPlatforms in any dependent projects.


Trying to get this realease out ASAP...


UPDATE:

I got around this by copying xarchive to an XCode 6 machine

Loading it into Xcode 6 and Validation worked...

Submission then worked as normal.

Hope this is fixed ASAP. Because the above felt very dodgy...


Any update to this issue? I see it's still a problem and going back to a Yosemite/Xcode 6 machine is not going to be the solution forever. Thanks!


rc

aventurellacomment aboved helped me. I found 2 .dSYM files in my Build Phases > Copy Bundle Resources, once removed the upload was successful.

CFBundleSupportedPlatforms issue
 
 
Q