Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Couldn't find platform in Info.plist CFBundleSupportedPlatforms or binary for ConsistencyManager" #42

Closed
elimist opened this issue Oct 24, 2016 · 11 comments

Comments

@elimist
Copy link

elimist commented Oct 24, 2016

Hello,

I'm encountering the following error when trying to install RocketData through Carthage in a brand new project. It's basically an empty folder with github "linkedin/RocketData" defined in a Cartfile.

2016-10-24 11:42:10.277 xcodebuild[74733:2842940] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11246/IDEFoundation/Execution/RunDestinations/IDERunDestination.m:201
Details: Unable to find platform for /Users/plivesey/Library/Developer/Xcode/DerivedData/ConsistencyManager-ezmcupkggqbxrkawtipbzcwqqolg/Build/Products/ConsistencyManager: Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't find platform in Info.plist CFBundleSupportedPlatforms or binary for ConsistencyManager" UserInfo={NSLocalizedDescription=Couldn't find platform in Info.plist CFBundleSupportedPlatforms or binary for ConsistencyManager}
Function: DVTPlatform *_IDEPlatformForPathRunnable(IDEPathRunnable *__strong)
Thread: <NSThread: 0x7fa5afd13660>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

@plivesey
Copy link
Owner

Huh...looks like my original question didn't go through.
I don't know much about Carthage, but can try to help. Are you using Swift 3/Xcode 8?

@plivesey
Copy link
Owner

I can reproduce. It looks similar to Carthage/Carthage#541
Are these errors or warnings? As in, does it not work?

@plivesey
Copy link
Owner

Looks like it's looking in the wrong place for the Consistency Manager. It's looking in Release-iphoneos, but it's actually in Release.

@elimist
Copy link
Author

elimist commented Oct 24, 2016

Hey thanks for the reply. Yes I'm using the latest swift and xcode and it does not seem to be working. Usually after running carthage update a built binary gets placed in Carthage/build/iOS which doesn't seem to be happening in this case.

Looks like it's looking in the wrong place for the Consistency Manager. It's looking in Release-iphoneos, but it's actually in Release.

I think you're right, Carthage is definitely failing to resolve the consistency manager dependency. I just converted from cocoapods to Carthage myself so I'm not 100% sure how to fix it though :/

@plivesey
Copy link
Owner

Yeah, I'm not sure. I think we may need to file a bug against Carthage to get some help here :/

@elimist
Copy link
Author

elimist commented Oct 24, 2016

Ok, i'll poke around a bit more in the Carthage issues to see if any has encountered a similar problem and open an issue if not

@elimist
Copy link
Author

elimist commented Oct 24, 2016

I ran carthage update --platform ios and it looks like everything is working now (albeit with many warnings)! It's weird because usually you don't have to be explicit about the platform, but meh, good enough for now :)

Thanks!

@elimist elimist closed this as completed Oct 24, 2016
@plivesey
Copy link
Owner

This seems like a good workaround, but want to investigate why this is necessary because it's annoying for users.

@plivesey
Copy link
Owner

I don't know muc about Carthage, but can try to help. Are you using swift 3
in the project?
On Mon, Oct 24, 2016 at 12:17 PM elimist [email protected] wrote:

Hello,

I'm encountering the following error when trying to install RocketData
through Carthage in a brand new project. It's basically an empty folder
with github "linkedin/RocketData" defined in a Cartfile.

2016-10-24 11:42:10.277 xcodebuild[74733:2842940] [MT] DVTAssertions:
Warning in
/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11246/IDEFoundation/Execution/RunDestinations/IDERunDestination.m:201
Details: Unable to find platform for
/Users/plivesey/Library/Developer/Xcode/DerivedData/ConsistencyManager-ezmcupkggqbxrkawtipbzcwqqolg/Build/Products/ConsistencyManager:
Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't
find platform in Info.plist CFBundleSupportedPlatforms or binary for
ConsistencyManager" UserInfo={NSLocalizedDescription=Couldn't find platform
in Info.plist CFBundleSupportedPlatforms or binary for ConsistencyManager}
Function: DVTPlatform *_IDEPlatformForPathRunnable(IDEPathRunnable
*__strong)
Thread: {number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message
and any useful information you can provide.
2016-10-24 11:42:10.389 xcodebuild[74733:2842940] [MT] DVTAssertions:
Warning in
/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11246/IDEFoundation/Execution/RunDestinations/IDERunDestination.m:201
Details: Unable to find platform for
/Users/plivesey/Library/Developer/Xcode/DerivedData/ConsistencyManager-ezmcupkggqbxrkawtipbzcwqqolg/Build/Products/ConsistencyManager:
Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't
find platform in Info.plist CFBundleSupportedPlatforms or binary for
ConsistencyManager" UserInfo={NSLocalizedDescription=Couldn't find platform
in Info.plist CFBundleSupportedPlatforms or binary for ConsistencyManager}
Function: DVTPlatform *_IDEPlatformForPathRunnable(IDEPathRunnable
*__strong)
Thread: {number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message
and any useful information you can provide.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#42, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMNTdMoX92RLrrm0XzbhczvcwW5B-0kks5q3QQygaJpZM4KfLNN
.

@plivesey
Copy link
Owner

Now fixed for real in plivesey/ConsistencyManager#43

@elimist
Copy link
Author

elimist commented Oct 25, 2016

sweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants