peterprokop / SwiftOverlays

SwiftOverlays is a Swift GUI library for displaying various popups and notifications
MIT License
631 stars 83 forks source link

Carthage, Xcode8 and Swift3 problem. #23

Closed lwalukie closed 7 years ago

lwalukie commented 7 years ago

Hello, when I try to use SwiftOverlays library with using Carthage, Xcode8 and Swift 3 I always get following error during building stage:

`* Building scheme "SwiftOverlays" in Example.xcodeproj 2016-09-21 07:58:49.468 xcodebuild[82596:470516] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/VVDocumenter-Xcode.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2016-09-21 07:58:49.469 xcodebuild[82596:470516] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/UncrustifyPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2016-09-21 07:58:49.470 xcodebuild[82596:470516] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs \ BUILD FAILED

The following build commands failed: CompileSwift normal arm64 /Users/admin/Documents/Projects/_//Network/Carthage/Checkouts/SwiftOverlays/SwiftOverlays/SwiftOverlays.swift CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (2 failures) /Users/admin/Documents/Projects/**/_/Network/Carthage/Checkouts/SwiftOverlays/SwiftOverlays/SwiftOverlays.swift:245:42: error: cannot call value of non-function type 'UIApplication' /Users/admin/Documents/Projects//**/Network/Carthage/Checkouts/SwiftOverlays/SwiftOverlays/SwiftOverlays.swift:303:27: error: value of type 'CGRect' has no member 'offsetInPlace' /Users/admin/Documents/Projects/_//Network/Carthage/Checkouts/SwiftOverlays/SwiftOverlays/SwiftOverlays.swift:310:27: error: value of type 'CGRect' has no member 'offsetInPlace' /Users/admin/Documents/Projects/**/_/Network/Carthage/Checkouts/SwiftOverlays/SwiftOverlays/SwiftOverlays.swift:415:58: error: cannot call value of non-function type 'UIColor' /Users/admin/Documents/Projects//**/Network/Carthage/Checkouts/SwiftOverlays/SwiftOverlays/SwiftOverlays.swift:418:70: error: cannot call value of non-function type 'UIScreen' /Users/admin/Documents/Projects/_//Network/Carthage/Checkouts/SwiftOverlays/SwiftOverlays/SwiftOverlays.swift:490:42: error: cannot call value of non-function type 'UIApplication' A shell task (/usr/bin/xcrun xcodebuild -project /Users/admin/Documents/Projects/**/_/Network/Carthage/Checkouts/SwiftOverlays/Example/Example.xcodeproj -scheme SwiftOverlays -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65: 2016-09-21 07:58:49.468 xcodebuild[82596:470516] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/VVDocumenter-Xcode.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2016-09-21 07:58:49.469 xcodebuild[82596:470516] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/UncrustifyPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2016-09-21 07:58:49.470 xcodebuild[82596:470516] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs \ BUILD FAILED

The following build commands failed: CompileSwift normal arm64 /Users/admin/Documents/Projects/_/_/Carthage/Checkouts/SwiftOverlays/SwiftOverlays/SwiftOverlays.swift CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (2 failures) ` My cartfile content is

github "peterprokop/SwiftOverlays" "swift-3.0"

Could you please look at that?

peterprokop commented 7 years ago

@lwalukie I've updated swift-3.0 branch, can you please check again?

lwalukie commented 7 years ago

@peterprokop It is working right now - thank you 👍 .