anonymous Log in
Search
Recents:
v3.0
sd
Erro Cannot find type 'OSNotificationDisplayType' in scope no XCODE
23/03/21 13:18

desenvolvimento11775

Replies: 0

Boa tarde,
Estou tendo os seguintes erros no XCode.
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:37:85:
Value of type 'OSNotificationAction' has no member 'actionID'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:37:10:
Initializer for conditional binding must have Optional type, not
'OSNotificationAction'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:70:60:
Cannot use optional chaining on non-optional value of type 'OSNotification'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:70:62:
Value of type 'OSNotification' has no member 'payload'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:79:68:
Cannot use optional chaining on non-optional value of type 'OSNotification'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:79:70:
Value of type 'OSNotification' has no member 'payload'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:86:68:
Cannot use optional chaining on non-optional value of type 'OSNotification'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:86:70:
Value of type 'OSNotification' has no member 'payload'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:93:71:
Cannot use optional chaining on non-optional value of type 'OSNotification'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:93:73:
Value of type 'OSNotification' has no member 'payload'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:102:68:
Cannot use optional chaining on non-optional value of type 'OSNotification'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:102:70:
Value of type 'OSNotification' has no member 'payload'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:109:71:
Cannot use optional chaining on non-optional value of type 'OSNotification'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:118:68:
Cannot use optional chaining on non-optional value of type 'OSNotification'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:118:70:
Value of type 'OSNotification' has no member 'payload'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXOSNotificationResponseWrapper.swift:125:55:
Cannot use optional chaining on non-optional value of type 'OSNotification'
/Users/leugimfilho/Documents/Projects/siawk603_P11XSD/SmartDevicePG/Microsac/ExtensionLibraries/OneSignal/GXUserNotificationsProviderOneSignal.swift:73:12:
Parameter of 'onOSSubscriptionChanged' has different optionality than
expected by protocol 'OSSubscriptionObserver'
/OneSignal.OSSubscriptionObserver:2:10: Requirement
'onOSSubscriptionChanged' declared here
Linking against a dylib which is not safe for use in application
extensions:
/Users/leugimfilho/Library/Developer/Xcode/DerivedData/Microsac-bkkaqsxntoymcadvbpzwnntumabx/Build/Products/Debug-iphoneos/OneSignal.framework/OneSignal
Ja apaguei a pasta do app no MAC e executei um Build mas mesmo assim
apresenta o erro no Xcode.
Alguma ideia do que posso fazer pra resolver?
Miguel


Back to sd