draveness / NightNight

Elegant way to integrate night mode to swift projects
MIT License
773 stars 56 forks source link

Carthage installation fails #26

Open plu opened 6 years ago

plu commented 6 years ago

Error message:

A shell task (/usr/bin/xcrun xcodebuild -project /Users/plu/Development/Poloniex-iOS/Carthage/Checkouts/NightNight/Example/Pods/Pods.xcodeproj CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -list) failed with exit code 74:
xcodebuild: error: Unable to read project 'Pods.xcodeproj' from folder '/Users/plu/Development/Poloniex-iOS/Carthage/Checkouts/NightNight/Example/Pods'.
    Reason: Project /Users/plu/Development/Poloniex-iOS/Carthage/Checkouts/NightNight/Example/Pods/Pods.xcodeproj cannot be opened because it is missing its project.pbxproj file.
yidahis commented 6 years ago

+1

caihua commented 6 years ago

change Carthage/Checkouts/NightNight/Example/Podfile to

platform :ios, '8.0' 

use_frameworks!

target 'NightNight_Example' do
  pod 'NightNight' 
end

and use cmd pod update then Example Project is ok to build for Carthage