blakgeek / cordova-plugin-cocoapods-support

A Cordova/PhoneGap plugin to add support for CocoaPods dependencies.
MIT License
72 stars 72 forks source link

xcodebuild: error: Unable to find a destination matching the provided destination specifier #12

Closed bPopovska closed 6 years ago

bPopovska commented 8 years ago

After installing the cordova-cocoapods-support plugin to an ionic project, I get the following error when running "ionic build ios":

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
                { platform:iOS Simulator }

        Missing required device specifier option.
        The device type “iOS Simulator” requires that either “name” or “id” be specified.
        Please supply either “name” or “id”.
Aerex commented 8 years ago

I have had the same issue but it was just a normal cordova project. Does your project still build in Xcode?

@bPopovska: Update. I belive I fixed the issue. We will have to wait until @blakgeek approves my pull request or you can get the fix from my fork here: https://github.com/Aerex/cordova-plugin-cocoapods-support/tree/fixSchema