I am trying to use a class present in one of the custom framework I created in the extension. I added the framework in Dependencies, Link binaries with libraries and Embed frameworks under build phases. It is part of Framework & Libraries under General. Error:
dyld: dependent dylib '@rpath/Testing.framework/Testing' not found for '/private/var/containers/Bundle/Application/1FADD178-7DF3-4DA2-9BFE-805B8F65AD70/CloudPlayer.app/PlugIns/RichMediaPushNotificationExtension.appex/RichMediaPushNotificationExtension', tried but didn't find: '@rpath/Testing.framework/Testing' '/System/Library/Frameworks/Testing.framework/Testing
I tried below things: I tried below solutions till now but didn't work:
Deleted derived data, clean build folder and built again.
Changed the option for Embed to 'Do not embed', 'Embed and sign' and 'Embed without signing' in Frameworks and Libraries under General section of new target.
Set 'Always embed swift stand libraries' under build settings to yes.
Added Testing in Framework Search Path in build settings