xcode - CocoaPods: App.xcworkspace does not exists -
this happened:
$ pod lib lint -> mxkit (5.2.2) - error | [ios] xcodebuild: returned unsuccessful exit code. can use `--verbose` more information. - note | [ios] xcodebuild: xcodebuild: error: 'app.xcworkspace' not exist. [!] mxkit did not pass validation, due 1 error. can use `--no-clean` option inspect issue.
i'm using:
- cocoapods 1.0.1
- ruby 2.2.2
- xcode 8.0
- os x 10.12
by add --verbose
option:
$ pod lib lint --verbose mxkit (5.2.2) - analyzing on ios 8.0 platform. preparing analyzing dependencies inspecting targets integrate using `archs` setting build architectures of target `pods-app`: (``) fetching external sources -> fetching podspec `mxkit` `/users/meniny/mxdevelop/mxprojects/mxkit-in-objective-c` resolving dependencies of comparing resolved specification sandbox manifest mxkit downloading dependencies -> installing mxkit (5.2.2) - running pre install hooks generating pods project - creating pods project - adding source files pods project - adding frameworks pods project - adding libraries pods project - adding resources pods project - linking headers - installing targets - installing target `mxkit` ios 8.0 - generating info.plist file @ `../../../../../private/var/folders/rf/gj7xyczj0t14ggvbvh9jldf80000gn/t/cocoapods/lint/pods/target support files/mxkit/info.plist` - generating module map file @ `../../../../../private/var/folders/rf/gj7xyczj0t14ggvbvh9jldf80000gn/t/cocoapods/lint/pods/target support files/mxkit/mxkit.modulemap` - generating umbrella header @ `../../../../../private/var/folders/rf/gj7xyczj0t14ggvbvh9jldf80000gn/t/cocoapods/lint/pods/target support files/mxkit/mxkit-umbrella.h` - installing target `pods-app` ios 8.0 - generating info.plist file @ `../../../../../private/var/folders/rf/gj7xyczj0t14ggvbvh9jldf80000gn/t/cocoapods/lint/pods/target support files/pods-app/info.plist` - generating module map file @ `../../../../../private/var/folders/rf/gj7xyczj0t14ggvbvh9jldf80000gn/t/cocoapods/lint/pods/target support files/pods-app/pods-app.modulemap` - generating umbrella header @ `../../../../../private/var/folders/rf/gj7xyczj0t14ggvbvh9jldf80000gn/t/cocoapods/lint/pods/target support files/pods-app/pods-app-umbrella.h` - running post install hooks - writing xcode project file `../../../../../private/var/folders/rf/gj7xyczj0t14ggvbvh9jldf80000gn/t/cocoapods/lint/pods/pods.xcodeproj` - writing lockfile in `../../../../../var/folders/rf/gj7xyczj0t14ggvbvh9jldf80000gn/t/cocoapods/lint/podfile.lock` - writing manifest in `../../../../../private/var/folders/rf/gj7xyczj0t14ggvbvh9jldf80000gn/t/cocoapods/lint/pods/manifest.lock` integrating client project [!] please close current xcode sessions , use `app.xcworkspace` project on. integrating target `pods-app` (`../../../../../var/folders/rf/gj7xyczj0t14ggvbvh9jldf80000gn/t/cocoapods/lint/app.xcodeproj` project) adding build phase '[cp] embed pods frameworks' project. adding build phase '[cp] copy pods resources' project. adding build phase '[cp] check pods manifest.lock' project. - running post install hooks pod installation complete! there 1 dependency podfile , 1 total pod installed. building xcodebuild. xcodebuild clean build -workspace app.xcworkspace -scheme app -configuration release code_sign_identity=- -sdk iphonesimulator -destination id=df8b8bb3-28d5-40fc-8150-7febd5be12bf 2016-09-22 18:53:33.285 xcodebuild[44725:412823] [mt] dvtpluginmanager: required plug-in compatibility uuid 8a66e736-a720-4b3c-92f1-33d9962c69df ksimagenamed.ideplugin (com.ksuther.ksimagenamed) not present build settings command line: code_sign_identity = - sdkroot = iphonesimulator10.0 xcodebuild: error: 'app.xcworkspace' not exist. -> mxkit (5.2.2) - error | [ios] xcodebuild: returned unsuccessful exit code. - note | [ios] xcodebuild: xcodebuild: error: 'app.xcworkspace' not exist. [!] mxkit did not pass validation, due 1 error. can use `--no-clean` option inspect issue. /users/meniny/.rvm/gems/ruby-2.2.2/gems/cocoapods-1.0.1/lib/cocoapods/command/lib/lint.rb:75:in `block in run' /users/meniny/.rvm/gems/ruby-2.2.2/gems/cocoapods-1.0.1/lib/cocoapods/command/lib/lint.rb:47:in `each' /users/meniny/.rvm/gems/ruby-2.2.2/gems/cocoapods-1.0.1/lib/cocoapods/command/lib/lint.rb:47:in `run' /users/meniny/.rvm/gems/ruby-2.2.2/gems/claide-1.0.0/lib/claide/command.rb:334:in `run' /users/meniny/.rvm/gems/ruby-2.2.2/gems/cocoapods-1.0.1/lib/cocoapods/command.rb:50:in `run' /users/meniny/.rvm/gems/ruby-2.2.2/gems/cocoapods-1.0.1/bin/pod:55:in `<top (required)>' /users/meniny/.rvm/gems/ruby-2.2.2/bin/pod:23:in `load' /users/meniny/.rvm/gems/ruby-2.2.2/bin/pod:23:in `<main>' /users/meniny/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval' /users/meniny/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>'
today installed new system (macos sierra 10.12) parallels desktop 12, and:
- downloaded xcode 8 (and installed components)
- installed rvm 1.27.0 (latest)
- updated gem 2.6.6
- installed cocoapods 1.0.1
but pod lib lint
, pod trunk push
commands still doesn't work.
:(
sudo gem install cocoapods --pre
when updated cocoapods 1.1.0.rc.2, error has gone. hope can you.
Comments
Post a Comment