13
Unity – duplicate symbol with Notification
source link: https://naclyen.com/2020/03/26/unity-duplicate-symbol-with-notification/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Unity – duplicate symbol with Notification – NaCl's Blog
OS: macOS Catalina 10.15.2
XCode: 11.3
Unity: 2019.2.4f1
Mobile Notification 1.0.3
EasyMobile 2.4.2
duplicate symbol '__RemoveAllDeliveredNotifications' in:
/Users/[USER_NAME]/Library/Developer/Xcode/DerivedData/Unity-iPhone-dzcmnrtwggojlmehqiusgihebfwj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/UnityNotificationWrapper.o
/Users/[USER_NAME]/[XCODE_PROJECT]/Libraries/EasyMobile/Plugins/iOS/libEasyMobile.a(Notifications.o)
duplicate symbol '__ScheduleLocalNotification' in:
/Users/[USER_NAME]/Library/Developer/Xcode/DerivedData/Unity-iPhone-dzcmnrtwggojlmehqiusgihebfwj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/UnityNotificationWrapper.o
/Users/[USER_NAME]/[XCODE_PROJECT]/Libraries/EasyMobile/Plugins/iOS/libEasyMobile.a(Notifications.o)
ld: 4 duplicate symbols for architecture arm64
核心原因是 EasyMobile Notification
不能和 Unity 官方的 Mobile Notification
同時存在.
因為這兩個 package 主要不是由我處理的, 繞了一大圈才搞定…
正在載入...
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK