Hello, I keep getting this error while trying to build my app under OS X El Capitan 10.11.6, with Xcode 7.3:
$ tns build ios
Skipping prepare.
Building project...
Build settings from command line:
ARCHS = i386 x86_64
CODE_SIGN_IDENTITY =
CONFIGURATION_BUILD_DIR = /Users/zsolt/MyApp/platforms/ios/build/emulator
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphonesimulator9.3
SHARED_PRECOMPS_DIR = /Users/zsolt/MyApp/platforms/ios/build/sharedpch
VALID_ARCHS = i386 x86_64
=== BUILD TARGET MBProgressHUD OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
Ld /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/MBProgressHUD.build/Objects-normal/x86_64/MBProgressHUD normal x86_64
cd /Users/zsolt/MyApp/platforms/ios/Pods
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/zsolt/.nvm/versions/node/v6.9.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -L/Users/zsolt/MyApp/platforms/ios/build/emulator -F/Users/zsolt/MyApp/platforms/ios/build/emulator -filelist /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/MBProgressHUD.build/Objects-normal/x86_64/MBProgressHUD.LinkFileList -install_name @rpath/MBProgressHUD.framework/MBProgressHUD -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -mios-simulator-version-min=8.0 -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -framework CoreGraphics -framework QuartzCore -fobjc-arc -fobjc-link-runtime -framework CoreGraphics -framework Foundation -framework QuartzCore -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/MBProgressHUD.build/Objects-normal/x86_64/MBProgressHUD_dependency_info.dat -o /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/MBProgressHUD.build/Objects-normal/x86_64/MBProgressHUD
=== BUILD TARGET Toaster OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
cd /Users/zsolt/MyApp/platforms/ios/Pods
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/zsolt/.nvm/versions/node/v6.9.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk
export TOOLCHAINS=com.apple.dt.toolchain.iOS9_3
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name Toaster -Onone -D COCOAPODS -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -target x86_64-apple-ios8.0 -g -module-cache-path /Users/zsolt/Library/Developer/Xcode/DerivedData/ModuleCache -Xfrontend -serialize-debugging-options -enable-testing -I /Users/zsolt/MyApp/platforms/ios/build/emulator -F /Users/zsolt/MyApp/platforms/ios/build/emulator -c -j2 /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift -output-file-map /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/Toaster-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/Toaster.swiftmodule -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-generated-files.hmap -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-own-target-headers.hmap -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-project-headers.hmap -Xcc -I/Users/zsolt/MyApp/platforms/ios/build/emulator/include -Xcc -I/Users/zsolt/MyApp/platforms/ios/Pods/Headers/Private -Xcc -I/Users/zsolt/MyApp/platforms/ios/Pods/Headers/Public -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/DerivedSources/x86_64 -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -emit-objc-header -emit-objc-header-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/Toaster-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/zsolt/MyApp/platforms/ios/Pods
CompileSwift normal x86_64 /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift
cd /Users/zsolt/MyApp/platforms/ios/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -primary-file /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift -target x86_64-apple-ios8.0 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -I /Users/zsolt/MyApp/platforms/ios/build/emulator -F /Users/zsolt/MyApp/platforms/ios/build/emulator -enable-testing -g -import-underlying-module -module-cache-path /Users/zsolt/Library/Developer/Xcode/DerivedData/ModuleCache -D COCOAPODS -serialize-debugging-options -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-generated-files.hmap -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-own-target-headers.hmap -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-project-headers.hmap -Xcc -I/Users/zsolt/MyApp/platforms/ios/build/emulator/include -Xcc -I/Users/zsolt/MyApp/platforms/ios/Pods/Headers/Private -Xcc -I/Users/zsolt/MyApp/platforms/ios/Pods/Headers/Public -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/DerivedSources/x86_64 -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -ivfsoverlay -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/zsolt/MyApp/platforms/ios/Pods -emit-module-doc-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/Toast~partial.swiftdoc -Onone -module-name Toaster -emit-module-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/Toast~partial.swiftmodule -serialize-diagnostics-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/Toast.dia -emit-dependencies-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/Toast.d -emit-reference-dependencies-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/Toast.swiftdeps -o /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/Toast.o
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:27:1: error: expressions are not allowed at the top level
open class Toast: Operation {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:27:5: error: consecutive statements on a line must be separated by ';'
open class Toast: Operation {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:40:12: error: expected declaration
override open var isExecuting: Bool {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:40:11: error: consecutive declarations on a line must be separated by ';'
override open var isExecuting: Bool {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:40:12: error: expected declaration
override open var isExecuting: Bool {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:40:16: error: consecutive declarations on a line must be separated by ';'
override open var isExecuting: Bool {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:52:12: error: expected declaration
override open var isFinished: Bool {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:52:11: error: consecutive declarations on a line must be separated by ';'
override open var isFinished: Bool {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:52:12: error: expected declaration
override open var isFinished: Bool {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:52:16: error: consecutive declarations on a line must be separated by ';'
override open var isFinished: Bool {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:81:36: error: expected '=' after 'message' in 'available' attribute
@available(*, deprecated, message: "Use 'init(text:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:81:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:81:36: error: consecutive declarations on a line must be separated by ';'
@available(*, deprecated, message: "Use 'init(text:)' instead.")
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:81:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:82:30: warning: extraneous '_' in parameter: 'text' has no keyword argument name
public class func makeText(_ text: String) -> Toast {
^~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:86:36: error: expected '=' after 'message' in 'available' attribute
@available(*, deprecated, message: "Use 'init(text:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:86:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:86:36: error: consecutive declarations on a line must be separated by ';'
@available(*, deprecated, message: "Use 'init(text:duration:)' instead.")
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:86:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:87:30: warning: extraneous '_' in parameter: 'text' has no keyword argument name
public class func makeText(_ text: String, duration: TimeInterval) -> Toast {
^~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:91:36: error: expected '=' after 'message' in 'available' attribute
@available(*, deprecated, message: "Use 'init(text:delay:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:91:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:delay:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:91:36: error: consecutive declarations on a line must be separated by ';'
@available(*, deprecated, message: "Use 'init(text:delay:duration:)' instead.")
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:91:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:delay:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:92:30: warning: extraneous '_' in parameter: 'text' has no keyword argument name
public class func makeText(_ text: String?, delay: TimeInterval, duration: TimeInterval) -> Toast {
^~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:100:17: error: expected member name following '.'
ToastCenter.default.add(self)
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:100:17: error: 'default' label can only appear inside a 'switch' statement
ToastCenter.default.add(self)
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:170:1: error: expected '}' at end of brace statement
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:99:22: note: to match this opening '{'
public func show() {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:170:1: error: expected declaration
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:22:1: error: expressions are not allowed at the top level
open class ToastCenter {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:22:5: error: consecutive statements on a line must be separated by ';'
open class ToastCenter {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:32:3: error: expected declaration
open var currentToast: Toast? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:32:7: error: consecutive declarations on a line must be separated by ';'
open var currentToast: Toast? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:36:3: error: expected declaration
open static let `default` = ToastCenter()
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:36:7: error: consecutive declarations on a line must be separated by ';'
open static let `default` = ToastCenter()
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:42:24: error: expected member name following '.'
NotificationCenter.default.addObserver(
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:42:24: error: 'default' label can only appear inside a 'switch' statement
NotificationCenter.default.addObserver(
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:76:1: error: expected '}' at end of brace statement
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:41:10: note: to match this opening '{'
init() {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:76:1: error: expected declaration
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:22:1: error: expressions are not allowed at the top level
open class ToastView: UIView {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:22:5: error: consecutive statements on a line must be separated by ';'
open class ToastView: UIView {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:26:3: error: expected declaration
open var text: String? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:26:7: error: consecutive declarations on a line must be separated by ';'
open var text: String? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:35:12: error: expected declaration
override open dynamic var backgroundColor: UIColor? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:35:11: error: consecutive declarations on a line must be separated by ';'
override open dynamic var backgroundColor: UIColor? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:35:12: error: expected declaration
override open dynamic var backgroundColor: UIColor? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:35:16: error: consecutive declarations on a line must be separated by ';'
override open dynamic var backgroundColor: UIColor? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:41:3: error: expected declaration
open dynamic var cornerRadius: CGFloat {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:41:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var cornerRadius: CGFloat {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:47:3: error: expected declaration
open dynamic var textInsets = UIEdgeInsets(top: 6, left: 10, bottom: 6, right: 10)
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:47:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var textInsets = UIEdgeInsets(top: 6, left: 10, bottom: 6, right: 10)
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:50:3: error: expected declaration
open dynamic var textColor: UIColor? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:50:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var textColor: UIColor? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:56:3: error: expected declaration
open dynamic var font: UIFont? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:56:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var font: UIFont? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:62:3: error: expected declaration
open dynamic var bottomOffsetPortrait: CGFloat = {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:62:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var bottomOffsetPortrait: CGFloat = {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:73:3: error: expected declaration
open dynamic var bottomOffsetLandscape: CGFloat = {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:73:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var bottomOffsetLandscape: CGFloat = {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:128:12: error: expected declaration
override open func layoutSubviews() {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:128:11: error: consecutive declarations on a line must be separated by ';'
override open func layoutSubviews() {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:128:12: error: expected declaration
override open func layoutSubviews() {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:128:16: error: consecutive declarations on a line must be separated by ';'
override open func layoutSubviews() {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:176:12: error: expected declaration
override open func hitTest(_ point: CGPoint, with event: UIEvent!) -> UIView? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:176:11: error: consecutive declarations on a line must be separated by ';'
override open func hitTest(_ point: CGPoint, with event: UIEvent!) -> UIView? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:176:12: error: expected declaration
override open func hitTest(_ point: CGPoint, with event: UIEvent!) -> UIView? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:176:16: error: consecutive declarations on a line must be separated by ';'
override open func hitTest(_ point: CGPoint, with event: UIEvent!) -> UIView? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:176:30: warning: extraneous '_' in parameter: 'point' has no keyword argument name
override open func hitTest(_ point: CGPoint, with event: UIEvent!) -> UIView? {
^~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:22:1: error: expressions are not allowed at the top level
open class ToastWindow: UIWindow {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:22:5: error: consecutive statements on a line must be separated by ';'
open class ToastWindow: UIWindow {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:24:3: error: expected declaration
open static let shared = ToastWindow(frame: UIScreen.main.bounds)
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:24:7: error: consecutive declarations on a line must be separated by ';'
open static let shared = ToastWindow(frame: UIScreen.main.bounds)
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:53:12: error: expected declaration
override open var rootViewController: UIViewController? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:53:11: error: consecutive declarations on a line must be separated by ';'
override open var rootViewController: UIViewController? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:53:12: error: expected declaration
override open var rootViewController: UIViewController? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:53:16: error: consecutive declarations on a line must be separated by ';'
override open var rootViewController: UIViewController? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:69:24: error: expected member name following '.'
NotificationCenter.default.addObserver(
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:69:24: error: 'default' label can only appear inside a 'switch' statement
NotificationCenter.default.addObserver(
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:155:1: error: expected '}' at end of brace statement
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:61:39: note: to match this opening '{'
public override init(frame: CGRect) {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:155:1: error: expected declaration
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:23:28: error: use of undeclared type 'TimeInterval'
public static let short: TimeInterval = 2.0
^~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:24:27: error: use of undeclared type 'TimeInterval'
public static let long: TimeInterval = 3.5
^~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:27:19: error: use of undeclared type 'Operation'
open class Toast: Operation {
^~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:31:3: warning: declaring a public var for an internal class
public var text: String? {
^~~~~~
internal
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:36:21: error: use of undeclared type 'TimeInterval'
public var delay: TimeInterval
^~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:37:24: error: use of undeclared type 'TimeInterval'
public var duration: TimeInterval
^~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:66:3: warning: declaring a public var for an internal class
public var view: ToastView = ToastView()
^~~~~~
internal
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:71:37: error: use of undeclared type 'TimeInterval'
public init(text: String?, delay: TimeInterval = 0, duration: TimeInterval = Delay.short) {
^~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:71:65: error: use of undeclared type 'TimeInterval'
public init(text: String?, delay: TimeInterval = 0, duration: TimeInterval = Delay.short) {
^~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:71:3: warning: declaring a public initializer for an internal class
public init(text: String?, delay: TimeInterval = 0, duration: TimeInterval = Delay.short) {
^~~~~~
internal
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:82:3: warning: declaring a public class method for an internal class
public class func makeText(_ text: String) -> Toast {
^~~~~~
internal
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:87:56: error: use of undeclared type 'TimeInterval'
public class func makeText(_ text: String, duration: TimeInterval) -> Toast {
^~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:92:54: error: use of undeclared type 'TimeInterval'
public class func makeText(_ text: String?, delay: TimeInterval, duration: TimeInterval) -> Toast {
^~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:92:78: error: use of undeclared type 'TimeInterval'
public class func makeText(_ text: String?, delay: TimeInterval, duration: TimeInterval) -> Toast {
^~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:99:3: warning: declaring a public instance method for an internal class
public func show() {
^~~~~~
internal
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:27:1: error: ambiguous use of 'open'
open class Toast: Operation {
^
Darwin.open:2:13: note: found this candidate
public func open(path: UnsafePointer<CChar>, _ oflag: CInt) -> CInt
^
Darwin.open:2:13: note: found this candidate
public func open(path: UnsafePointer<CChar>, _ oflag: CInt, _ mode: mode_t) -> CInt
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:114:3: warning: declaring a public initializer for an internal class
public init() {
^~~~~~
internal
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:121:24: warning: declaring a public initializer for an internal class
required convenience public init?(coder aDecoder: NSCoder) {
^~~~~~
internal
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:45:7: error: value of type 'Toast' has no member 'willChangeValue'
self.willChangeValue(forKey: "isExecuting")
^~~~ ~~~~~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:47:7: error: value of type 'Toast' has no member 'didChangeValue'
self.didChangeValue(forKey: "isExecuting")
^~~~ ~~~~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:57:7: error: value of type 'Toast' has no member 'willChangeValue'
self.willChangeValue(forKey: "isFinished")
^~~~ ~~~~~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:59:7: error: value of type 'Toast' has no member 'didChangeValue'
self.didChangeValue(forKey: "isFinished")
^~~~ ~~~~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:83:12: error: cannot invoke initializer for type 'Toast' with an argument list of type '(text: String)'
return Toast(text: text)
^
CompileSwift normal x86_64 /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift
cd /Users/zsolt/MyApp/platforms/ios/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift -primary-file /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift /Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift -target x86_64-apple-ios8.0 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -I /Users/zsolt/MyApp/platforms/ios/build/emulator -F /Users/zsolt/MyApp/platforms/ios/build/emulator -enable-testing -g -import-underlying-module -module-cache-path /Users/zsolt/Library/Developer/Xcode/DerivedData/ModuleCache -D COCOAPODS -serialize-debugging-options -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-generated-files.hmap -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-own-target-headers.hmap -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Toaster-project-headers.hmap -Xcc -I/Users/zsolt/MyApp/platforms/ios/build/emulator/include -Xcc -I/Users/zsolt/MyApp/platforms/ios/Pods/Headers/Private -Xcc -I/Users/zsolt/MyApp/platforms/ios/Pods/Headers/Public -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/DerivedSources/x86_64 -Xcc -I/Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -ivfsoverlay -Xcc /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/zsolt/MyApp/platforms/ios/Pods -emit-module-doc-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/ToastCenter~partial.swiftdoc -Onone -module-name Toaster -emit-module-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/ToastCenter~partial.swiftmodule -serialize-diagnostics-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/ToastCenter.dia -emit-dependencies-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/ToastCenter.d -emit-reference-dependencies-path /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/ToastCenter.swiftdeps -o /Users/zsolt/Library/Developer/Xcode/DerivedData/MyApp-aoaejtjlcnlwmrcfthpsrvngfszj/Build/Intermediates/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/ToastCenter.o
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:27:1: error: expressions are not allowed at the top level
open class Toast: Operation {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:27:5: error: consecutive statements on a line must be separated by ';'
open class Toast: Operation {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:40:12: error: expected declaration
override open var isExecuting: Bool {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:40:11: error: consecutive declarations on a line must be separated by ';'
override open var isExecuting: Bool {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:40:12: error: expected declaration
override open var isExecuting: Bool {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:40:16: error: consecutive declarations on a line must be separated by ';'
override open var isExecuting: Bool {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:52:12: error: expected declaration
override open var isFinished: Bool {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:52:11: error: consecutive declarations on a line must be separated by ';'
override open var isFinished: Bool {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:52:12: error: expected declaration
override open var isFinished: Bool {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:52:16: error: consecutive declarations on a line must be separated by ';'
override open var isFinished: Bool {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:81:36: error: expected '=' after 'message' in 'available' attribute
@available(*, deprecated, message: "Use 'init(text:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:81:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:81:36: error: consecutive declarations on a line must be separated by ';'
@available(*, deprecated, message: "Use 'init(text:)' instead.")
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:81:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:82:30: warning: extraneous '_' in parameter: 'text' has no keyword argument name
public class func makeText(_ text: String) -> Toast {
^~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:86:36: error: expected '=' after 'message' in 'available' attribute
@available(*, deprecated, message: "Use 'init(text:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:86:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:86:36: error: consecutive declarations on a line must be separated by ';'
@available(*, deprecated, message: "Use 'init(text:duration:)' instead.")
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:86:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:87:30: warning: extraneous '_' in parameter: 'text' has no keyword argument name
public class func makeText(_ text: String, duration: TimeInterval) -> Toast {
^~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:91:36: error: expected '=' after 'message' in 'available' attribute
@available(*, deprecated, message: "Use 'init(text:delay:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:91:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:delay:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:91:36: error: consecutive declarations on a line must be separated by ';'
@available(*, deprecated, message: "Use 'init(text:delay:duration:)' instead.")
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:91:36: error: expected declaration
@available(*, deprecated, message: "Use 'init(text:delay:duration:)' instead.")
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:92:30: warning: extraneous '_' in parameter: 'text' has no keyword argument name
public class func makeText(_ text: String?, delay: TimeInterval, duration: TimeInterval) -> Toast {
^~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:100:17: error: expected member name following '.'
ToastCenter.default.add(self)
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:100:17: error: 'default' label can only appear inside a 'switch' statement
ToastCenter.default.add(self)
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:170:1: error: expected '}' at end of brace statement
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:99:22: note: to match this opening '{'
public func show() {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:170:1: error: expected declaration
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:22:1: error: expressions are not allowed at the top level
open class ToastCenter {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:22:5: error: consecutive statements on a line must be separated by ';'
open class ToastCenter {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:32:3: error: expected declaration
open var currentToast: Toast? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:32:7: error: consecutive declarations on a line must be separated by ';'
open var currentToast: Toast? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:36:3: error: expected declaration
open static let `default` = ToastCenter()
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:36:7: error: consecutive declarations on a line must be separated by ';'
open static let `default` = ToastCenter()
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:42:24: error: expected member name following '.'
NotificationCenter.default.addObserver(
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:42:24: error: 'default' label can only appear inside a 'switch' statement
NotificationCenter.default.addObserver(
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:76:1: error: expected '}' at end of brace statement
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:41:10: note: to match this opening '{'
init() {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:76:1: error: expected declaration
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:22:1: error: expressions are not allowed at the top level
open class ToastView: UIView {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:22:5: error: consecutive statements on a line must be separated by ';'
open class ToastView: UIView {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:26:3: error: expected declaration
open var text: String? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:26:7: error: consecutive declarations on a line must be separated by ';'
open var text: String? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:35:12: error: expected declaration
override open dynamic var backgroundColor: UIColor? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:35:11: error: consecutive declarations on a line must be separated by ';'
override open dynamic var backgroundColor: UIColor? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:35:12: error: expected declaration
override open dynamic var backgroundColor: UIColor? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:35:16: error: consecutive declarations on a line must be separated by ';'
override open dynamic var backgroundColor: UIColor? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:41:3: error: expected declaration
open dynamic var cornerRadius: CGFloat {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:41:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var cornerRadius: CGFloat {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:47:3: error: expected declaration
open dynamic var textInsets = UIEdgeInsets(top: 6, left: 10, bottom: 6, right: 10)
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:47:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var textInsets = UIEdgeInsets(top: 6, left: 10, bottom: 6, right: 10)
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:50:3: error: expected declaration
open dynamic var textColor: UIColor? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:50:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var textColor: UIColor? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:56:3: error: expected declaration
open dynamic var font: UIFont? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:56:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var font: UIFont? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:62:3: error: expected declaration
open dynamic var bottomOffsetPortrait: CGFloat = {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:62:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var bottomOffsetPortrait: CGFloat = {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:73:3: error: expected declaration
open dynamic var bottomOffsetLandscape: CGFloat = {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:73:7: error: consecutive declarations on a line must be separated by ';'
open dynamic var bottomOffsetLandscape: CGFloat = {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:128:12: error: expected declaration
override open func layoutSubviews() {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:128:11: error: consecutive declarations on a line must be separated by ';'
override open func layoutSubviews() {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:128:12: error: expected declaration
override open func layoutSubviews() {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:128:16: error: consecutive declarations on a line must be separated by ';'
override open func layoutSubviews() {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:176:12: error: expected declaration
override open func hitTest(_ point: CGPoint, with event: UIEvent!) -> UIView? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:176:11: error: consecutive declarations on a line must be separated by ';'
override open func hitTest(_ point: CGPoint, with event: UIEvent!) -> UIView? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:176:12: error: expected declaration
override open func hitTest(_ point: CGPoint, with event: UIEvent!) -> UIView? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:176:16: error: consecutive declarations on a line must be separated by ';'
override open func hitTest(_ point: CGPoint, with event: UIEvent!) -> UIView? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:176:30: warning: extraneous '_' in parameter: 'point' has no keyword argument name
override open func hitTest(_ point: CGPoint, with event: UIEvent!) -> UIView? {
^~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:22:1: error: expressions are not allowed at the top level
open class ToastWindow: UIWindow {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:22:5: error: consecutive statements on a line must be separated by ';'
open class ToastWindow: UIWindow {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:24:3: error: expected declaration
open static let shared = ToastWindow(frame: UIScreen.main.bounds)
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:24:7: error: consecutive declarations on a line must be separated by ';'
open static let shared = ToastWindow(frame: UIScreen.main.bounds)
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:53:12: error: expected declaration
override open var rootViewController: UIViewController? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:53:11: error: consecutive declarations on a line must be separated by ';'
override open var rootViewController: UIViewController? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:53:12: error: expected declaration
override open var rootViewController: UIViewController? {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:53:16: error: consecutive declarations on a line must be separated by ';'
override open var rootViewController: UIViewController? {
^
;
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:69:24: error: expected member name following '.'
NotificationCenter.default.addObserver(
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:69:24: error: 'default' label can only appear inside a 'switch' statement
NotificationCenter.default.addObserver(
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:155:1: error: expected '}' at end of brace statement
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:61:39: note: to match this opening '{'
public override init(frame: CGRect) {
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:155:1: error: expected declaration
^
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:26:22: error: use of undeclared type 'OperationQueue'
private let queue: OperationQueue = {
^~~~~~~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/Toast.swift:27:19: error: use of undeclared type 'Operation'
open class Toast: Operation {
^~~~~~~~~
/Users/zsolt/MyApp/platforms/ios/Pods/Toaster/Sources/ToastCenter.swift:22:1: error: ambiguous use of 'open'
open class ToastCenter {
^
Darwin.open:2:13: note: found this candidate
public func open(path: UnsafePointer<CChar>, _ oflag: CInt) -> CInt
^
Darwin.open:2:13: note: found this candidate
public func open(path: UnsafePointer<CChar>, _ oflag: CInt, _ mode: mode_t) -> CInt
^
# build ios
┌─────────┬────────────────────────────────────────────────────────────────────┐
│ Usage │ Synopsis │
│ General │ $ tns build ios [--for-device] [--release] [--copy-to <File Path>] │
└─────────┴────────────────────────────────────────────────────────────────────┘
Builds the project for iOS and produces an APP or IPA that you can manually deploy in the iOS Simulator or on device, respectively.
IMPORTANT: Before building for iOS device, verify that you have configured a valid pair of certificate and provisioning profile on your OS X system.
### Options
* --release - If set, produces a release build. Otherwise, produces a debug build.
* --for-device - If set, produces an application package that you can deploy on device. Otherwise, produces a build that you can run only in the native iOS Simulator.
* --copy-to - Specifies the file path where the built .ipa will be copied. If it points to a non-existent directory, it will be created. If the specified value is directory, the original file name will be used.
I've tried to update cocoa pods with running pod repo update, but it did not help. Any suggestions? Thanks.
Hello, I keep getting this error while trying to build my app under OS X El Capitan 10.11.6, with Xcode 7.3:
I've tried to update cocoa pods with running
pod repo update
, but it did not help. Any suggestions? Thanks.