Wrong Cocoapods installation Pendo SDK 3.X on Xcode 15.2
Closed this issue · 5 comments
Platform + Version
iOS 15+, CocoaPods 1.15.1, Xcode 15.2,
SDK Version
Pendo SDK 3.X
Framework
Native, SwiftUI included
Describe the bug
After success pod install
Pendo SDK was not available for import on the App level.
To Reproduce
Steps to reproduce the behavior:
- Download example project
- Run
bundle install
- Run
bundle exec pod install
- Try to build project
Expected behavior
The project builds and runs without any issues
Sample Code
ExamplePendo.zip
Additional context
We use CocoaPods as a dependency manager in our development and CI\CD. With Pendo we started work from SwiftUI beta SDK version 2.22.X
and are now considering migrating to the main SDK 3.X
version. Please suggest a solution for resolving this issue without changing the dependency manager.
Hi @ht-dmytro-yushko ,
Unfortunately the order of the rpath does matter and should be aligned to default Xcode configs could you please change you rpath in the target to the following: @executable_path/Frameworks, @loader_path/Frameworks
I noticed that I also need to set NO the User Script Sandboxing
.
https://developer.apple.com/forums/thread/731041?answerId=755722022#755722022
(must admit not 100% sure how that related
See if that resolve your issue, If not we will need to dig a little bit more in to it )
@ht-dmytro-yushko
Did you manage to resolve the issue? is it ok if we close the ticket?
@MikePendo I didn't have a enough time for check this today. I will back with feedback tomorrow.
Hi @MikePendo
I finished playing with different settings with the XCode project. And it didn't help.
However, the updating of Cocoapods to the next version 1.15.2
on the local and CI/CD machines resolved this issue.
Thanks for your assistance