anonymous Log in
Search
Recents:
v3.0
sd
Re: Erro Cannot find type 'OSNotificationDisplayType' in scope no XCODE
25/03/21 14:10

desenvolvimento11775

Replies: 0

Boa tarde,
Formatei o Mac e fiz toda a instalação novamente. Esses erros ficaram
resumidos em 2 outros.
/Users/leugimfilho/Library/GeneXus/GeneXus/17.0.148375_U2/iphonesimulator/GXCoreModule_SD_Notifications.framework/Headers/GXCoreModule_SD_Notifications-Swift.h:702:64:
'GXUILocalNotificationResponseWrapper' is deprecated: first deprecated in
iOS 10.0
/Users/leugimfilho/Library/GeneXus/GeneXus/17.0.148375_U2/iphonesimulator/GXCoreModule_SD_Notifications.framework/Headers/GXCoreModule_SD_Notifications-Swift.h:693:12:
'GXUILocalNotificationResponseWrapper' has been explicitly marked
deprecated here
Em ter., 23 de mar. de 2021 às 13:18, Desenvolvimento - Microsia <
desenvolvimento@microsia.com.br> escreveu:
> 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